scikit-learn-intelex icon indicating copy to clipboard operation
scikit-learn-intelex copied to clipboard

added shape attr check in validation

Open PivovarA opened this issue 3 years ago • 1 comments
trafficstars

We ran into a problem with predict_proba in knn. If the predict_proba method receives a list as input, the method will return an error. This is because we were trying to extract the shape attr from the list. I added an extra check to avoid this.

PivovarA avatar Jun 28 '22 14:06 PivovarA

@PivovarA @samir-nasibli are there any stoppers for merging?

Alexsandruss avatar Aug 04 '22 12:08 Alexsandruss