Description Usage Arguments Value Class Attributes Class Methods Examples
This is a pipeline component doing nothing. It is mainly used like a virtual class, where functions are defined in children classes.
1 |
...
not in use
PipeComponent
class object
objects
an R object. Typically used to store a model object
not_parameters
character vector that specifies the names of fields not considered as parameters
fit(x=NULL, y=NULL)
do nothing
incr_fit(x=NULL, y=NULL)
do nothing
transpose(x=NULL, y=NULL)
return x
and y
as-is
inv_transform(x=NULL, y=NULL)
return x
and y
as-is
predict(x=NULL, ...)
return NULL
predict_proba(x=NULL, ...)
return NULL
set_parameters(...)
change parameter values, cannot create new fields
get_parameters(param_names=character(0)
return parameters as list. if param_names are the names is null or length 0, return all parameters
get_parameter_namess()
return the names of all parameters
1 2 3 4 5 | p <- pipe_component()
p$fit(x=c(1,5,8), y=c('a','b','a')) # nothing happens
p$transform(x=1:10, y=1:10) # return data as-is
p$get_parameters() # parameters as list
p$get_parameter_names() # parameter names
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.