Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/l/classipy-HEAD/examples/svm_viz_test.py   classipy(Download)
    classifier = classipy.SVM(options=o).train(a)
    classipy.decision_boundary_2d(classifier, a, .5, .5)
    mp.title(str(o))
 
for x in range(-5, 5):
    o = {'c': 1., 'g': 10**x, 't': 2}
    classifier = classipy.SVM(options={'c': 10**x, 'g': 1, 't': 2}).train(a)
    classipy.decision_boundary_2d(classifier, a, .5, .5)
    mp.title(str(o))