Re: [Scikit-learn-general] Erro writing classification tree to file

2014-04-27 Thread Andy
Hi Markus. Are you using the current master branch? If so, could you maybe provide a pickle file of your tree so we can reproduce the problem? Thanks, Andy On 04/27/2014 03:14 PM, Markus Gruber wrote: > I got an error by exporting the classification tree to graphviz and i > don't know how to ha

[Scikit-learn-general] Erro writing classification tree to file

2014-04-27 Thread Markus Gruber
I got an error by exporting the classification tree to graphviz and i don't know how to handle Traceback (most recent call last): File "task5.py", line 101, in f = tree.export_graphviz(clf_1,out_file=f) File "C:\Python27\lib\site-packages\sklearn\tree\tree.py", line _graphviz recurse(

Re: [Scikit-learn-general] Using CBLAS libraries externally, setup (Quick Question)

2014-04-27 Thread Sturla Molden
Lars Buitinck wrote: > I think this question comes about because Manoj is trying to optimize > some Cython code. But the question "do you have the exact same > library" is valid. Well, this approach allows us to call BLAS and LAPACK with the overhead of a function pointer, so it's rather cheap :

Re: [Scikit-learn-general] Using CBLAS libraries externally, setup (Quick Question)

2014-04-27 Thread Vagabond_Aero
The error message shows the system is looking in the system library directories for cblas. When you changed the join statement, and probably when you started working in a different directory, the build script no longer knows how to find the cblas library. So you need to make the join statement co

Re: [Scikit-learn-general] Using CBLAS libraries externally, setup (Quick Question)

2014-04-27 Thread Manoj Kumar
I wanted to reproduce the behaviour of ddot outside the scikit-learn directory, so that I can actually see what is happening. This is what I did. 1. Copied the cblas files from sklearn/src to a directory called CyPractise 2. I looked at the setup.py file over here ( https://github.com/scikit-le

Re: [Scikit-learn-general] Using CBLAS libraries externally, setup (Quick Question)

2014-04-27 Thread Lars Buitinck
2014-04-27 18:53 GMT+02:00 Sturla Molden : > Unlike the NumPy _dotblas module, SciPy uses an f2py wrapper that actually > exports a function poiinter. > > Using this scheme to code a fake cblas layer is not difficult either. I think this question comes about because Manoj is trying to optimize som

Re: [Scikit-learn-general] Classifier for Neural Networks

2014-04-27 Thread Lars Buitinck
2014-04-27 19:06 GMT+02:00 Danny Sullivan : > I see that BernoulliRBM is used primarily as preprocessing to pass off to a > classification algorithm. I initially started thinking about after I saw an > image processing problem using Neural Networks for classification. So my > question should be: is

Re: [Scikit-learn-general] Classifier for Neural Networks

2014-04-27 Thread Danny Sullivan
I see that BernoulliRBM is used primarily as preprocessing to pass off to a classification algorithm. I initially started thinking about after I saw an image processing problem using Neural Networks for classification. So my question should be: is there an intention to add a discriminative RBM c

Re: [Scikit-learn-general] Using CBLAS libraries externally, setup (Quick Question)

2014-04-27 Thread Sturla Molden
Manoj Kumar wrote: > I want to use cblas libraries outside the sklearn directory, but I have > trouble in understanding how to set it up. It keeps returning the error, > /usr/bin/ld: cannot find -lcblas . Do you actually have the libcblas used to build NumPy? If you are happy with Fortran BLAS

Re: [Scikit-learn-general] Classifier for Neural Networks

2014-04-27 Thread Lars Buitinck
2014-04-27 18:35 GMT+02:00 Danny Sullivan : > Is there an intention to add a classifier, like a "predict" method, to the > BernoulliRBM class? You mean a discriminative RBM? -- Start Your Social Network Today - Download e

[Scikit-learn-general] Classifier for Neural Networks

2014-04-27 Thread Danny Sullivan
Is there an intention to add a classifier, like a "predict" method, to the BernoulliRBM class? -Danny-- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intr

[Scikit-learn-general] Using CBLAS libraries externally, setup (Quick Question)

2014-04-27 Thread Manoj Kumar
Hello, I want to use cblas libraries outside the sklearn directory, but I have trouble in understanding how to set it up. It keeps returning the error, /usr/bin/ld: cannot find -lcblas . I took a cue from the sklearn setup.py files and did in this in the setup.py file. Not that the cython file is