PyML is an interactive object oriented framework for machine learning written in Python. PyML focuses on SVMs and other kernel methods. It is supported on Linux and Mac OS X.
Questions tagged [pyml]
18 questions
12
votes
4 answers
Suppressing output of module calling outside library
I have an annoying problem when using machine learning library PyML. PyML uses libsvm to train the SVM classifier. The problem is that libsvm outputs some text to standard output. But because that is outside of Python I cannot intercept it. I tried…

Rok
- 494
- 6
- 15
8
votes
1 answer
Python package install error
Not exactly programming related, but about an error I am facing while trying to install a python package using python setup.py install.
I have downloaded the tar file for PyML package. Then after extracting I have done below steps:
On DOS prompt…

goldenmean
- 18,376
- 54
- 154
- 211
3
votes
1 answer
How to use the classifier obtained by Pyml
I am a new user of PyML in Python. Using the tutorial, I did the following:
from PyML import *
data = SparseDataSet("heart")
s = SVM()
s.train(data)
r = s.cv(data,5)
I got the resultset r, but I don't understand how to use this resultset to…

emrahsamdan
- 203
- 4
- 13
2
votes
1 answer
PyML: graphing the decision surface
PyML has a function for graphing decision surfaces.
First you need to tell PyML which data to use. Here I use a sparsevectordata with my feature vectors. This is the one I used to train my SVM.
demo2d.setData(training_vector)
Then you need to tell…

The Unfun Cat
- 29,987
- 31
- 114
- 156
1
vote
2 answers
How to write yml file using python pyml package?
i want create yml file using python dictionary how to make dictionary format that i can get below format yml file
responses:
utter_greet:
- text: Hey! How are you?
buttons:
- title: "good"
payload: "/greet"
- title: "bad"
…

Arvind kumar
- 41
- 7
1
vote
1 answer
svmlib scaling vs. pyml normalization, scaling, and translation
What is the proper way to normalize feature vectors for use in a linear-kernel SVM?
Looking at LIBSVM, it looks like it's done by just rescaling each feature to a single standard upper/lower range. However, it doesn't seem like PyML provides a…

agrin
- 11
- 1
1
vote
2 answers
Get recall (sensitivity) and precision (PPV) values of a multi-class problem in PyML
I am using PyML for SVM classification. However, I noticed that when I evaluate a multi-class classifier using LOO, the results object does not report the sensitivity and PPV values. Instead they are 0.0:
from PyML import *
from PyML.classifiers…

Mathias Loesch
- 373
- 1
- 5
- 15
1
vote
2 answers
How could I deal with the sparse feature with high dimension in an SVR task?
I have a twitter-like(another micro blog) data set with 1.6 million datapoints and tried to predict the its retweet numbers based on its content. I extracted its keyword and use the keywords as the bag of words feature. Then I got 1.2 million…

hidemyname
- 3,791
- 7
- 27
- 41
1
vote
1 answer
Python ImportError: cannot import name datafunc [PyML]
I have installed PyML package in order to use some machine learning algorithms, and according to the tutorial, my installation is successful.
I try to run a python script which includes the following line to import modules from PyML
from PyML…

patti_jane
- 3,293
- 5
- 21
- 26
0
votes
1 answer
Error with PyML build
I'm looking to start a Machine Learning project, and I attempted to install PyML (on Mac OS X 10.6.8). In doing so I received the following error while running python setup.py build.
PyML/containers/ext/SparseDataSet_wrap.cpp: At global…

paradox870
- 2,152
- 4
- 20
- 30
0
votes
3 answers
Issue in writing a list to a YML file
import yaml
output = [
'{"football": "basketball"}',
'{"basketball": "basketball" }'
]
dict_file = [
{'sports' : output},
{'countries' : [
'Pakistan',
'USA',
'India',
'China',
'Germany',
…

Shiva Sharan
- 9
- 2
0
votes
3 answers
Can springboot dependency class can autowire service module?
Can I call a class in parent module from dependency module in spring boot.Say I have a project A springboot application and project B is dependency (common module ) .I am able to Autowire and use classes of B from A . But the vice versa is not…
0
votes
1 answer
How can i import PyML in colab?
i am trying to import PyML in colab and it tell me " No module named 'PyML' " i need to import it to use datafunc and.
I check this question Python ImportError: cannot import name datafunc [PyML]
, but it depend on import PyML.
can any one help me…

Ahmed Zedan
- 3
- 2
0
votes
1 answer
Anaconda Package Installation:Package missing in current win-32 channels
I am trying to install PyML-0.7.14 using anaconda.In anaconda prompt, I am giving
conda install pyml-0.7.14
conda install pyml
conda install pyml=0.7.14
Each of these is giving error:
Package missing in current win-32 channels.
I have also tried…

arpit115
- 38
- 6
0
votes
0 answers
Installing PyML and PyBrain with the Anaconda packages under OSX 10.10
Forgive me in case this too easy a question.
Background:
I installed Python 3 and Anaconda as I want to start programming Python and want to dive into machine learning.
Unfortunately all this shell based installation thing is absolutely new to me.…

Andreas K.
- 389
- 4
- 17