Loading...

vastorbit.machine_learning.vast.ensemble.IsolationForest.to_binary

IsolationForest.to_binary(path: str)

Exports the model to the VAST Binary format.

Parameters:

path (str) –

Absolute path of an output directory to store the exported models.

Warning

This function operates solely on the server side and is not accessible locally. The path provided should match the location where the file(s) will be exported on the server.

Returns:

True if the model was successfully exported.

Return type:

bool

Examples

Let’s consider we’ve fitted a VAST model model.

You can export it easily to the VAST binary format by using:

model.to_binary(path = 'server_location')

Warning

This function operates solely on the server side and is not accessible locally.