DataPredict

API Reference - Others - ModelDatasetCreator

Modifies existing dataset so that it can be used by the models.

Constructors

new()

Creates a ModelDatasetCreator object.

ModelDatasetCreator.new(): ModelDatasetCreatorObject

Functions

setDatasetSplitPercentages()

Set the split percentages for training, validation and testing. The current default values are 0.7 for training and 0.3 for testing.

ModelDatasetCreator:setDatasetSplitPercentages(trainDataPercentage: number, validationDataPercentage: number, testDataPercentage: number)

Parameters:

setDatasetRandomizationProbability()

ModelDatasetCreator:setDatasetRandomizationProbability(datasetRandomizationProbability: number)

Parameters:

randomizeDataset()

Randomizes the each data positions in te dataset

ModelDatasetCreator:randomizeDataset(featureMatrix: matrix, labelVectorOrMatrix: matrix): matrix, matrix

Parameters:

Returns:

splitDataset()

Predict the values for given data.

ModelDatasetCreator:splitDataset(datasetMatrix): matrix, matrix, matrix

Parameters:

Returns: