You can install Category Encoders package from both Pip and Conda-forge. But there is one subtle difference in the package in the two repositories. In PyPI, it is: category-encoders In Conda-forge, it is: category_encodersNow with minimal env.yml:
Contents of the file: name: cat_enc channels: - conda-forge dependencies: - scikit-learn - pandas - ipykernel - jupyterlab - category_encodersConda Commands
$ conda remove -n cat_enc --all $ conda env create -f env.yml Collecting package metadata (repodata.json): done Solving environment: done Downloading and Extracting Packages category_encoders-2. | 62 KB | ### | 100% ... python-3.10.6 | 29.0 MB | ### | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate cat_enc # # To deactivate an active environment, use # # $ conda deactivate Retrieving notices: ...working... done (base) $ conda activate cat_enc (cat_enc) $ python -m ipykernel install --user --name cat_enc Installed kernelspec cat_enc in /home/ashish/.local/share/jupyter/kernels/cat_enc (cat_enc) $
Pages
- Index of Lessons in Technology
- Index of Book Summaries
- Index of Book Lists And Downloads
- Index For Job Interviews Preparation
- Index of "Algorithms: Design and Analysis"
- Python Course (Index)
- Data Analytics Course (Index)
- Index of Machine Learning
- Postings Index
- Index of BITS WILP Exam Papers and Content
- Lessons in Investing
- Index of Math Lessons
- Downloads
- Index of Management Lessons
- Book Requests
- Index of English Lessons
- Index of Medicines
- Index of Quizzes (Educational)
Sunday, October 30, 2022
Installing 'Category Encoders' Python Package Using Pip And Conda
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment