File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 15
15
- name : Set up Python 3.
16
16
uses : actions/setup-python@v4
17
17
with :
18
- python-version : 3.10
18
+ python-version : " 3.10"
19
19
20
20
- name : Install Poetry
21
21
uses : snok/install-poetry@v1
Original file line number Diff line number Diff line change 19
19
- name : Set up Python
20
20
uses : actions/setup-python@v5
21
21
with :
22
- python-version : 3.10
22
+ python-version : " 3.10"
23
23
cache : pip
24
24
cache-dependency-path : ' **/pyproject.toml'
25
25
Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ def test_inference_basic():
72
72
config = InferenceConfig (target_attributes = ["species" ], feature_attributes = features )
73
73
ie = get_inference_engine ("sklearn" , config = config )
74
74
assert isinstance (ie .config , InferenceConfig )
75
- ie .load_and_split_data (collection )
75
+ # don't randomize split as this makes test non-deterministic
76
+ ie .load_and_split_data (collection , randomize = False )
76
77
ie .initialize_model ()
77
78
assert isinstance (ie , SklearnInferenceEngine )
78
79
assert set (ie .encoders .keys ()) == {"species" }
You can’t perform that action at this time.
0 commit comments