Skip to content

Commit

Permalink
Update _adaopt.py - - use pyximport
Browse files Browse the repository at this point in the history
  • Loading branch information
thierrymoudiki authored Apr 23, 2024
1 parent ca2da53 commit 1c554d2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions mlsauce/adaopt/_adaopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@
from ..utils import subsample
from ..utils import cluster

try:
from . import _adaoptc as adaoptc
except ImportError:
import pyximport; pyximport.install()
import _adaoptc as adaoptc
import pyximport; pyximport.install()
import _adaoptc as adaoptc


class AdaOpt(BaseEstimator, ClassifierMixin):
Expand Down

0 comments on commit 1c554d2

Please sign in to comment.