import { BaseEstimator } from '../base'; import { Params } from '../base/estimator'; import { CSRMatrix } from '../data'; export type MultiLabel = string | number; export interface MultiLabelBinarizerProps { classes?: MultiLabel[]; sparseOutput?: boolean; } /** Convert iterable sets of labels to a binary indicator matrix and back. */ export declare class MultiLabelBinarizer extends BaseEstimator { private classesParam?; private sparseOutput; private classesState; private fitted; constructor(props?: MultiLabelBinarizerProps); getParams(): Params; fit(y: MultiLabel[][]): void; transform(y: MultiLabel[][]): number[][] | CSRMatrix; fitTransform(y: MultiLabel[][]): number[][] | CSRMatrix; inverseTransform(Y: number[][] | CSRMatrix): MultiLabel[][]; get classes(): MultiLabel[]; }