DatasetUtils Class

Definition

public static class DatasetUtils
type DatasetUtils = class
Public Class DatasetUtils
Inheritance
DatasetUtils

Methods

DownloadTensorFlowSentimentModel()

Downloads sentiment_model from the dotnet/machinelearning-testdata repo.

GenerateBinaryLabelFloatFeatureVectorFloatWeightSamples(Int32)
GenerateFloatLabelFloatFeatureVectorSamples(Int32, Double)
GenerateFloatLabelFloatFeatureVectorUlongGroupIdSamples(Int32, Double, UInt64, UInt64)
GenerateRandomMulticlassClassificationExamples(Int32)

Helper function used to generate random DatasetUtils.MulticlassClassificationExample objects.

GetAdultDataset()

Returns the path to the adult dataset from the ML.NET repo.

GetBreastCancerDataset()

Returns the path to the breast cancer dataset from the ML.NET repo.

GetFilePathFromDataDirectory(String)
GetHousingRegressionDataset()

Returns the path to the housing dataset from the ML.NET repo.

GetSampleImages()

Returns the path to 4 sample images, and a tsv file with their names from the dotnet/machinelearning repo.

LoadFeaturizedAdultDataset(MLContext)

Returns the path to the Adult UCI dataset and featurizes it to be suitable for classification tasks.

LoadHousingRegressionDataset(MLContext)
LoadRawAdultDataset(MLContext)

Returns the path to the Adult UCI dataset and featurizes it to be suitable for classification tasks.

Applies to