import { Params } from '../base/estimator'; import { SGDClassifier } from './sgdClassifier'; import { SGDPenalty } from './sgdBase'; export interface PerceptronProps { penalty?: SGDPenalty; alpha?: number; l1Ratio?: number; fitIntercept?: boolean; maxIter?: number; tol?: number | null; shuffle?: boolean; randomState?: number; eta0?: number; } /** * The classic perceptron, mirroring scikit-learn's `Perceptron`: an * `SGDClassifier` with `loss='perceptron'`, a constant learning rate `eta0` * (default 1) and no penalty by default. Updates only on misclassified * samples. Multiclass is handled one-vs-rest; `predictProba` is unavailable * (the perceptron has no probability model). */ export declare class Perceptron extends SGDClassifier { constructor(props?: PerceptronProps); getParams(): Params; }