python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
scikit-learn error although it is properly installed
My code is as follows:
from imblearn import over_sampling
I get this error:
cannot import name 'DistanceMetric' from 'sklearn.metrics'
A simple import on imblearn is giving the same error. I tried r...
ella
Votes: 0
Answers: 1
How can I define custom geometric mean evaluation metrics in tensorflow 2.0?
How can implement the following imblearn geometric mean in Tensorflow to compile LSTM model?
from imblearn.metrics import geometric_mean_score
gmean = geometric_mean_score(yTest,yPred)
I wanted to us...
ForestGump
Votes: 0
Answers: 0
How to use imblearn undersampler in pipeline?
I have the following pipeline construction:
from imblearn.under_sampling import RandomUnderSampler
from imblearn.pipeline import Pipeline
sel = SelectKBest(k='all',score_func=chi2)
u...
Maths12
Votes: 0
Answers: 1
Multiclass Sampling Strategy
Scenario :
Currently I am working on multiclass classification problem. I have 2 million historical dataset of having 180 classes and need to create model which will predict the classes accurately. I ...
Makarand Rayate
Votes: 0
Answers: 0