Unfortunately, the forest code is very picky and will required the DTYPE type, ndim ==2 and the contiguousity.