lr_find
method, originally proposed by researcher Leslie Smith.MultiCategoryBlock
which will encode all the vocabulary into a list of 0’s and have 1s where data is present. So, by checking where 1’s are we can identify which category(s) that image belongs to. This technique of representing the data in 1’s on a vector of 0s is called One-hot encoding.accuracy_multi
with a threshold that will address the problem.Note: Since the threshold for the accuracy_multi is by default 0.5, we can override the function using thepartial
function from python.
pointblock
instead of a category block since the labels represents coordinates. Another important point to remember while construction the Learner is to provide the y_range=(-1,1)
attribute to make sure that we give the range of the rescaled coordinates.