Comments (2)
I am having a similar error too.
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-117-fa33478a481d> in <module>
----> 1 from costcla.models import BayesMinimumRiskClassifier
~\anaconda3\lib\site-packages\costcla\__init__.py in <module>
29 from .metrics import *
30 from .datasets import *
---> 31 from .models import *
32
~\anaconda3\lib\site-packages\costcla\models\__init__.py in <module>
4
5 from .directcost import BayesMinimumRiskClassifier, ThresholdingOptimization
----> 6 from .regression import CostSensitiveLogisticRegression
7 from .cost_tree import CostSensitiveDecisionTreeClassifier
8
~\anaconda3\lib\site-packages\costcla\models\regression.py in <module>
11 from sklearn.base import BaseEstimator
12 # from sklearn.linear_model.logistic import _intercept_dot
---> 13 from pyea import GeneticAlgorithmOptimizer
14 from ..metrics import cost_loss
15
~\anaconda3\lib\site-packages\pyea\__init__.py in <module>
11
12
---> 13 from .models import *
~\anaconda3\lib\site-packages\pyea\models\__init__.py in <module>
----> 1 from .ga import GeneticAlgorithmOptimizer
~\anaconda3\lib\site-packages\pyea\models\ga.py in <module>
10 import pandas as pd
11 from scipy.stats import norm
---> 12 from sklearn.externals.joblib import Parallel, delayed, cpu_count
13 import itertools
14
ModuleNotFoundError: No module named 'sklearn.externals.joblib'
from costsensitiveclassification.
I solved it locally on my computer by changing the imports where needed.
from costsensitiveclassification.
Related Issues (20)
- multiclass classification example?
- Push to PyPi HOT 2
- `load_bankmarketing` no longer works HOT 2
- costcla.model is not working with latest version of sklearn HOT 4
- Update example notebook to work with latest version of sklearn HOT 1
- Update tutorial link in README HOT 1
- I want to draw a cost-sensitive decision tree, but it has an error. HOT 1
- Imbalanced Dataset vs Cost Function HOT 3
- costcla incompatible with latest version of Scikit-Learn HOT 6
- Visualize features being used by CostSensitiveDecisionTreeClassifier HOT 1
- Calculation of cost saving HOT 2
- Cannot use predict_proba with cost matrix ?
- pyea imports
- Problem with imports from pyea HOT 3
- getting error: 'bool' object has no attribute 'astype'
- Cost sensitive Decision Tree predict the same value HOT 1
- Imbalanced prediction on obesity datasets using cost sensitive algorithms??
- ModuleNotFoundError: No module named 'sklearn.externals.joblib'
- Add a Conda Forge Package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from costsensitiveclassification.