Class ScikitLearnContentLoaderFactory
- java.lang.Object
-
- ai.sklearn4j.core.packaging.loaders.ScikitLearnContentLoaderFactory
-
public class ScikitLearnContentLoaderFactory extends Object
A factory class that instantiate a loader of type IScikitLearnContentLoader for a given serializer name.
-
-
Constructor Summary
Constructors Constructor Description ScikitLearnContentLoaderFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IScikitLearnContentLoaderloaderForType(String type)Returns a loader based on its name for deserialization of contents.
-
-
-
Method Detail
-
loaderForType
public static IScikitLearnContentLoader loaderForType(String type)
Returns a loader based on its name for deserialization of contents.- Parameters:
type- Name/ID of the loader.- Returns:
- An IScikitLearnContentLoader associated with the requested loader name.
-
-