def __init__(self,
estimator=RandomForestClassifier(n_estimators=50,
n_jobs=-1,
max_features=1.,
min_samples_leaf=5,
max_depth=5),
n_folds=2,
stratify=True,
random_state=1):
self.estimator = estimator
self.n_folds = n_folds
self.stratify = stratify
self.random_state = random_state
self.__cv = None
self.__pred = None
self.__target = None
self.__fitOK = False
评论列表
文章目录