Thanks for the wonderful resource. I'm having a few issues with Sklearn models. Most of them work fine but I get the following error only with GaussianProcessClassifier, KNeighborsClassifier, MLPClassifier and QuadraticDiscriminantAnalysis (i.e., RandomForestClassifier works fine and gives the expected output, for example)
TypeError Traceback (most recent call last)
/tmp/ipykernel_29886/3380587234.py in <cell line: 2>()
1 model = dc.models.SklearnModel(GaussianProcessClassifier())
----> 2 model.fit(train_dataset)
3 model.predict(test_dataset)
~/anaconda3/envs/tensorflow2_p38/lib/python3.8/site-packages/deepchem/models/sklearn_models/sklearn_model.py in fit(self, dataset)
109 # Some scikit-learn models don't use weights.
110 if self.use_weights:
--> 111 self.model.fit(X, y, w)
112 return
113 self.model.fit(X, y)
TypeError: fit() takes 3 positional arguments but 4 were given
Any ideas what's going wrong here?