train {GEARS} R Documentation

Train the GEARS model with the given training sample set

Description

Usage

train(gears);

Arguments

gears

a GEARS model object that is created by the GEARS::new api, and the training sample set has been set via the training_set. [as GEARS]

Details

the training epoch numbers and the learning rate of the model training is determined by the GEARS_opts configuration object that is given at the model creation time, and the loss value of each training epoch is stored in the LossCurve property of the trained model object.

an error will be thrown if the training sample set is empty, i.e. there is no gene of the prior network could be mapped into the gene expression matrix.

Authors

biosystem

Value

the input GEARS model object that has been trained, which can be used for run the in silico gene perturbation experiment via the knockouts, overexpress and knockdown api of the bnlearn package module.

clr value class

Examples


[Package GEARS version 1.0.0.0 Index]