scikits Questions
1
I have installed the latest version of scikit-video=1.1.11 and the latest version of numpy=1.26.1. When trying to load a video as
>>> import skvideo.io
>>> skvideo.io.vread('video...
2
Solved
I am trying to decompose a 3D matrix using python library scikit-tensor. I managed to decompose my Tensor (with dimensions 100x50x5) into three matrices. My question is how can I compose the initia...
Iatrogenic asked 28/9, 2016 at 12:58
4
Solved
I'm working with Python and I've implemented the PCA using this tutorial.
Everything works great, I got the Covariance I did a successful transform, brought it make to the original dimensions not ...
4
Solved
I'm trying to install scikits.audiolab with pip. I read this post, however, it looks like that user's problem was that they hadn't installed numpy. I can replicate their trace by uninstalling numpy...
3
Solved
After using sklearn.linear_model.LogisticRegression to fit a training data set, I would like to obtain the value of the cost function for the training data set and a cross validation data set.
Is ...
Wiersma asked 12/3, 2016 at 11:12
4
Solved
scikit-learn provides various methods to remove descriptors, a basic method for this purpose has been provided by the given tutorial below,
http://scikit-learn.org/stable/modules/feature_selectio...
Equally asked 27/3, 2015 at 10:52
5
Solved
Per the scikit-learn user guide, I installed scikit-learn using pip install -U scikit-learn.
So using pip search scikit-learn, I get this search result:
scikit-learn - A set of python modules for...
Corkage asked 3/11, 2012 at 20:3
2
I am currently trying to install scikits.audiolab 0.11.0 for Python 3.5.4 on Windows 10 and it requires libsndfile from http://www.mega-nerd.com/libsndfile/. I have installed this into my conda vir...
Carola asked 12/12, 2017 at 18:46
3
Solved
I want to iteratively fit a curve to data in python with the following approach:
Fit a polynomial curve (or any non-linear approach)
Discard values > 2 standard deviation from mean of the curve
r...
Iapetus asked 15/4, 2019 at 3:15
3
So my code like is:
>>> le = preprocessing.LabelEncoder()
>>> le.fit(train["capital city"])
LabelEncoder()
>>> list(le.classes_)
['amsterdam', 'paris', 'tokyo']
>>...
Lxx asked 3/8, 2017 at 22:8
1
I want to use ssim to compare similarity in 2 images.
I'm getting this error window_shape is incompatible with arr_in.shape .
Why? (What does it mean?)
from skimage.measure import structural_simi...
Owlish asked 18/8, 2015 at 16:1
7
Solved
Is it possible to have missing values in scikit-learn ? How should they be represented? I couldn't find any documentation about that.
Muggins asked 20/2, 2012 at 17:56
2
Solved
I have a set of data with known labels. I want to try clustering and see if I can get the same clusters given by known labels. To measure the accuracy, I need to get something like a confusion matr...
Evensong asked 8/12, 2017 at 6:25
3
Solved
In most of the Scikit-learn algorithms, the data must be loaded as a Bunch object. For many example in the tutorial load_files() or other functions are used to populate the Bunch object. Functions ...
Countermand asked 10/12, 2013 at 3:39
4
Solved
I have a numpy matrix with shape of (4601, 58).
I want to split the matrix randomly as per 60%, 20%, 20% split based on number of rows
This is for Machine Learning task I need
Is there a numpy fun...
2
Solved
I am using the sknn package to build a neural network. In order to optimize the parameters of the neural net for the dataset I am using I am using an evolutionary algorithm. Since the package allow...
Cameraman asked 21/6, 2016 at 14:42
1
Solved
I have write down a simple code that takes One arguments "query_seq", further methods calculates descriptor and in the end predictions can be made using "LogisticRegression" (or any other algorithm...
Doreendorelia asked 15/4, 2016 at 9:29
2
When attempting to install the scikit-bio toolkit via pip on Windows XP using Python 2.78 and Visual C++ 2008 Express Edition, the process is interrupted with the following message issued by VC:
c...
3
Solved
I am looking for a Python package to perform an efficient Constant Q Transform (ie using an FFT to speed up the process).
I found a toolbox named CQ-NSGT/sliCQ Toolbox, but I get the following erro...
Merissa asked 11/4, 2013 at 15:6
1
Solved
I am trying to install scikits.audiolab with using the pip tool. Pip appears to run the command python setup.py egg_info from within the scikits.audiolab source directory. When it does so, I get th...
1
I am using scikit learn 0.15.2 for a multi-class classification problem. I was getting a lot of DeprecationWarnings as follows when following examples like: scikit 0.14 multi label metrics until I ...
Help asked 14/5, 2015 at 22:25
1
I'm new to scikit.
I can't find an example using a precomputed distance matrix in Scikit KMeans.
Could anybody shed a light now this, better with an example?
Allen asked 3/7, 2014 at 18:21
1
I want to know whether LinearSVC supports multi-class classification by default or do we have to wrap it in OneVsRestClassifier like:
OneVsRestClassifier(LinearSVC())
Unearth asked 30/3, 2015 at 5:19
2
I am comparing two Naive Bayes classifiers: one from NLTK and and one from scikit-learn. I'm dealing with a multi-class classification problem (3 classes: positive (1), negative (-1), and neutral (...
Galliwasp asked 2/5, 2012 at 3:19
3
Solved
I read that the builtin ensemble methods in sklearn use decision trees as the base classifiers. Is it possible to use custom classifiers instead?
Opera asked 9/5, 2012 at 14:39
1 Next >
© 2022 - 2024 — McMap. All rights reserved.