plotObj | R Documentation |
Plot the values of objective function across iterations in the optimization procedure. This function indicates the "inner status" of the solver during the optimization, and could be used for diagnosis of the solver and training procedure.
plotObj(m)
m |
A trained MTL model |
#create the example date data<-Create_simulated_data(Regularization="L21", type="Regression") #Train a MTL model model<-MTL(data$X, data$Y, type="Regression", Regularization="L21", Lam1=0.1, Lam2=0, opts=list(init=0, tol=10^-6, maxIter=1500)) #plot the objective values plotObj(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.