ageron / ageron/handson-ml2

[03] no response when forcing Scikit-Learn to use OvO or OvA

Open
#80 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
30k
Forks
13.1k
PR merge metrics
No merged PRs in 30d

Description

I'm following the code in Chapter 3 to on Multiclasss Classification.

However, the code in cell [58] seems to be running forever with no response after more than half an hour:

```
from sklearn.multiclass import OneVsRestClassifier
ovr_clf = OneVsRestClassifier(SVC(gamma='auto', random_state=42))
ovr_clf.fit(X_train, y_train)
ovr_clf.predict([some_digit])
```

May I ask is it expecting to be running for a long time? If not, what could be the reason that the executing of this cell got no response after such a long time?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.