Add a wrapper to scikit-learn ? #738
Replies: 1 comment
-
|
Do you mean adding class SurrogateModel(...):
...
def fit(self, X, y):
self.set_training_values(X, y)
self.train()
def predict(x):
self.predict_values(x)or something more involved like implementing properly scikit-learn estimators APIs ? The first one is trivial but can be confusing for newcomers (Should I use |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add a scikit-learn wrapper. It could be a tool located in surrogate.py.
The idea is for one to be able to use "fit(X,y)" or "predict()" instead of set training value(X,y) and then train() and predict() instead of predict_values().
What do you think ?
Beta Was this translation helpful? Give feedback.
All reactions