Downloading data from http://mlr.cs.umass.edu/ml/machine-learning-databases/water-treatment/water-treatment.data
Processing 527 samples with 38 attributes
Traceback (most recent call last):
File "C:\Users\akarasin\Source\Repos\PythonClusteringApplication1\clustering.py", line 301, in <module>
X = get_features(frame)
.
.
.
TypeError: an integer is required (got type bytes)
Using code as is without any changes. Not sure what is a problem. Provided data appear correct: URL = "http://mlr.cs.umass.edu/ml/machine-learning-databases/water-treatment/water-treatment.data" I tried to uncomment on line 130 frame[frame.isnull()] = 0.0 Output I am getting:
Any ideas?