33 r<<
"options(device='pdf')";
36 TRObject xdata =
c(-2,-1.64,-1.33,-0.7,0,0.45,1.2,1.64,2.32,2.9);
37 TRObject ydata =
c(0.699369,0.700462,0.695354,1.03905,1.97389,2.41143,1.91091,0.919576,-0.730975,-1.42001);
49 if (!
gROOT->IsBatch()) {
50 devnew(
"Fitting Regression");
55 devoff(
Label[
"which"] = devcur() );
Double_t(* Function)(Double_t)
This is a class to create DataFrames from ROOT to R.
This is a class to pass functions from ROOT to R.
static TRInterface & Instance()
static method to get an TRInterface instance reference
void SetVerbose(Bool_t status)
Method to set verbose mode, that produce extra output.
This is a class to get ROOT's objects from R's objects.
def fit(model, train_loader, val_loader, num_epochs, batch_size, optimizer, criterion, save_best, scheduler)
def predict(model, test_X, batch_size=100)
namespace associated R package for ROOT.
const Rcpp::internal::NamedPlaceHolder & Label