Skip to content

[Security] - updated scikit-learn #866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auto_trainer/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pandas
scikit-learn<1.4.0
scikit-learn>=1.5.0
xgboost<2.0.0
plotly
4 changes: 1 addition & 3 deletions auto_trainer/test_auto_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ def _get_dataset(problem_type: str, filepath: str = ".", n_classes: int = 2):


def _assert_train_handler(train_run):
assert train_run and all(
key in train_run.outputs for key in ["model", "test_set"]
), "outputs should include more data"
assert train_run and (train_run.status.artifact_uris or train_run.status.artifacts) , "outputs should include more data"


@pytest.mark.parametrize("model", MODELS)
Expand Down
2 changes: 1 addition & 1 deletion describe/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
scikit-learn~=1.0.2
scikit-learn==1.5.0
plotly~=5.16.1
pytest~=7.0.1
matplotlib~=3.5.1
Expand Down
2 changes: 1 addition & 1 deletion gen_class_data/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pandas
scikit-learn==1.0.2
scikit-learn==1.5.0
2 changes: 1 addition & 1 deletion gen_class_data/test_gen_class_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ def test_gen_class_data():
local=True,
artifact_path="./artifacts",
)
assert os.path.isfile(run.status.artifacts[0]['spec']['target_path']), 'dataset is not available'
assert "classifier-data" in run.status.artifact_uris, 'dataset was not logged'
Loading