MathiasKraus / igann

MIT License
42 stars 4 forks source link

Classification sample has no learning_rate and n_iter_no_change #19

Open GehrkeSven opened 1 month ago

GehrkeSven commented 1 month ago

In the classifier example given, there are no parameters for learning rate and n_iter_no_change, therefor the example isnt working as is.

igann_classifier.get_params()

{'task': 'classification', 'n_hid': 10, 'elm_scale': 1, 'elm_alpha': 1, 'init_reg': 1, 'act': 'elu', 'n_estimators': 5000, 'early_stopping': 50, 'sparse': 0, 'device': 'cpu', 'random_state': 1, 'optimize_threshold': False, 'verbose': 0, 'boost_rate': 0.1}

MathiasKraus commented 3 weeks ago

Thank you for reporting this bug! In an earlier version of igann, the parameters were named learning_rate and n_iter_no_change. In the latest version, we've updated these names to boost_rate and early_stopping to align with the conventions used in other packages. We also updated the readme accordingly.