Skip to content

Commit

Permalink
Fix: wrong place to configure max_features
Browse files Browse the repository at this point in the history
  • Loading branch information
luizmachado committed Aug 20, 2024
1 parent be35a36 commit 8d6fd7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cd4ml/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ def get_trained_model(algorithm_name,
logger.info('n_rows: %s, n_cols: %s' % (n_rows, n_cols))

trained_model = train_model(encoded_train_data, target_data, algorithm_name,
algorithm_params, seed=seed, max_features=5)
algorithm_params, seed=seed)

return trained_model
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy==1.26.4
pandas==2.2.2
scikit-learn==1.5.1
scikit-learn==1.2.2
flask==3.0.0
mlflow==2.15.1
joblib==1.4.2
Expand Down

0 comments on commit 8d6fd7e

Please sign in to comment.