RTrees.load constructor

RTrees.load(
  1. String filepath
)

Loads a model saved with save from filepath. Throws CvException when the file does not hold a valid model.

Implementation

factory RTrees.load(String filepath) => using(
  (arena) => RTrees._make((p) => cml.cv_ml_RTrees_load(filepath.toNativeUtf8(allocator: arena).cast(), p)),
);