Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodv committed Apr 29, 2015
1 parent fcdb7bb commit 5c7f8ba
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ categorical data.

Implemented are:

- k-modes [1]_ [#]_
- k-modes with initialization based on density [#]_
- k-prototypes [1]_
- k-modes [HUANG97]_ [HUANG98]_
- k-modes with initialization based on density [CAO09]_
- k-prototypes [HUANG97]_

The code is modeled after the k-means module in scikit-learn and has the
same familiar interface.
Expand Down Expand Up @@ -57,12 +57,12 @@ Usage
References
----------

.. [1] Huang, Z.: Clustering large data sets with mixed numeric and categorical values,
.. [HUANG97] Huang, Z.: Clustering large data sets with mixed numeric and categorical values,
Proceedings of the First Pacific Asia Knowledge Discovery and Data Mining Conference,
Singapore, pp. 21-34, 1997.
.. [#] Huang, Z.: Extensions to the k-modes algorithm for clustering large data sets
.. [HUANG98] Huang, Z.: Extensions to the k-modes algorithm for clustering large data sets
with categorical values, Data Mining and Knowledge Discovery 2(3), pp. 283-304, 1998.
.. [#] Cao, F., Liang, J, Bai, L.: A new initialization method for categorical data
.. [CAO09] Cao, F., Liang, J, Bai, L.: A new initialization method for categorical data
clustering, Expert Systems with Applications 36(7), pp. 10223-10228., 2009.

3 comments on commit 5c7f8ba

@magirtopcu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't run examples as using python stocks.py on command-line from examples directory. I think I have trouble with python packaging system. I got error below.
from kmodes import kprototypes ImportError: cannot import name kprototypes . Can someone tell me about how to run examples ?

@nicodv
Copy link
Owner Author

@nicodv nicodv commented on 5c7f8ba May 13, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's because the kmodes root directory needs to be in your PYTHON_PATH.

I've cleaned things up a bit and included a setup script to deal with these things for you. Check out the installation notes in the README.

@magirtopcu
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it works

Please sign in to comment.