lib/rumale/ensemble/voting_classifier.rb in rumale-ensemble-0.24.0 vs lib/rumale/ensemble/voting_classifier.rb in rumale-ensemble-0.25.0
- old
+ new
@@ -11,10 +11,10 @@
#
# @example
# require 'rumale/ensemble/voting_classifier'
#
# estimators = {
- # lgr: Rumale::LinearModel::LogisticRegression.new(reg_param: 1e-2, random_seed: 1),
+ # lgr: Rumale::LinearModel::LogisticRegression.new(reg_param: 1e-2),
# mlp: Rumale::NeuralNetwork::MLPClassifier.new(hidden_units: [256], random_seed: 1),
# rnd: Rumale::Ensemble::RandomForestClassifier.new(random_seed: 1)
# }
# weights = { lgr: 0.2, mlp: 0.3, rnd: 0.5 }
#