import { MultivariateRelationshipModel } from './RelationshipModel'; import { DataRecord, Attribute, ValueType } from '../dataset'; import KNN from 'ml-knn'; export declare class KNNRelationshipModel implements MultivariateRelationshipModel { name: string; inputAttributes: Attribute[]; outputAttribute: Attribute; model: KNN; constructor(name: string, inputAttributes: Attribute[], outputAttribute: Attribute); train(trainingSet: DataRecord[]): void; predict(record: DataRecord): ValueType; }