Closed bhvieira closed 8 years ago
Hi @catastrophic-failure
Thanks! Sharing this code with others is exactly what we wish for and what the package should "motivate" you to do.
Even better would be submitting a pull request for this. But of course this is issue is also good. We will take this over now, Stefan = @Coorsaa is working on this now on our side to integrate this.
Ok :)
Also thanks for mlr
, it's a great tool.
I have coded subselect::trim.matrix
as a Preprocess Wrapper. Will try a PR this time. I'm new to Git so please forgive me if I do anything wrong!
I have coded subselect::trim.matrix as a Preprocess Wrapper. Will try a PR this time. I'm new to Git so please forgive me if I do anything wrong!
Ok. Simply try your best and we will help you. For new code, where it is a bit harder to decide "how" we should integrate it (eg possibly new preproc stuff and not a simple learner), please open up a issue first.
This way we can discuss what i best, and we dont waste your time when we think it should be handled differently than in your code ;-)
Done in PR #930
EDIT: should I have created this as a PR?
Hey everyone,
mlR
currently lacks some learners and methods fromkernlab
, and as I'm currently working with both I thought it would be a good idea to share what I have. Here's the script for gaussian processes classification. I just edited the"classif.ksvm"
one, and kept all the comments too.Here is the regression one.
kernlab
manual says it can predictsdeviation
but I wasn't able to make it work with thebh.task
dataset so it might be better to leave it out for now. EDIT: I double checked the kernlab manual and that seems like the correct behavior, so the code below now includesse
estimation.Keep in mind gaussian processes classification is computationally costly and scale O(n^3). I'm also working with probabilities outputs for native multiclass ksvm types (
"kbb-svc"
and"spoc-svc"
return only decisions) and lssvm probability outputs outsidekernlab
and also an alternativeprob.model
through isotonic regression instead of Platt Scaling (scikit
users might expect to find it here, dunno). If I'm sucessful I'll share it here.I'm new to Git, so if I posted this in the wrong area or the wrong way please excuse me. Thanks!