e52f693ca61767b352596eeb127d8f940d8b8870,Lib/sandbox/svm/tests/test_oneclass.py,test_oneclass,check_more,#test_oneclass#,30
Before Change
def check_more(self):
ModelType = LibSvmOneClassModel
x = [N.array([0, 0]),
N.array([0, 1]),
N.array([1, 0]),
N.array([1, 1])]
traindata = LibSvmOneClassDataSet(x)
nu = 0.5
testdata = LibSvmTestDataSet(x)
kernels = [
LinearKernel(),
PolynomialKernel(3, traindata.gamma, 0.0),
After Change
assert_array_equal(v, [-0.5, 0.0, 0.0, 0.5])
def check_more(self):
traindata, testdata = self._make_basic_datasets()
ModelType = LibSvmOneClassModel
nu = 0.5
kernels = [
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 14
Instances
Project Name: scipy/scipy
Commit Name: e52f693ca61767b352596eeb127d8f940d8b8870
Time: 2006-07-27
Author: fullung@localhost
File Name: Lib/sandbox/svm/tests/test_oneclass.py
Class Name: test_oneclass
Method Name: check_more
Project Name: scipy/scipy
Commit Name: e52f693ca61767b352596eeb127d8f940d8b8870
Time: 2006-07-27
Author: fullung@localhost
File Name: Lib/sandbox/svm/tests/test_oneclass.py
Class Name: test_oneclass
Method Name: check_more
Project Name: scipy/scipy
Commit Name: e52f693ca61767b352596eeb127d8f940d8b8870
Time: 2006-07-27
Author: fullung@localhost
File Name: Lib/sandbox/svm/tests/test_oneclass.py
Class Name: test_oneclass
Method Name: check_train
Project Name: scipy/scipy
Commit Name: 59a1078f3e4dd6322dbe2a7c1b2ae5e57c42da69
Time: 2006-07-26
Author: fullung@localhost
File Name: Lib/sandbox/svm/tests/test_classification.py
Class Name: test_classification
Method Name: check_c_probability