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
0 answers

Issue with Scikit learn converting categorical to numeric varaibles

I have the following code, where I'm converting categorical variables into numeric ones. from sklearn.preprocessing import LabelEncoder var_mod = ['Gender','Married','Dependents','Education','Self_Employed','Property_Area','Loan_Status'] le =…
iahmed
  • 155
  • 1
  • 2
  • 12
0
votes
0 answers

Error when installing scikits.audiolab on Raspberry PI 1

When trying to install scikts.audiolab with pip install scikits.audiolab on my raspberry PI 1 I get the following error: Traceback (most recent call last): File "/usr/bin/pip", line 9, in load_entry_point('pip==1.5.6',…
Plecto
  • 29
  • 5
0
votes
1 answer

scikits.talkbox: ImportError: No module named cffilter

I'm trying to use the scikits.talkbox in python and I get the following error: ImportError: No module named cffilter I was looking for this file in the scikits.talkbox library and could only find 'cffilter.c' and 'cffilter.pyx' but not…
Shani Gamrian
  • 345
  • 1
  • 4
  • 18
0
votes
1 answer

How to apply Butterworth filter to my code?

I want to filter out noises from a voicerecording and normalize it. Currently I am struggeling with a Butterworth bandpass filter. How do I apply this in my code? (I'm new to Python) from numpy import nditer from pydub.audio_segment import…
Ashura
  • 86
  • 10
0
votes
0 answers

Finding Hot Spots in Python. KernelDensity

I am facing the following problem: I have (large) sample of unevenly distributed points $(X_i,Y_i)$ in a 2D space. I would like to determine the local extremas of the density of the distribution. Does the function KernelDensity allow to estimate the…
Fagui Curtain
  • 1,867
  • 2
  • 19
  • 34
0
votes
0 answers

Sklearn not compatible with numpy

Every time I try to use a class from sklearn I get the following error: File "/Library/Python/2.7/site-packages/sklearn/__init__.py", line 57, in from .base import clone File "/Library/Python/2.7/site-packages/sklearn/base.py", line…
ndrizza
  • 3,285
  • 6
  • 27
  • 41
0
votes
1 answer

Awkward results from sklearn.metrics

When doing decisiontree regression using default parameters, I got R2 value "-1.3". What does it means, is my model OK? The mean square error is also NOT reasonable. Can I make it positive by changing the parameters of the…
gudlife
  • 460
  • 1
  • 4
  • 11
0
votes
1 answer

How to load the datset using scikits

I am working on recommender systems and I am trying to use scikits.crab package to use the basic algorithms in recommender systems. However, in every tutorial, in the examples, they just used scikits own datsets and I didn't find anything about how…
HimanAB
  • 2,443
  • 8
  • 29
  • 43
0
votes
1 answer

What exactly does valid_size, f_stable, n_stable do in scikit-neuralnetwork fitting?

What exactly does valid_size, f_stable, n_stable do in scikit-neuralnetwork fitting? I'm trying to use scikit-neuralnetwork for a regression problem. I have read all the documentation I can find, but I don't quite understand what the n_stable,…
travelingbones
  • 7,919
  • 6
  • 36
  • 43
0
votes
0 answers

Python: Efficient way of plotting a Gausian KDE over (x,y,z) data

I have a value, z, at position, [x,y], and I would like to smooth this plot using a Gaussian KDE. The reason for this is that I would like to create "hotspots" to find the probability of an object being in a similar place. x,y and z are 1D arrays.…
RedM
  • 344
  • 2
  • 15
0
votes
1 answer

scikits.bvp_solver generates ValueError: too many values to unpack

I will start with a very simple ODE, which generates the same error code by using scikits.bvp_solver as I applied to complex ODE. Below is the ODE and the boundary conditions: f''''(x)=f(x), f(0)=0, f'(1)=1, f''(0)=1, f'''(1)=1 The code for solving…
3c.
  • 275
  • 2
  • 10
0
votes
1 answer

How to use multiple fuzzy input sets / relationships in scikit-fuzzy?

I'm making a fuzzy agent with scikit-fuzzy which determines how good a basketball player is based on length and motivation. Obviously this is a learning project and not a realistic implementation. In a simple example with only a relationship between…
Ben
  • 1,561
  • 4
  • 21
  • 33
0
votes
1 answer

Is there a 3D version of scikits image measure regionprops?

I have a three dimensional binary image for which I am working on determining the two-point cluster function. The first step to doing this is to define all of the connected regions within the image. I have successfully done so with skimage as: from…
LM Anovitz
  • 61
  • 1
  • 5
0
votes
1 answer

getrs function of cuSolver over pycuda doesn't work properly

I'm trying to make a pycuda wrapper inspired by scikits-cuda library for some operations provided in the new cuSolver library of Nvidia. I want to solve a linear system of the form AX=B by LU factorization, to perform that first use the…
0
votes
1 answer

Segmentation Fault in Pycuda using NVIDIA's cuSolver Library

i'm tryin to make a pycuda wrapper inspired by scikits-cuda library, for some operations provided in the new cuSolver library of Nvidia, first I need to perfom an LU factorization through cusolverDnSgetrf() op. but before that I need the…