MCPcopy Create free account
hub / github.com/christopherjenness/ML-lib / __init__

Method __init__

ML/svm.py:28–55  ·  view source on GitHub ↗

Args: C (float): weight of penalty for misclassified points in soft-margin error if C == 0, then hard-margin SVM is used kernel: {linear_kernel, polynomial_kernel, rbf_kernel} kernel method to use power (int): exponent in p

(self, C=0, kernel=linear_kernel, power=2, gamma=0.02, coef=1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected