Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4956a51
add test and fix for switch of ground truth and predictions
LennartPurucker Feb 20, 2023
fc642c1
undo import optimization
LennartPurucker Feb 20, 2023
2da1109
fix bug with model passing to function
LennartPurucker Feb 20, 2023
0583668
fix order in other tests
LennartPurucker Feb 20, 2023
1fe8bc9
Merge branch 'openml:develop' into develop
LennartPurucker Feb 20, 2023
14cbd04
update progress.rst
LennartPurucker Feb 21, 2023
ceb1d53
new unit test for run consistency and bug fixed
LennartPurucker Feb 21, 2023
37500a7
clarify new assert
LennartPurucker Feb 21, 2023
921cf10
Merge pull request #1 from LennartPurucker/develop_ext
LennartPurucker Feb 22, 2023
3e97992
Merge branch 'openml:develop' into develop
LennartPurucker Feb 22, 2023
9f47b91
minor loop refactor
LennartPurucker Feb 22, 2023
14d4299
Merge remote-tracking branch 'origin/develop' into develop
LennartPurucker Feb 22, 2023
8686317
refactor default to None
LennartPurucker Feb 22, 2023
8adb0bd
directly test prediction data equal
LennartPurucker Feb 23, 2023
04ca611
Update tests/test_runs/test_run.py
LennartPurucker Feb 23, 2023
f996c0a
Merge branch 'develop' into develop
LennartPurucker Feb 23, 2023
3dac7a7
Mark sklearn tests (#1202)
PGijsbers Feb 23, 2023
1bf8c0e
add test and fix for switch of ground truth and predictions
LennartPurucker Feb 20, 2023
74e9c38
undo import optimization
LennartPurucker Feb 20, 2023
794cce8
Merge branch 'develop' of https://github.com/openml/openml-python int…
LennartPurucker Feb 23, 2023
b4c2030
fix mask error resulting from rebase
LennartPurucker Feb 23, 2023
3c5ff3e
make dummy classifier strategy consistent to avoid problems as a resu…
LennartPurucker Feb 24, 2023
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
Prev Previous commit
Next Next commit
undo import optimization
  • Loading branch information
LennartPurucker committed Feb 23, 2023
commit 74e9c38935986e9aa30dafc9392d49e703d8b3f7
18 changes: 9 additions & 9 deletions openml/runs/functions.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,29 @@
# License: BSD 3-Clause

from collections import OrderedDict
import io
import itertools
import os
import time
import warnings
from collections import OrderedDict
from typing import Any, List, Dict, Optional, Set, Tuple, Union, TYPE_CHECKING # noqa F401
import warnings

import numpy as np
import pandas as pd
import sklearn.metrics
import xmltodict
import numpy as np
import pandas as pd
from joblib.parallel import Parallel, delayed

import openml
import openml._api_calls
import openml.utils
from openml import config
import openml._api_calls
from openml.exceptions import PyOpenMLError
from openml.extensions import get_extension_by_model
from openml import config
from openml.flows.flow import _copy_server_fields
from .run import OpenMLRun
from .trace import OpenMLRunTrace
from ..exceptions import OpenMLCacheException, OpenMLServerException, OpenMLRunsExistError
from ..flows import get_flow, flow_exists, OpenMLFlow
from ..setups import setup_exists, initialize_model
from ..exceptions import OpenMLCacheException, OpenMLServerException, OpenMLRunsExistError
from ..tasks import (
OpenMLTask,
OpenMLClassificationTask,
Expand All @@ -34,6 +32,8 @@
OpenMLSupervisedTask,
OpenMLLearningCurveTask,
)
from .run import OpenMLRun
from .trace import OpenMLRunTrace
from ..tasks import TaskType, get_task

# Avoid import cycles: https://mypy.readthedocs.io/en/latest/common_issues.html#import-cycles
Expand Down
4 changes: 2 additions & 2 deletions openml/runs/run.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# License: BSD 3-Clause

import os
from collections import OrderedDict
import pickle
import time
from collections import OrderedDict
from typing import Any, IO, TextIO, List, Union, Tuple, Optional, Dict # noqa F401
import os

import arff
import numpy as np
Expand Down