functional_helpers.Rd
Functionals
functional_to_NonFunctional_task_function(task_functional) next_F(task) task_classif_to_Unsupervised(task_non_functional)
task | task |
---|
task
Convert functional task, to non-functional task
fd.features = list("UVVIS" = 3:136, "NIR" = 137:367) fdf = makeFunctionalData(df, fd.features = fd.features)#> Error in makeFunctionalData(df, fd.features = fd.features): Assertion on 'data' failed: Must be of type 'data.frame', not 'closure'.tsk_functional = makeRegrTask("fuelsubset", data = fdf, target = "heatan")#> Error in isTRUE(lhs): object 'fdf' not foundtsk_functional#> Error in eval(expr, envir, enclos): object 'tsk_functional' not foundtsk_non_functional<-functional_to_NonFunctional_task_function(tsk_functional)#> Error in checkClass(x, classes, ordered, null.ok): object 'tsk_functional' not found