tidymodels / parsnip

A tidy unified interface to models
https://parsnip.tidymodels.org
Other
597 stars 89 forks source link

Add "Least square support vector machine"? #1008

Closed Freestyleyang closed 9 months ago

Freestyleyang commented 1 year ago

Hi There,

Thank you for your efforts.

Can I ask if it is possible to include "Least square support vector machine" in tidymodels? The "Least square support vector machine" is currently available in the R package kernlab as the function lssvm. Thank you.

simonpcouch commented 1 year ago

Thanks for the issue!

This sounds like a great idea for a parsnip extension package, implementing a new "lssvm" engine for each of the kernels supported in parsnip. parsnip's infrastructure allows for anyone to create their own package that integrates with parsnip (and thus the rest of the tidymodels ecosystem)! We have some documentation on how to create custom model specifications on the tidymodels website. We'd recommend creating a new package of your own—poissonreg would indeed be a great place to see how those specifications are situated in a package.

Feel free to holler if you run into any issues while building the package or have a finished product you'd like us to feature on the tidymodels website.

simonpcouch commented 9 months ago

Going to go ahead and close. If anyone ends up taking this on and running into issues, feel free to holler.

github-actions[bot] commented 9 months ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.