Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Dimension compare of weights to data, during kmeans and like #647

@justinths

Description

@justinths

I tried to add pull request ...

Currently it is
if (x.Length != weights.Length)
throw new DimensionMismatchException("weights", "Data w....

I believe it should be
if (x**# [0]**.Length != weights.Length)
throw new DimensionMismatchException("weights", "Data w....

the weighting should be apply to each element in the array of arrays, not to each element in the array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions