UNPKG

clustering-tfjs

Version:

High-performance TypeScript clustering algorithms (K-Means, Spectral, Agglomerative) with TensorFlow.js acceleration and scikit-learn compatibility

9 lines 337 B
/** Lightweight interface used throughout the codebase for deterministic RNG. */ export interface RandomStream { /** Float in [0, 1). */ rand(): number; /** Integer in [0, max). */ randInt(max: number): number; } export declare function make_random_stream(seed?: number): RandomStream; //# sourceMappingURL=index.d.ts.map