According to its document uLSIF() takes list of float values as sigma_range and lambda_range, but it use their size method that are for numpy arrays but not for lists.
This PR replaces size method with len() so that list arguments are processed as expected.
Coverage remained the same at 95.673% when pulling 8855f9aa8840436b1a813a4dd20558ba7356e310 on msakai:len-instead-of-size into dd9106c5db45112b8047823588da29d38fa54bb0 on hoxo-m:master.
According to its document
uLSIF()
takes list of float values assigma_range
andlambda_range
, but it use their size method that are for numpy arrays but not for lists. This PR replacessize
method withlen()
so that list arguments are processed as expected.