Description Super classes Methods
Objective interface where user can pass an R function that works on an 'data.table()'.
bbotk::Objective
-> bbotk::ObjectiveRFunDt
-> ObjectiveONNX
new()
Creates a new instance of this [R6][R6::R6Class] class.
ObjectiveONNX$new( model_path, data_order, trafo_dict, domain, full_codomain, codomain, task = NULL, id = "ONNX", active_session = TRUE, retrafo = FALSE, properties = character(), constants = NULL, check_values = FALSE )
model_path
('character')
Path to the onnx Model.
data_order
('character')
Order of columns in data.
trafo_dict
('list')
Dictionary containing feature transformations before beeing fed to the NN.
full_codomain
([paradox::ParamSet])
Full codomain.
task
('character(1)')
Name of a task to be fixed.
id
('character(1)').
active_session
('logical(1)')
Whether an active session should be used.
retrafo
('logical(1)')
Should params be trafoed back to their original range before return?
properties
('character()').
clone()
The objects of this class are cloneable with this method.
ObjectiveONNX$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.