Announcing the winners & finalists of the Dataiku Frontrunner Awards 2021! Read their inspiring stories

Help building a Custom Python Model with kmodes

juan_delacalle
Level 1
Help building a Custom Python Model with kmodes

We are trying to run k-prototypes as a Custom Python Model, the model comes from the library kmodes.

When running the Custom Python Model, the following mistake appears:

<type 'exceptions.ImportError'>: No module named kmodes.kmodes.

 

We would like to see the same metrics as other clustering models.

 

Any help would be appreciated.

0 Kudos
1 Reply
AlexT
Dataiker
Dataiker

Hi,

The error suggests either kmodes is not installed in the code environment used.

Or a naming conflict as suggested in this thread.

 

0 Kudos
A banner prompting to get Dataiku DSS