TestMetaLayer | R Documentation |
This class implement a predicted meta layer. A TestMetaLayer can only exist as unique element of a Training object.
A predicted meta layer can only contain a TestData object.
fuseMLR::HashTable
-> TestMetaLayer
new()
constructor
TestMetaLayer$new(id, testing)
id
character
Testing meta-layer id.
testing
Testing
print()
Printer
TestMetaLayer$print(...)
...
any
getTesting()
Getter of the current testing object.
TestMetaLayer$getTesting()
The current testing object is returned.
getTestData()
Getter of the training dataset stored on the current layer.
TestMetaLayer$getTestData()
The stored TestData object is returned.
openAccess()
Open access to the meta layer. A meta learner is only modifiable if the access is opened.
TestMetaLayer$openAccess()
closeAccess()
Close access to the meta layer to avoid accidental modification.
TestMetaLayer$closeAccess()
getAccess()
Getter of the current access to the meta layer.
TestMetaLayer$getAccess()
setTestData()
Create and set an TestData object to the current new meta learner.
TestMetaLayer$setTestData(id, ind_col, data_frame)
id
character(1)
ID of the TestData object to be instanciated.
ind_col
character(1)
Name of individual column IDs.
data_frame
data.frame(1)
data.frame
of layer specific predictions.
checkTestDataExist()
Check whether a new data has been already stored.
TestMetaLayer$checkTestDataExist()
Boolean value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.