MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / NuSVC

Class NuSVC

python/thundersvm/thundersvm.py:495–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493
494
495class NuSVC(SvmModel, ClassifierMixin):
496 _impl = 'nu_svc'
497
498 def __init__(self, kernel='rbf', degree=3, gamma='auto',
499 coef0=0.0, nu=0.5, tol=0.001,
500 probability=False, shrinking=False, cache_size=None, verbose=False,
501 max_iter=-1, n_jobs=-1, max_mem_size=-1, random_state=None, decision_function_shape='ovo', gpu_id=0):
502 self.decision_function_shape = decision_function_shape
503 super(NuSVC, self).__init__(
504 kernel=kernel, degree=degree, gamma=gamma,
505 coef0=coef0, C=0., nu=nu, epsilon=0.,
506 tol=tol, probability=probability, class_weight=None,
507 shrinking=shrinking, cache_size=cache_size, verbose=verbose,
508 max_iter=max_iter, n_jobs=n_jobs, max_mem_size=max_mem_size, random_state=random_state, gpu_id=gpu_id
509 )
510
511
512class OneClassSVM(SvmModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected