1  Rtemis in 60 seconds

using Rtemis, DataFrames

The WebIO Jupyter extension was not detected. See the WebIO Jupyter integration documentation for more information.

1.1 Supervised Learning

x = rnormmat(100, 10);
y = x[:, 3] .+ x[:, 5].^2 .+ randn(100);
dat = hcat(x, DataFrame(y = y));
res = resample(dat);
dat_train = incl(dat, res[1]);
dat_test = excl(dat, res[1]);