DataPredict

API Reference - Others - RandomNetworkDistillation

RandomNetworkDistillation is a neural network for producing internal rewards to encourage exploration. Requires neural network as your model.

Constructors

new()

Create new model object. If any of the arguments are nil, default argument values for that argument will be used.

RandomNetworkDistillation.new(): RandomNetworkDistillationObject

Functions

generate()

RandomNetworkDistillation:generate(featureMatrix: matrix): matrix

Parameters:

Returns:

setModel()

RandomNetworkDistillation:setModel(Model: ModelObject)

Parameters

getModel()

RandomNetworkDistillation:setModel(): ModelObject

Returns

getTargetModelParameters()

Gets the target model parameters from the network.

RandomNetworkDistillation:getTargetModelParameters(doNotDeepCopy: boolean): ModelParameters

Parameters

Returns

getPredictorModelParameters()

Gets the predictor model parameters from the network.

RandomNetworkDistillation:getPredictorModelParameters(doNotDeepCopy: boolean): ModelParameters

Parameters

Returns

setTargetModelParameters()

Set the target model parameters to the network

RandomNetworkDistillation:setTargetModelParameters(TargetModelParameters: ModelParameters, doNotDeepCopy: boolean)

Parameters

setPredictorModelParameters()

Set the predictor model parameters to the network

RandomNetworkDistillation:setPredictorModelParameters(PredictorModelParameters: ModelParameters, doNotDeepCopy: boolean)

Parameters

References