You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
617 B

4 months ago
import { GraphData, ClusterData, DistanceType } from './types';
/**
* k-means算法 K个簇
* @param data
* @param k
* @param propertyKey
* @param involvedKeys key集合
* @param uninvolvedKeys key集合
* @param distanceType
*/
declare const kMeans: (data: GraphData, k?: number, propertyKey?: string, involvedKeys?: string[], uninvolvedKeys?: string[], distanceType?: DistanceType) => ClusterData;
export default kMeans;