You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
msm_assignments = pipeline.fit_transform(trajectories)
Traceback (most recent call last):
File "", line 1, in
File "/home/midhun/anaconda2/envs/py36/lib/python3.6/site-packages/sklearn/pipeline.py", line 298, in fit_transform
Xt, fit_params = self._fit(X, y, **fit_params)
File "/home/midhun/anaconda2/envs/py36/lib/python3.6/site-packages/sklearn/pipeline.py", line 230, in fit
**fit_params_steps[name])
File "/home/midhun/anaconda2/envs/py36/lib/python3.6/site-packages/sklearn/externals/joblib/memory.py", line 329, in call
return self.func(*args, **kwargs)
File "/home/midhun/anaconda2/envs/py36/lib/python3.6/site-packages/sklearn/pipeline.py", line 614, in fit_transform_one
res = transformer.fit_transform(X, y, **fit_params)
File "/home/midhun/anaconda2/envs/py36/lib/python3.6/site-packages/msmbuilder/cluster/base.py", line 173, in fit_transform
return self.fit_predict(sequences, y)
File "/home/midhun/anaconda2/envs/py36/lib/python3.6/site-packages/msmbuilder/cluster/base.py", line 154, in fit_predict
labels = super(MultiSequenceClusterMixin, self).fit_predict(sequences)
File "/home/midhun/anaconda2/envs/py36/lib/python3.6/site-packages/sklearn/cluster/k_means.py", line 994, in fit_predict
return self.fit(X, sample_weight=sample_weight).labels
TypeError: fit() got an unexpected keyword argument 'sample_weight'
What is this error, how can I resolve it?
The text was updated successfully, but these errors were encountered:
What is this error, how can I resolve it?
The text was updated successfully, but these errors were encountered: