Skip to content

kmeans error: __init__() got an unexpected keyword argument 'precompute_distances' #218

@ostwaldj

Description

@ostwaldj

Created a new virtual env with only Texthero and its dependencies installed. A year or more ago it worked, but now when I try to run kmeans, e.g.
.pipe(hero.kmeans,n_clusters=5)
it errors:
init() got an unexpected keyword argument 'precompute_distances'

This happens with my own data and code, and also when I paste the BBCSport sample code in as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions