File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1697,6 +1697,8 @@ def test_max_samples_boundary_regressors(name):
16971697 assert ms_1_ms == pytest .approx (ms_None_ms )
16981698
16991699
1700+ # TODO: Trees do not preserve dtype when fitting/predicting.
1701+ # Add `global_dtype` when Trees have this ability.
17001702@pytest .mark .parametrize ("name" , FOREST_CLASSIFIERS )
17011703def test_max_samples_boundary_classifiers (name ):
17021704 X_train , X_test , y_train , _ = train_test_split (
Original file line number Diff line number Diff line change @@ -259,6 +259,8 @@ def test_weighted_classification_toy():
259259 assert_array_equal (clf .predict (T ), true_result , "Failed with {0}" .format (name ))
260260
261261
262+ # TODO: Trees do not preserve dtype when fitting/predicting.
263+ # Add `global_dtype` when Trees have this ability.
262264@pytest .mark .parametrize ("Tree" , REG_TREES .values ())
263265@pytest .mark .parametrize ("criterion" , REG_CRITERIONS )
264266def test_regression_toy (Tree , criterion ):
@@ -2138,6 +2140,8 @@ def test_poisson_vs_mse():
21382140 assert metric_poi < 0.75 * metric_dummy
21392141
21402142
2143+ # TODO: Trees do not preserve dtype when fitting/predicting.
2144+ # Add `global_dtype` when Trees have this ability.
21412145@pytest .mark .parametrize ("criterion" , REG_CRITERIONS )
21422146def test_decision_tree_regressor_sample_weight_consistentcy (criterion ):
21432147 """Test that the impact of sample_weight is consistent."""
You can’t perform that action at this time.
0 commit comments