Narcissistic Preening Monarch

    @types/density-clustering
    TypeScript icon, indicating that this package has built-in type declarations

    1.3.0 • Public • Published

    Installation

    npm install --save @types/density-clustering

    Summary

    This package contains type definitions for density-clustering (https://github.com/LukaszKrawczyk/density-clustering).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/density-clustering.

    index.d.ts

    // Type definitions for density-clustering 1.3
    // Project: https://github.com/LukaszKrawczyk/density-clustering
    // Definitions by: Matt Fedderly <https://github.com/mfedderly>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    export class DBSCAN {
        run(
            dataset: number[][],
            neighborhoodRadius: number,
            minPointsPerCluster: number,
            distanceFunction?: (p: number[], q: number[]) => number,
        ): number[][];
        noise: number[];
    }
    
    export class OPTICS {
        run(dataset: number[][], neighborhoodRadius: number, minPointsPerCluster: number): number[][];
        getReachabilityPlot(): number[][];
    }
    
    export class KMEANS {
        run(dataset: number[][], numberOfClusters: number): number[][];
    }

    Additional Details

    • Last updated: Wed, 23 Jun 2021 11:01:15 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by Matt Fedderly.

    Keywords

    none

    Install

    npm i @types/density-clustering

    DownloadsWeekly Downloads

    1,815

    Version

    1.3.0

    License

    MIT

    Unpacked Size

    4.13 kB

    Total Files

    4

    Last publish

    Collaborators

    • types