4 instantiations of SvmLightLoader
Microsoft.ML.Transforms (4)
SvmLight\SvmLightLoader.cs (2)
618return h.Apply("Loading Model", ch => new SvmLightLoader(h, ctx)); 770var svmLoader = new SvmLightLoader(env, options, files);
SvmLight\SvmLightLoaderSaverCatalog.cs (2)
35=> new SvmLightLoader(CatalogUtils.GetEnvironment(catalog), new SvmLightLoader.Options() 52=> new SvmLightLoader(CatalogUtils.GetEnvironment(catalog), new SvmLightLoader.Options()
30 references to SvmLightLoader
Microsoft.ML.Samples (1)
Dynamic\DataOperations\LoadingSvmLight.cs (1)
46var loader = mlContext.Data.CreateSvmLightLoader(dataSample: file);
Microsoft.ML.Tests (2)
SvmLightTests.cs (2)
155var model = ML.Data.CreateSvmLightLoaderWithFeatureNames(dataSample: new MultiFileSource(path)); 419var loader = ML.Data.CreateSvmLightLoader(inputSize: 4);
Microsoft.ML.Transforms (27)
SvmLight\SvmLightLoader.cs (15)
18[assembly: LoadableClass(SvmLightLoader.Summary, typeof(ILegacyDataLoader), typeof(SvmLightLoader), typeof(SvmLightLoader.Options), typeof(SignatureDataLoader), 19SvmLightLoader.UserName, SvmLightLoader.LoaderSignature, "SvmLight", "svm")] 21[assembly: LoadableClass(SvmLightLoader.Summary, typeof(ILegacyDataLoader), typeof(SvmLightLoader), null, typeof(SignatureLoadDataLoader), 22SvmLightLoader.UserName, SvmLightLoader.LoaderSignature)] 549loaderAssemblyName: typeof(SvmLightLoader).Assembly.FullName); 610internal static SvmLightLoader Create(IHostEnvironment env, ModelLoadContext ctx) 765var svmLoader = Create(env, ctx); 770var svmLoader = new SvmLightLoader(env, options, files); 781private readonly SvmLightLoader _loader; 783public LegacyLoader(SvmLightLoader loader, IDataView view)
SvmLight\SvmLightLoaderSaverCatalog.cs (12)
14/// Creates a loader that loads SVM-light format files. <see cref="SvmLightLoader"/>. 30public static SvmLightLoader CreateSvmLightLoader(this DataOperationsCatalog catalog, 35=> new SvmLightLoader(CatalogUtils.GetEnvironment(catalog), new SvmLightLoader.Options() 40SvmLightLoader.FeatureIndices.ZeroBased : SvmLightLoader.FeatureIndices.OneBased 49public static SvmLightLoader CreateSvmLightLoaderWithFeatureNames(this DataOperationsCatalog catalog, 52=> new SvmLightLoader(CatalogUtils.GetEnvironment(catalog), new SvmLightLoader.Options() 53{ NumberOfRows = numberOfRows, FeatureIndices = SvmLightLoader.FeatureIndices.Names }, dataSample); 56/// Load a <see cref="IDataView"/> from a text file using <see cref="SvmLightLoader"/>. 78var loader = catalog.CreateSvmLightLoader(numberOfRows, inputSize, zeroBased, file); 84/// using <see cref="SvmLightLoader"/>. 100var loader = catalog.CreateSvmLightLoaderWithFeatureNames(numberOfRows, file);