-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
In the website tutorial at http://parnec.nuaa.edu.cn/huangsj/alipy/10_mins_to_alipy.html
there is no initial fit of the model and so I get an error when running the line:
select_ind = uncertainStrategy.select(label_ind, unlab_ind, model=model, batch_size=1)
NotFittedError: Call fit before prediction
It looks to me like you need to run
model.fit(X=X[label_ind.index, :], y=y[label_ind.index])
after the alibox.getsplit line.
Also, round is a keyword in python, so this should be replaced by something else e.g. fold
Metadata
Metadata
Assignees
Labels
No labels