Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(RandomForest): Always cast
seed
to int
In cases where seeds were generated from some numpy objects, sometimes you'd get back an `np.integer`, which causes the program to crash when communicating with `pyrfr` through `swig`. It seems that swig doesn't know that it's an _int-like_ and so we explicitly cast it to `int`.
- Loading branch information