[Numpy-discussion] MLPY - Machine Learning Py - Python/NumPy based package for machine learning
Davide Albanese
albanese at fbk.eu
Fri Feb 15 09:59:21 EST 2008
Ok, sorry! The cost function is embedded into the C smo() function. I
think that you cannot access it directly.
Matthieu Brucher ha scritto:
> Well this is an input parameter, I'd like to access the cost function
> directly so that I can use it to follow its gradient to the limit
> between the two classes.
>
> Matthieu
>
> 2008/2/15, Davide Albanese <albanese at fbk.eu <mailto:albanese at fbk.eu>>:
>
> Yes: https://mlpy.fbk.eu/wiki/MlpyExamplesWithDoc
>
> * svm()
> Initialize the svm class.
>
> Inputs:
> ...
> cost - for cost-sensitive classification [-1.0, 1.0]
>
>
>
> Matthieu Brucher ha scritto:
>
> > OK, I'll try it then :)
> >
> > Is there an access to the underlying cost function ? (this is mainly
> > what I need)
> >
> > Matthieu
> >
>
> > 2008/2/15, Davide Albanese <albanese at fbk.eu
> <mailto:albanese at fbk.eu> <mailto:albanese at fbk.eu
> <mailto:albanese at fbk.eu>>>:
>
> >
> > I don't know very well libsvm too, the core of svm-mlpy is
> written
> > in C
> > and was developed by Stefano Merler (merler at fbk.eu
> <mailto:merler at fbk.eu>
>
> > <mailto:merler at fbk.eu <mailto:merler at fbk.eu>>).
>
> > I have simply wrapped it into svm() Python class.
> >
> > Regards,
> >
> > /* da */
> >
> >
> >
> > --
> > French PhD student
> > Website : http://matthieu-brucher.developpez.com/
> > Blogs : http://matt.eifelle.com and
> http://blog.developpez.com/?blog=92
> > LinkedIn : http://www.linkedin.com/in/matthieubrucher
>
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org <mailto:Numpy-discussion at scipy.org>
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
>
>
>
> --
> French PhD student
> Website : http://matthieu-brucher.developpez.com/
> Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
> LinkedIn : http://www.linkedin.com/in/matthieubrucher
More information about the NumPy-Discussion
mailing list