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 145fa5f
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 145fa5f

Please sign in to comment.