Documentation

MLTraining
in package

Table of Contents

Constants

HYPERPARAMETER_EXTENSION  = 'yaml'

Properties

$runId  : mixed

Methods

__construct()  : mixed
determineTrainings()  : iterable<string|int, mixed>
init()  : mixed
needsTraining()  : bool
train()  : int

Constants

HYPERPARAMETER_EXTENSION

public mixed HYPERPARAMETER_EXTENSION = 'yaml'

Properties

Methods

__construct()

public __construct(MLContext $ml, string $runId, string $hyperFile, string $modelDirectory) : mixed
Parameters
$ml : MLContext
$runId : string
$hyperFile : string
$modelDirectory : string

determineTrainings()

public static determineTrainings(UnityProject $project, string $serverPath, string $todoPath, string $modelPath) : iterable<string|int, mixed>
Parameters
$project : UnityProject
$serverPath : string
$todoPath : string
$modelPath : string
Return values
iterable<string|int, mixed>

needsTraining()

public needsTraining() : bool
Return values
bool

train()

public train(string $workDirectory, string $executableFile) : int
Parameters
$workDirectory : string
$executableFile : string
Return values
int

        
On this page

Search results