pycorels icon indicating copy to clipboard operation
pycorels copied to clipboard

Checking for presence of features in fit()

Open michael-camilleri opened this issue 4 years ago • 0 comments

When checking for the present of the features in the fit method, this raises an error unless the type is a list (for example using a numpy array). This is because the check for its presence is being done by way of an if features: shouldn't this be if features is not None for a more robust implementation?

michael-camilleri avatar Jun 02 '20 18:06 michael-camilleri