import { ClusterBase } from '../base/cluster'; import { Params } from '../base/estimator'; import { Distance } from '../metrics'; export interface MeanShiftProps { /** kernel bandwidth (neighborhood radius used when shifting points) */ bandwidth?: number; /** maximum number of shifting iterations */ max_iter?: number; /** distance metric name */ distanceType?: Distance.IDistanceType; } export declare class MeanShift extends ClusterBase { private bandwidth; private centers; private max_iter; private distanceType; constructor(props?: MeanShiftProps); /** @deprecated positional form; prefer the props-object constructor */ constructor(bandwidth?: number, max_iter?: number, distanceType?: Distance.IDistanceType); getParams(): Params; /** resolved lazily from the metric name so instances stay JSON-serializable */ private get distance(); private shiftPoint; fitPredict(samplesX: number[][]): number[]; getCentroids(): number[][]; }