Closed sameetmehta closed 3 years ago
This error comes from the following:
numeric
is neither a float nor an int -- when converted to Python it is always converted to float, for some reasonknn_max
is undocumented, so it's passed on through ...
rather than manually converted to int like knn
and other args.You can solve this immediately by using knn_max = 20L
or wait for me to push the fix.
Should be fixed on master. It'll be on CRAN in a few days.
Describe the bug When you try to pass parameters to
phate
throughR
things get lost in translation.To Reproduce
Expected behavior It should convert the parameters correctly to type, and pass them on, rather than assuming everything is a float, or
python
should handle it better.