Skip to content Skip to sidebar Skip to footer
Showing posts with the label Scikit Learn

Clustering On Python And Bokeh; Select Widget Which Allows User To Change Clustering Algorithm

I am trying to build a feature in a Bokeh dashboard which allows the user to cluster data. I am usi… Read more Clustering On Python And Bokeh; Select Widget Which Allows User To Change Clustering Algorithm

Cross_val_score Is Not Working With Roc_auc And Multiclass

What I want to do: I wish to compute a cross_val_score using roc_auc on a multiclass problem What I… Read more Cross_val_score Is Not Working With Roc_auc And Multiclass

From Featurers To Words Python ("reverse" Bag Of Words)

Using sklearn I've created a BOW with 200 features in Python, which are easily extracted. But, … Read more From Featurers To Words Python ("reverse" Bag Of Words)

Explicitly Specifying Test/train Sets In Gridsearchcv

I have a question about the cv parameter of sklearn's GridSearchCV. I'm working with data t… Read more Explicitly Specifying Test/train Sets In Gridsearchcv

How Can I Reduce Memory Usage Of Scikit-learn Vectorizers?

TFIDFVectorizer takes so much memory ,vectorizing 470 MB of 100k documents takes over 6 GB , if we … Read more How Can I Reduce Memory Usage Of Scikit-learn Vectorizers?

Using A Support Vector Classifier With Polynomial Kernel In Scikit-learn

I'm experimenting with different classifiers implemented in the scikit-learn package, to do som… Read more Using A Support Vector Classifier With Polynomial Kernel In Scikit-learn

Confused With The Output Of Sklearn.neighbors.nearestneighbors

Here is the code. from sklearn.neighbors import NearestNeighbors import numpy as np X = np.array([[… Read more Confused With The Output Of Sklearn.neighbors.nearestneighbors

Gridsearchcv For Multi-label Classification For Each Label Separately

I am doing multi-label classification using scikit learn. I am using RandomForestClassifier as the … Read more Gridsearchcv For Multi-label Classification For Each Label Separately