kmeans icon indicating copy to clipboard operation
kmeans copied to clipboard

cannot import this library -- "no call signitures"

Open Johnrobmiller opened this issue 2 years ago • 3 comments

image

Johnrobmiller avatar May 04 '23 23:05 Johnrobmiller

If this is importing using import * as kmeans from 'ml-kmeans', then you need to document it

Johnrobmiller avatar May 04 '23 23:05 Johnrobmiller

I'm having the same issue - constructor is not callable.

carolinerobbins avatar Jul 17 '23 19:07 carolinerobbins

@Johnrobmiller @carolinerobbins

Try:

import { kmeans } from 'ml-kmeans';

danias avatar Jan 25 '24 13:01 danias