Replies: 1 comment 12 replies
-
The second route would definitely work. To decide whether the first route could work, the main question is whether you can inherit flaml.model.BaseEstimator and implement the required functions: fit(), predict() and predict_proba(). Feel free to chat on gitter if you like. |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi FLAML team,
I want to use FLAML tools to fine tune my fastai v1 tabular model. The model does NOT has sklearn API.
Here I want to fine tune 2 hyper-parameters in
tabular_learner()
: layers, psSince the customized models in your notebooks are fr. skearn, it is not very clear to me how to construct a class that can be consume by
automl.add_learner()
.Here is my experiment but it ran into an error:
Is there any thing I can fix
class MyFastai1TabularModel(TabularModel)
? or I should go for the route like what it shows here: https://github.com/microsoft/FLAML/blob/main/notebook/flaml_pytorch_cifar10.ipynb ?Beta Was this translation helpful? Give feedback.
All reactions