IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
traintest.m File Reference

Detailed Description

Runs a single train-test and returns the logged logs.

Definition in file traintest.m.

Go to the source code of this file.

Functions

function traintest (in logs, in blk, in ds_train, in ds_test, in postpr_test, in postpr_est)
 

Function Documentation

function traintest ( in  logs,
in  blk,
in  ds_train,
in  ds_test,
in  postpr_test,
in  postpr_est 
)
Parameters
logsLogs to record the outcome
blkBlock expected to output an estimato dataset
ds_trainTrain dataset
ds_testTest dataset
postpr_test(optional) Post-processor block for ds_test
postpr_est(optional) Post-processor block for the estimation dataset, which is the output of blk.use(ds_test)
Returns
[logs, blk] [Recorded logs, trained block]