| 478 | _impl = 'c_svc' |
| 479 | |
| 480 | def __init__(self, kernel='rbf', degree=3, |
| 481 | gamma='auto', coef0=0.0, C=1.0, |
| 482 | tol=0.001, probability=False, class_weight=None, |
| 483 | shrinking=False, cache_size=None, verbose=False, |
| 484 | max_iter=-1, n_jobs=-1, max_mem_size=-1, random_state=None, decision_function_shape='ovo', gpu_id=0): |
| 485 | self.decision_function_shape = decision_function_shape |
| 486 | super(SVC, self).__init__( |
| 487 | kernel=kernel, degree=degree, gamma=gamma, |
| 488 | coef0=coef0, C=C, nu=0., epsilon=0., |
| 489 | tol=tol, probability=probability, |
| 490 | class_weight=class_weight, shrinking=shrinking, |
| 491 | cache_size=cache_size, verbose=verbose, |
| 492 | max_iter=max_iter, n_jobs=n_jobs, max_mem_size=max_mem_size, random_state=random_state, gpu_id=gpu_id) |
| 493 | |
| 494 | |
| 495 | class NuSVC(SvmModel, ClassifierMixin): |