8000 Regression in cross_val_predict of decision_function in the binary case · Issue #9589 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
8000
Regression in cross_val_predict of decision_function in the binary case #9589
Closed
@jnothman

Description

@jnothman

@AlJohri writes:

I started getting a different shape for cross_val_predict with the method of decision_function for this model: svm.SVC(kernel='linear', C=1, probability=False) with this cross_val_predict(original_pipeline, X_train, y_train, cv=2, method='decision_function'). I was getting a 1D array before and now I'm getting a 2D array where the first column is all zeroes. I'm doing a binary classifier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0