Class ScikitLearnPackageFactory


  • public class ScikitLearnPackageFactory
    extends Object
    ScikitLearnPackageFactory is a factory that takes in the physical file (or stream) of a binary package and parse it into a ready to use object. It also supports handling different versions of the binary files.
    • Constructor Detail

      • ScikitLearnPackageFactory

        public ScikitLearnPackageFactory()
    • Method Detail

      • loadFromFile

        public static IScikitLearnPackage loadFromFile​(String path)
        Load a binary package file into a ready to use object. It reads the version of the file and load the appropriate loader to deserialize the file.
        Parameters:
        path - Path of the file to be loaded.
        Returns:
        An IScikitLearnPackage object that represent the models stored in the binary package file.