-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: set kernel of support vector machine (#350)
Closes #172. A new parameter kernel: SupportVectorMachineKernel was added to the initializer of SupportVectorMachine classes of both the classifier and the regressor alongside getters for the parameters. It was later passed as the kernel of the wrapped scikit-learn model in the fit method. The SupportVectorMachineKernel was created as an abstract base class from which the signatures of the methods in the nested subclasses of Kernel were the same. Tests were adjusted to test the functionality of the kernel parameter.
- Loading branch information
Showing
4 changed files
with
236 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters