Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error importing aikit with scikit-learn 0.24 #75

Open
gfournier opened this issue Jan 12, 2021 · 0 comments
Open

Error importing aikit with scikit-learn 0.24 #75

gfournier opened this issue Jan 12, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gfournier
Copy link
Member

Traceback:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-6-f6e08db4b035> in <module>
----> 1 from aikit.ml_machine.default import get_default_pipeline
      2 from aikit.pipeline import GraphPipeline
      3 from aikit.transformers import TruncatedSVDWrapper
      4 from aikit.transformers.text import CountVectorizerWrapper, TextNltkProcessing

~\Work\GitHub\aikit\aikit\ml_machine\__init__.py in <module>
      7 
      8 
----> 9 from .ml_machine import AutoMlConfig, JobConfig, MlJobRunner, MlJobManager, AutoMlResultReader
     10 from .ml_machine_launcher import MlMachineLauncher
     11 from .data_persister import FolderDataPersister, SavingType

~\Work\GitHub\aikit\aikit\ml_machine\ml_machine.py in <module>
     27 from sklearn.utils.validation import check_random_state
     28 
---> 29 from aikit.tools.helper_functions import dico_keyvalue_filter, diff, intersect, unnest_tuple, _is_number, md5_hash
     30 from aikit.tools.db_informations import (
     31     get_columns_informations,

~\Work\GitHub\aikit\aikit\tools\__init__.py in <module>
      6 """
      7 
----> 8 from .helper_functions import diff, intersect, save_pkl, load_pkl, shuffle_all, unlist
      9 from .json_helper import save_json, load_json
     10 

~\Work\GitHub\aikit\aikit\tools\helper_functions.py in <module>
     26 import hashlib
     27 
---> 28 from sklearn.utils import check_random_state, safe_indexing
     29 
     30 from aikit.tools.json_helper import SpecialJSONEncoder

ImportError: cannot import name 'safe_indexing'
@gfournier gfournier self-assigned this Jan 12, 2021
@gfournier gfournier added the bug Something isn't working label Jan 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant