Skip to content

Commit

Permalink
Update _stump_classifier.py
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki authored Apr 24, 2024
1 parent d875514 commit 0ffb0b8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mlsauce/stump/_stump_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
from sklearn.base import BaseEstimator
from sklearn.base import ClassifierMixin

import pyximport; pyximport.install()
from . import _stumpc as stumpc
try:
import pyximport; pyximport.install()
from . import _stumpc as stumpc
except:
pass


class StumpClassifier(BaseEstimator, ClassifierMixin):
Expand Down

0 comments on commit 0ffb0b8

Please sign in to comment.