View source: R/02_LearnGraphPredictionModel.R
InitializeGraphLearningModel | R Documentation |
Find edges that share nodes and add them to a data frame.
InitializeGraphLearningModel(
modelInputs,
iterations = 1000,
convergenceCutoff = 0.001,
learningRate = 0.2,
optimizationType = "SGD",
initialMetaFeatureWeights = 0
)
modelInputs |
An object of the ModelInput class. |
iterations |
Maximum number of iterations. Default is 1,000. |
convergenceCutoff |
Cutoff for convergence. Default is 0.001. |
learningRate |
Learning rate to use during training. Default is 0.2 |
optimizationType |
Type of optimization. May be "SGD", "momentum", "adagrad", or "adam". Default is "SGD". |
initialMetaFeatureWeights |
Initial weights for model meta-features. Default is 0, which results in each meta-feature being given equal weight. |
An object of the ModelResults class. This object will later be filled in with the weights and errors from each iteration as well as the initial settings and data and the final result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.