-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
releasedIncluded in a releaseIncluded in a releasetesting 🧪Additional automated testsAdditional automated tests
Description
Is your feature request related to a problem?
It's not possible to set the kernel of a SupportVectorMachine.
Desired solution
- Add a new parameter
kernel: SupportVectorMachineKernelto the initializer ofsafeds.ml.classification.SupportVectorMachineandsafeds.ml.regression.SupportVectorMachine - Pass it along as the
kernelof the wrappedscikit-learnmodel in thefitmethod
The implementation of SupportVectorMachineKernel should be similar to the ImputerStrategy:
SupportVectorMachineKernelshould be an abstract base classKernelshould be nested intoSupportVectorMachine- Subclasses should be nested into
Kernel - Subclasses should be:
LinearPolynomial(with adegree: intparameter)- Raise if
degree< 1
- Raise if
SigmoidRadialBasisFunction
Also add a getter as described in #260.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
We need to add the support vector machine first (#154).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
releasedIncluded in a releaseIncluded in a releasetesting 🧪Additional automated testsAdditional automated tests
Type
Projects
Status
✔️ Done