We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6709f68 commit 0bc0486Copy full SHA for 0bc0486
1 file changed
src/spotPython/sklearn/traintest.py
@@ -35,9 +35,11 @@ def evaluate_hold_out(model, fun_control):
35
test_size=0.25,
36
stratify=train_df[target_column],
37
)
38
+ # scaler fit_transform(X_train)
39
model.fit(X_train, y_train)
40
# convert to numpy array, see https://github.com/scikit-learn/scikit-learn/pull/26772
41
X_test = np.array(X_test)
42
+ # scaler transform(X_test)
43
y_test = np.array(y_test)
44
if fun_control["predict_proba"]:
45
df_preds = model.predict_proba(X_test)
0 commit comments