-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1891 from pavlin-policar/merge-svm
Merge OWSVM
- Loading branch information
Showing
11 changed files
with
471 additions
and
245 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
from .tree import * | ||
from .ada_boost import * | ||
from .randomforest import * | ||
from .svm import * |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from Orange.classification import SVMLearner, LinearSVMLearner, NuSVMLearner | ||
from Orange.modelling import Fitter | ||
from Orange.regression import SVRLearner, LinearSVRLearner, NuSVRLearner | ||
|
||
|
||
class SVMFitter(Fitter): | ||
__fits__ = {'classification': SVMLearner, 'regression': SVRLearner} | ||
|
||
|
||
class LinearSVMFitter(Fitter): | ||
__fits__ = {'classification': LinearSVMLearner, 'regression': LinearSVRLearner} | ||
|
||
|
||
class NuSVMFitter(Fitter): | ||
__fits__ = {'classification': NuSVMLearner, 'regression': NuSVRLearner} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.