Open xinadi opened 1 year ago
You are probably right. Well spotted! If you want, you can open a PR to fix this. If the tests pass, then it will most likely be merged. (Optionally, you can also do a search on the codebase for any other cases of Float64
matches to check whether there are not more cases like this.)
It would be good to have a more generic implementation. However, it seems that a refactor may be a little more involved. See, for example:
Hi, I found that for regression algorithm in apply_forest function (mean) the labels type T of model should be exact Float64:
Is there any particular reason why condition is not
T <: AbstractFloat
? Also, the documentation noted that regression choosed when labels/targets of type Float, not Float64. Thanks!