Questions tagged [scikits]

Scientific Python toolkits

Scikits is the collective name of a number of Python libraries for various scientific tasks, such as statistics, machine learning and image and audio processing. These scikits build on Numpy and Scipy.

An overview of available scikits is given at http://scikits.appspot.com/scikits

218 questions
0
votes
1 answer

Using Gaussian mixture model for labelled and unlabelled data in scikit learn?

I have data out of which some of it is labelled and some of it is not labelled. I need to apply Expectation maximization algorithm. Is it possible to apply it in Sci-kit learn? Any example of labelled + unlabelled instances would be helpful.
0
votes
1 answer

Fetch Olivetti Faces with Proxy

I am trying to fetch Olivetti faces from the sklearn dataset but I get an URLError. I know the error is because usually I need to go through a proxy for any outside request. In this case I don't see an option to declare a proxy url for the…
dwkd
  • 2,716
  • 1
  • 17
  • 17
0
votes
1 answer

How to do element-wise assignment in pycuda / scikits.cuda?

Here's the code: import pycuda.autoinit import pycuda.gpuarray as gpuarray import pycuda.driver as drv import numpy as np import scikits.cuda.linalg as culinalg import scikits.cuda.misc as cumisc culinalg.init() ag =…
Xing Shi
  • 2,152
  • 3
  • 21
  • 32
0
votes
1 answer

Converting image to numpy array in python

I'm using Python + Scipy + Scikit-image + numpy for the first time. I'm using this page for help, and I've only changed the given code a bit to pick up an image of my liking: tree =…
user961627
  • 12,379
  • 42
  • 136
  • 210
0
votes
1 answer

Accessing a column in scikit dataset

I am loading the built-in boston data set in scikit library as: from sklearn.datasets import load_boston bdata = load_boston() I want to extract all the values in the first column, which is called as CRIM. I Have written a line…
krackoder
  • 2,841
  • 7
  • 42
  • 51
0
votes
1 answer

Install error for scikit Python

From the windows command prompt when I try to run the set up I get this error: Found executable C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.e xe C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.exe /c /nologo /Ox /MD…
Angel Cloudwalker
  • 2,015
  • 5
  • 32
  • 54
0
votes
1 answer

Scikit Naive Bayes Classification for text

i am trying to use scikit for the Naive Basyes classification. i have couple of question (Also i am new to scikit) 1) Scikit Algorithms want input as a numpy array and label as arrays. In case of text classification should i map each of my word with…
David
  • 4,634
  • 7
  • 35
  • 42
0
votes
1 answer

CANNOT Install external modules in Canopy

I have set Canopy as my default python compiler. I want to install scikits modules, currently not available in Canopy Package manager. I have installed setup tools and easy_install, pip which points to Canopy installation ( which easy_install ->…
bergercookie
  • 2,542
  • 1
  • 30
  • 38
0
votes
1 answer

Installing scikits.bvp_solver

I need to use scikits.bvp_solver in python. I currently use Canopy as my standard Python interface, where this package isn't available. Is there another available package for solving boundary value problems? I have also tried downloading using…
bergercookie
  • 2,542
  • 1
  • 30
  • 38
0
votes
1 answer

Linear Discriminant Analysis

I am using sklearn.lda for a classification purpose and was a little puzzled about the score function that prints the mean classification error. Is it determined by leave one out - jackknife? How do I interpret the result? It's only a float value…
El Dude
  • 5,328
  • 11
  • 54
  • 101
0
votes
2 answers

Stochastic Gradient Boosting giving unpredictable results

I'm using the Scikit module for Python to implement Stochastic Gradient Boosting. My data set has 2700 instances and 1700 features (x) and contains binary data. My output vector is 'y', and contains 0 or 1 (binary classification). My code is, gb =…
lostboy_19
  • 347
  • 3
  • 16
0
votes
1 answer

scikits audiolab installation error

I am using mint Linux Mint 13 maya (linux 3.2.0-23-generic x86-64) I am trying to install scikits.audiolab for performing some audio signal processing. I have downloaded all prerequisites i.e. (python-dev python-numpy python-setuptools…
vyi
  • 1,078
  • 1
  • 19
  • 46
0
votes
0 answers

get monthly data sum for a given timeseries

I have a timeseries of daily rainfall for 50 years. I am doing a seasonal trend analysis for the winter season (October-November): import scikits.timeseries as ts import datetime as dt start_date = dt.datetime(1954,1,1) end_date =…
user1142937
  • 314
  • 5
  • 19
0
votes
1 answer

Confused Using scikits.cuda.cula

I want to use some of cula functionality like LU factorization or Matrix inverse but I have some problem regarding the pointer inputs. for example for doing LU factorization with scikits.cuda.cula.culaDeviceSgetrf(m, n, a, lda, ipiv) , one need to…
Moj
  • 6,137
  • 2
  • 24
  • 36
0
votes
1 answer

Scikit LDA use in RFECV

I am using the recursive feature ranking function i scikit-learn (http://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.RFECV.html#sklearn.feature_selection.RFECV). However, I would like use a LDA classifier as the estimator. I…
andreSmol
  • 1,028
  • 2
  • 18
  • 30
1 2 3
14
15