Skip to content

Add get_leaderboard() public method to AutoML class#817

Open
oheliav wants to merge 1 commit into
mljar:masterfrom
oheliav:feature/get-leaderboard-public-api
Open

Add get_leaderboard() public method to AutoML class#817
oheliav wants to merge 1 commit into
mljar:masterfrom
oheliav:feature/get-leaderboard-public-api

Conversation

@oheliav
Copy link
Copy Markdown

@oheliav oheliav commented May 27, 2026

Closes #806

What this PR does

Exposes get_leaderboard() as a public method on the AutoML class.

The method already existed in BaseAutoML but was not accessible
from the public API. Users call:

automl.get_leaderboard()

and get back a pandas DataFrame with all trained models and their metrics.

Changes

  • Added get_leaderboard() to supervised/automl.py with full docstring
  • Added test_get_leaderboard() to tests/tests_automl/test_automl.py

Testing

All existing tests pass. New test verifies the method returns a valid
DataFrame with expected columns and multiple rows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

should we add get_leaderboard() method?

1 participant