Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
EDIT: Never mind, saw that I need to call fit on it and not just pass in already fitted models, which is how I wanted to used it. Apologies.
Looking at the voting_classifier.py
class VotingClassifier(BaseEstimator, ClassifierMixin, TransformerMixin):
So it looks like the initialization of self.estimators should be self.estimators_
from collections import OrderedDict
from sklearn.cross_validation import StratifiedShuffleSplit
from scipy.stats.stats import pearsonr
from DataStream import *
def training2(X, y, test_X = None, test_y = None):
Traceback (most recent call last):
import sys; print("Python", sys.version)
hm it looks like currently we currently don't support "prefit" estimators. That's a bit surprising to me.
I think the easy solution would be to add a
Another option would be to check in