def createPipeline(self):
self.pipeline = Pipeline([
('model', GradientBoostingClassifier(
loss = self.conf.loss,
learning_rate = self.conf.learning_rate,
n_estimators = self.conf.n_estimators,
criterion = self.conf.criterion,
max_depth = self.conf.max_depth,
min_samples_split = self.conf.min_samples_split,
min_samples_leaf = self.conf.min_samples_leaf,
min_weight_fraction_leaf = self.conf.min_weight_fraction_leaf,
subsample = self.conf.subsample,
max_features = self.conf.max_features,
max_leaf_nodes = self.conf.max_leaf_nodes,
min_impurity_split = self.conf.min_impurity_decrease,
presort = self.conf.presort))])
评论列表
文章目录