import { SVC } from './svc'; import { Params } from '../base/estimator'; import { KernelType, SMOSolution } from './smo'; export interface NuSVCProps { /** upper bound on the fraction of margin errors, lower bound on the fraction of support vectors */ nu?: number; kernel?: KernelType; gamma?: number | 'scale' | 'auto'; degree?: number; coef0?: number; tol?: number; /** hard limit on SMO pair updates; -1 (default) = run until convergence */ maxIter?: number; } /** * nu-Support Vector Classification (libsvm Solver_NU semantics): `nu` * replaces `C` and directly trades off support-vector fraction against * margin errors. Multiclass problems are one-vs-one; each pairwise * subproblem must satisfy nu <= 2 * min(n+, n-) / (n+ + n-). */ export declare class NuSVC extends SVC { private nu; constructor(props?: NuSVCProps); getParams(): Params; protected solveBinary(X: number[][], y: number[]): SMOSolution; }