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