Skip to content

Commit a323602

Browse files
author
David Stirling
committed
Much faster "score all"
1 parent 72383f7 commit a323602

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

cpa/multiclasssql.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,6 @@ def do_by_steps(tables, filter_name, area_score=False):
290290
silent=(idx > 10))
291291

292292
cell_data, image_keys = processData(data)
293-
for i in range(cell_data.shape[0]):
294-
for j in range(cell_data.shape[1]):
295-
try:
296-
float(cell_data[i,j])
297-
except:
298-
print((i,j, cell_data[i,j], type(cell_data[i,j])))
299293
predicted_classes = classifier.Predict(cell_data)
300294
for i in range(0, len(predicted_classes)):
301295
row_cls = tuple(np.append(image_keys[i][0], predicted_classes[i]))

0 commit comments

Comments
 (0)