georgeha / k-means-version_2

new implementation of k--means algorithm using radical pilot api
MIT License
0 stars 0 forks source link

two errors in k-means.py #2

Open shantenujha opened 10 years ago

shantenujha commented 10 years ago

Currently we have: DBURL = ("RADICAL_PILOT_DBURL")

We should have: DBURL = os.getenv("RADICAL_PILOT_DBURL")

Also, we have an error on line 92

python k-means.py 3 AN ERROR OCCURRED: global name 'c' is not defined

which needs to be fixed to either remove line 92 or fix in previous lines.

georgeha commented 10 years ago

fixed