diff --git a/authors.html b/authors.html index 39c64e8..4ace6a9 100644 --- a/authors.html +++ b/authors.html @@ -90,11 +90,11 @@

Citation

Source: DESCRIPTION

Fischer S, Muecke M (2024). -mlr3fda: Extending mlr3 to functional data analysis. +mlr3fda: Extending 'mlr3' to functional data analysis. R package version 0.1.0, https://github.com/mlr-org/mlr3fda, https://mlr3fda.mlr-org.com.

@Manual{,
-  title = {mlr3fda: Extending mlr3 to functional data analysis},
+  title = {mlr3fda: Extending 'mlr3' to functional data analysis},
   author = {Sebastian Fischer and Maximilian Muecke},
   year = {2024},
   note = {R package version 0.1.0, https://github.com/mlr-org/mlr3fda},
diff --git a/index.html b/index.html
index 397dcef..f5c9e95 100644
--- a/index.html
+++ b/index.html
@@ -108,11 +108,6 @@ 

Installationpak::pak("mlr-org/mlr3fda")

-

Status -

-

mlr3fda is still in an early stage of development. Nonetheless, all exported functions are tested and should work.

-
-

What is mlr3fda?

The goal of mlr3fda is to extend mlr3 to functional data. This is achieved by adding support for functional feature types and providing preprocessing PipeOps that operates on functional columns. For representing functional data, the tfd_reg and tfd_irreg datatypes from the tf package are used and are available after loading mlr3fda:

diff --git a/pkgdown.yml b/pkgdown.yml index 691f3de..579d972 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.0.7 pkgdown_sha: ~ articles: {} -last_built: 2024-03-28T12:44Z +last_built: 2024-03-28T12:50Z urls: reference: https://mlr3fda.mlr-org.com/reference article: https://mlr3fda.mlr-org.com/articles diff --git a/search.json b/search.json index 20423c0..93be5cc 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://mlr3fda.mlr-org.com/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Sebastian Fischer. Author, maintainer. Maximilian Muecke. Author.","code":""},{"path":"https://mlr3fda.mlr-org.com/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Fischer S, Muecke M (2024). mlr3fda: Extending mlr3 functional data analysis. R package version 0.1.0, https://github.com/mlr-org/mlr3fda, https://mlr3fda.mlr-org.com.","code":"@Manual{, title = {mlr3fda: Extending mlr3 to functional data analysis}, author = {Sebastian Fischer and Maximilian Muecke}, year = {2024}, note = {R package version 0.1.0, https://github.com/mlr-org/mlr3fda}, url = {https://mlr3fda.mlr-org.com}, }"},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"mlr3fda","dir":"","previous_headings":"","what":"Extending mlr3 to functional data analysis","title":"Extending mlr3 to functional data analysis","text":"Package Website: dev Extending mlr3 functional data.","code":""},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Extending mlr3 to functional data analysis","text":"package yet CRAN can install development version mlr3fda GitHub :","code":"# install.packages(\"pak\") pak::pak(\"mlr-org/mlr3fda\")"},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"status","dir":"","previous_headings":"","what":"Status","title":"Extending mlr3 to functional data analysis","text":"mlr3fda still early stage development. Nonetheless, exported functions tested work.","code":""},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"what-is-mlr3fda","dir":"","previous_headings":"","what":"What is mlr3fda?","title":"Extending mlr3 to functional data analysis","text":"goal mlr3fda extend mlr3 functional data. achieved adding support functional feature types providing preprocessing PipeOps operates functional columns. representing functional data, tfd_reg tfd_irreg datatypes tf package used available loading mlr3fda: datatypes can used represent regular irregular functional data respectively. Currently, Learners directly operate functional data available, necessary first extract scalar features functional columns.","code":"library(mlr3fda) mlr_reflections$task_feature_types[c(\"tfr\", \"tfi\")] #> tfr tfi #> \"tfd_reg\" \"tfd_irreg\""},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"quickstart","dir":"","previous_headings":"","what":"Quickstart","title":"Extending mlr3 to functional data analysis","text":"start predefined dti (Diffusion Tensor Imaging) task, see tsk(\"dti\")$help() details. Besides scalar columns, task also contains two functional columns cca rcst. train model task first need extract scalar features functions. illustrate extracting mean value. can combined Lerner GraphLearner first extracts features trains model.","code":"task = tsk(\"dti\") task #> (340 x 4): Diffusion Tensor Imaging (DTI) #> * Target: pasat #> * Properties: groups #> * Features (3): #> - tfi (2): cca, rcst #> - fct (1): sex #> * Groups: subject_id library(mlr3pipelines) po_fmean = po(\"fda.extract\", features = \"mean\") task_fmean = po_fmean$train(list(task))[[1L]] task_fmean$head() #> pasat sex cca_mean rcst_mean #> 1: 31 female 0.4493332 0.4968519 #> 2: 31 female 0.4441292 0.4810724 #> 3: 29 female 0.4257795 0.5102722 #> 4: 34 female 0.4418538 0.5453188 #> 5: 37 female 0.4700994 0.5471177 #> 6: 40 female 0.4873356 0.4969408 # split data into train and test set ids = partition(task, stratify = FALSE) # define a Graph and convert it to a GraphLearner graph = po(\"fda.extract\", features = \"mean\", drop = TRUE) %>>% po(\"learner\", learner = lrn(\"regr.rpart\")) glrn = as_learner(graph) # train the graph learner on the train set glrn$train(task, row_ids = ids$train) # make predictions on the test set glrn$predict(task, row_ids = ids$test) #> for 111 observations: #> row_ids truth response #> 11 48 49.99174 #> 12 40 49.99174 #> 13 43 52.42105 #> --- #> 324 57 52.42105 #> 325 57 41.30769 #> 326 60 49.99174"},{"path":[]},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"bugs-questions-feedback","dir":"","previous_headings":"","what":"Bugs, Questions, Feedback","title":"Extending mlr3 to functional data analysis","text":"mlr3fda free open source software project encourages participation feedback. issues, questions, suggestions feedback, please hesitate open “issue” GitHub page! case problems / bugs, often helpful provide “minimum working example” showcases behaviour (don’t worry bug obvious). Please understand resources project limited: response may sometimes delayed days, feature suggestions may rejected deemed tangential vision behind project.","code":""},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"acknowledgements","dir":"","previous_headings":"","what":"Acknowledgements","title":"Extending mlr3 to functional data analysis","text":"development R-package supported Roche Diagonstics R&D.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/dti.html","id":null,"dir":"Reference","previous_headings":"","what":"The dti dataset — dti","title":"The dti dataset — dti","text":"See mlr_tasks_dti description dataset.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/dti.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The dti dataset — dti","text":"","code":"data(dti)"},{"path":"https://mlr3fda.mlr-org.com/reference/dti.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"The dti dataset — dti","text":"data frame 340 rows 5 variables","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/fuel.html","id":null,"dir":"Reference","previous_headings":"","what":"The fuel dataset — fuel","title":"The fuel dataset — fuel","text":"See mlr_tasks_fuel description dataset.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/fuel.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The fuel dataset — fuel","text":"","code":"data(fuel)"},{"path":"https://mlr3fda.mlr-org.com/reference/fuel.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"The fuel dataset — fuel","text":"data frame 129 rows 4 variables","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr3fda-package.html","id":null,"dir":"Reference","previous_headings":"","what":"mlr3fda: Extending mlr3 to functional data analysis — mlr3fda-package","title":"mlr3fda: Extending mlr3 to functional data analysis — mlr3fda-package","text":"Provides extensions functional data analysis mlr3.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr3fda-package.html","id":"data-types","dir":"Reference","previous_headings":"","what":"Data types","title":"mlr3fda: Extending mlr3 to functional data analysis — mlr3fda-package","text":"extend mlr3 functional data, two data types tf package added: tfd_irreg - Irregular functional data, .e. functions observed potentiall different inputs observation. tfd_reg - Regular functional data, .e. functions observed input individual. Lang M, Binder M, Richter J, Schratz P, Pfisterer F, Coors S, Au Q, Casalicchio G, Kotthoff L, Bischl B (2019). “mlr3: modern object-oriented machine learning framework R.” Journal Open Source Software. doi:10.21105/joss.01903 , https://joss.theoj.org/papers/10.21105/joss.01903.","code":""},{"path":[]},{"path":"https://mlr3fda.mlr-org.com/reference/mlr3fda-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"mlr3fda: Extending mlr3 to functional data analysis — mlr3fda-package","text":"Maintainer: Sebastian Fischer sebf.fischer@gmail.com (ORCID) Authors: Maximilian Muecke muecke.maximilian@gmail.com (ORCID)","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":null,"dir":"Reference","previous_headings":"","what":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"class extracts simple features functional columns. Note operates values actually observed interpolate.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"parameters parameters inherited PipeOpTaskPreprocSimple, well following parameters: drop :: logical(1) Whether drop original functional features keep extracted features. Note remove features backend, active column role feature. Initial value TRUE. features :: list() | character() list features extract. element can either function string. element function requires following arguments: arg value returns numeric. string elements, following predefined features available: \"mean\", \"max\",\"min\",\"slope\",\"median\",\"var\". Initial c(\"mean\", \"max\", \"min\", \"slope\", \"median\", \"var\") left :: numeric() left boundary window. Initial -Inf. window specified values >=left <=right kept computations. right :: numeric() right boundary window. Initial Inf.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"naming","dir":"Reference","previous_headings":"","what":"Naming","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"new names generally append _{feature} corresponding column name. However can lead name clashes existing columns. solved follows: column called \"x\" feature \"mean\", corresponding new column called \"x_mean\". case duplicates, unique names obtained using make.unique() warning given.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> mlr3pipelines::PipeOpTaskPreprocSimple -> PipeOpFDAExtract","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"PipeOpFDAExtract$new() PipeOpFDAExtract$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"","code":"PipeOpFDAExtract$new(id = \"fda.extract\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"id (character(1)) Identifier resulting object, default \"fda.extract\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"","code":"PipeOpFDAExtract$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") po_fmean = po(\"fda.extract\", features = \"mean\") task_fmean = po_fmean$train(list(task))[[1L]] # add more than one feature pop = po(\"fda.extract\", features = c(\"mean\", \"median\", \"var\")) task_features = pop$train(list(task))[[1L]] # add a custom feature po_custom = po(\"fda.extract\", features = list(mean = function(arg, value) mean(value, na.rm = TRUE)) ) task_custom = po_custom$train(list(task))[[1L]]"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":null,"dir":"Reference","previous_headings":"","what":"Flattens Functional Columns — mlr_pipeops_fda.flatten","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"Convert regular functional features (e.g. individuals observed time-points) new columns, one input value function.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"parameters parameters inherited PipeOpTaskPreprocSimple.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"naming","dir":"Reference","previous_headings":"","what":"Naming","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"new names generally append _1, ..., corresponding column name. However can lead name clashes existing columns. solved follows: column called \"x\" feature \"mean\", corresponding new column called \"x_mean\". case duplicates, unique names obtained using make.unique() warning given.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> mlr3pipelines::PipeOpTaskPreprocSimple -> PipeOpFDAFlatten","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"PipeOpFDAFlatten$new() PipeOpFDAFlatten$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"","code":"PipeOpFDAFlatten$new(id = \"fda.flatten\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"id (character(1)) Identifier resulting object, default \"fda.flatten\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"","code":"PipeOpFDAFlatten$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") pop = po(\"fda.flatten\") task_flat = pop$train(list(task))"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":null,"dir":"Reference","previous_headings":"","what":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"PipeOp applies functional principal component analysis (FPCA) functional columns extracts principal components features. done using (truncated) weighted SVD. apply PipeOp irregualr data, convert regular grid first using PipeOpFDAInterpol. details, see tfb_fpc(), called internally.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"parameters parameters inherited PipeOpTaskPreproc, well following parameters: pve :: numeric(1) percentage variance explained retained. Default 0.995. n_components :: integer(1) number principal components extract. parameter initialized Inf.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"naming","dir":"Reference","previous_headings":"","what":"Naming","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"new names generally append _pc_{number} corresponding column name. column called \"x\" three principcal components, corresponding new columns called \"x_pc_1\", \"x_pc_2\", \"x_pc_3\".","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> PipeOpFPCA","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"PipeOpFPCA$new() PipeOpFPCA$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"","code":"PipeOpFPCA$new(id = \"fda.fpca\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"id (character(1)) Identifier resulting object, default \"fda.fpca\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"","code":"PipeOpFPCA$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") po_fpca = po(\"fda.fpca\") task_fpca = po_fpca$train(list(task))[[1L]] task_fpca$data() #> heatan h20 NIR_pc_1 NIR_pc_2 NIR_pc_3 NIR_pc_4 NIR_pc_5 #> #> 1: 26.7810 2.3000 7.5675043 1.1371827 -0.377501250 0.16853612 -0.029030508 #> 2: 27.4720 3.0000 6.2793462 1.9345782 0.160548831 -0.35065670 0.015482789 #> 3: 23.8400 2.0002 0.2348390 -0.1721228 -0.024101132 0.15997968 0.045308286 #> 4: 18.1680 1.8500 0.2913332 0.2052379 0.040952119 0.15965107 0.029898778 #> 5: 17.5170 2.3898 1.1406877 1.2563331 0.001074654 0.12809933 -0.039431996 #> --- #> 125: 23.8340 2.1100 1.6980728 0.9841985 0.041623661 -0.14288286 -0.082504388 #> 126: 11.8050 1.6200 -4.0420811 2.2340299 -0.029562942 -0.01048952 -0.047637002 #> 127: 8.8315 1.4200 -5.5013835 2.8333813 -0.034304440 0.03984252 0.051731948 #> 128: 11.3450 1.4800 2.1809306 1.4395300 -0.397523197 0.29440867 0.012819451 #> 129: 28.9940 2.5000 1.9734804 -0.1998806 0.034337704 0.11483695 -0.001412936 #> NIR_pc_6 NIR_pc_7 NIR_pc_8 NIR_pc_9 NIR_pc_10 #> #> 1: 0.11964884 -0.02371204 0.064853723 -0.032466571 0.0003220124 #> 2: -0.10869019 -0.02977520 0.098168169 -0.017825951 0.0002441083 #> 3: -0.07400536 0.12616902 -0.089869215 -0.069829308 0.0820087547 #> 4: 0.02411904 -0.02024500 -0.067108627 0.024661853 -0.0995778040 #> 5: 0.07650499 0.05157198 0.004549452 0.037533960 -0.0996693572 #> --- #> 125: 0.14521618 0.02316881 -0.068481835 -0.018916698 0.0893100582 #> 126: 0.07409570 0.10385424 -0.016055000 -0.005120218 0.0974953020 #> 127: 0.01926094 0.02669150 -0.012923322 0.032825366 0.0658967096 #> 128: -0.15315480 0.02920207 -0.016328011 0.086875000 -0.0713724345 #> 129: 0.03250070 -0.02034279 0.023101264 -0.030534975 -0.0929131209 #> NIR_pc_11 NIR_pc_12 UVVIS_pc_1 UVVIS_pc_2 UVVIS_pc_3 UVVIS_pc_4 #> #> 1: -0.02201115 0.067196098 11.000976 -2.7804661 0.13667224 -0.191798904 #> 2: -0.07106458 0.002637298 -9.298016 -1.7955553 -0.46762503 0.181338904 #> 3: -0.08321127 0.053887189 -3.078812 -0.6114645 -0.27479445 0.173445457 #> 4: -0.06731441 0.036818955 -5.349049 -0.7030112 0.08631440 -0.005833515 #> 5: -0.05202564 0.044425613 -8.497281 -1.2413718 -0.19140105 0.043939413 #> --- #> 125: 0.06250799 0.003601906 -6.427319 -0.2898928 -0.02865269 -0.251835720 #> 126: -0.01341996 0.022872932 -10.843930 -0.0918478 0.56113685 -0.129099208 #> 127: 0.03135576 0.014526887 -12.227632 -0.1838102 1.11134683 -0.125342067 #> 128: -0.10198223 0.006579266 5.871679 -1.0021267 1.01323166 -0.342677979 #> 129: 0.01924963 0.084696172 -6.893096 -1.4463943 -0.81054907 0.170609346 #> UVVIS_pc_5 UVVIS_pc_6 UVVIS_pc_7 UVVIS_pc_8 UVVIS_pc_9 #> #> 1: 0.01339415 -0.17060354 0.14502609 -0.009286216 0.245063270 #> 2: 0.22329434 0.16250028 0.44619782 -0.030912508 -0.040441107 #> 3: 0.12794752 0.29887335 -0.10762972 0.062493259 -0.022634739 #> 4: -0.04760492 0.11931794 0.08033969 0.341026700 0.170446895 #> 5: 0.08665124 0.23765305 0.26968894 -0.025014888 -0.067171672 #> --- #> 125: 0.03453854 -0.08879360 0.03374328 -0.210941614 0.046612103 #> 126: -0.45285286 0.02325341 -0.06353742 -0.073746601 -0.009240108 #> 127: -0.29801185 0.07783722 -0.15248477 -0.125219521 -0.075445528 #> 128: 0.04155443 -0.21600686 0.11709777 0.013021580 0.065624346 #> 129: 0.15158288 0.36430875 0.56271873 -0.309737731 -0.033035367"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":null,"dir":"Reference","previous_headings":"","what":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"Interpolate functional features (e.g. individuals observed different time-points) common grid. useful want compare functional features across observations. interpolation done using tf package. See tfd() details.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"parameters parameters inherited PipeOpTaskPreprocSimple, well following parameters: grid :: character(1) | numeric() grid use interpolation. grid numeric, must sequence values use grid single value specifies number points use grid, requires left right specified latter case. grid character, must one : \"union\": option creates grid based union argument points provided functional features. means argument points across features \\(t_1, t_2, ..., t_n\\), grid combined unique set points. option generally used argument points vary across observations common grid needed comparison analysis. \"intersect\": Creates grid using intersection argument points feature. grid includes points common across functional features, facilitating direct comparison shared set points. \"minmax\": Generates grid within range maximum minimum argument points minimum maximum argument points across features. bounded grid encapsulates argument point range common features. Note: regular functional data effect argument points . Initial value \"union\". method :: character(1) Defaults \"linear\". One : \"linear\": applies linear interpolation without extrapolation (see tf::tf_approx_linear()). \"spline\": applies cubic spline interpolation (see tf::tf_approx_spline()). \"fill_extend\": applies linear interpolation constant extrapolation (see tf::tf_approx_fill_extend()). \"locf\": applies \"last observation carried forward\" interpolation (see tf::tf_approx_locf()). \"nocb\": applies \"next observation carried backward\" interpolation (see tf::tf_approx_nocb()). left :: numeric() left boundary window. window specified values >=left <=right kept computations. right :: numeric() right boundary window.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> mlr3pipelines::PipeOpTaskPreprocSimple -> PipeOpFDAInterpol","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"PipeOpFDAInterpol$new() PipeOpFDAInterpol$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"","code":"PipeOpFDAInterpol$new(id = \"fda.interpol\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"id (character(1)) Identifier resulting object, default \"fda.interpol\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"","code":"PipeOpFDAInterpol$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") pop = po(\"fda.interpol\") task_interpol = pop$train(list(task))[[1L]] task_interpol$data() #> heatan h20 NIR #> #> 1: 26.7810 2.3000 [1]: (1, 0.2);(2, 0.3);(3, 0.3); ... #> 2: 27.4720 3.0000 [2]: (1, 0.2);(2, 0.3);(3, 0.2); ... #> 3: 23.8400 2.0002 [3]: (1, -0.05);(2, 0.05);(3, -0.08); ... #> 4: 18.1680 1.8500 [4]: (1, -0.08);(2, -0.08);(3, 0.06); ... #> 5: 17.5170 2.3898 [5]: (1, -0.23);(2, -0.12);(3, -0.04); ... #> --- #> 125: 23.8340 2.1100 [6]: (1, -0.04);(2, -0.02);(3, -0.06); ... #> 126: 11.8050 1.6200 [7]: (1, -0.6);(2, -0.6);(3, -0.7); ... #> 127: 8.8315 1.4200 [8]: (1, -0.7);(2, -0.8);(3, -0.8); ... #> 128: 11.3450 1.4800 [9]: (1,-0.058);(2,-0.046);(3,-0.005); ... #> 129: 28.9940 2.5000 [10]: (1, 0.1);(2, 0.1);(3, 0.2); ... #> UVVIS #> #> 1: [1]: (1, 0.9);(2, 0.7);(3, 0.8); ... #> 2: [2]: (1, -0.9);(2, -1.3);(3, -0.8); ... #> 3: [3]: (1,-0.08);(2,-0.29);(3,-0.20); ... #> 4: [4]: (1, -0.6);(2, -0.5);(3, -0.3); ... #> 5: [5]: (1, -0.6);(2, -1.1);(3, -0.7); ... #> --- #> 125: [6]: (1, -0.5);(2, -0.7);(3, -0.6); ... #> 126: [7]: (1, -1.0);(2, -0.8);(3, -1.1); ... #> 127: [8]: (1, -0.9);(2, -0.6);(3, -1.0); ... #> 128: [9]: (1, 0.5);(2, 0.6);(3, 0.6); ... #> 129: [10]: (1, -0.5);(2, -1.3);(3, -0.8); ..."},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":null,"dir":"Reference","previous_headings":"","what":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"Smoothes functional data using tf::tf_smooth(). preprocessing operator similar PipeOpFDAInterpol, however interpolate unobserved x-values, rather smooths observed values.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"parameters parameters inherited PipeOpTaskPreprocSimple, well following parameters: method :: character(1) One : \"lowess\": locally weighted scatterplot smoothing (default) \"rollmean\": rolling mean \"rollmedian\": rolling meadian \"savgol\": Savitzky-Golay filtering methods \"lowess\" ignore non-equidistant arg values. args :: named list() List named arguments passed tf_smooth(). See help page tf_smooth() default values. verbose :: logical(1) Whether print messages transformation. initialized FALSE.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> mlr3pipelines::PipeOpTaskPreprocSimple -> PipeOpFDASmooth","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"PipeOpFDASmooth$new() PipeOpFDASmooth$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"","code":"PipeOpFDASmooth$new(id = \"fda.smooth\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"id (character(1)) Identifier resulting object, default \"fda.smooth\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"","code":"PipeOpFDASmooth$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") po_smooth = po(\"fda.smooth\", method = \"rollmean\", args = list(k = 5)) task_smooth = po_smooth$train(list(task))[[1L]] task_smooth #> (129 x 4): Spectral Data of Fossil Fuels #> * Target: heatan #> * Properties: - #> * Features (3): #> - tfr (2): NIR, UVVIS #> - dbl (1): h20 task_smooth$data(cols = c(\"NIR\", \"UVVIS\")) #> NIR #> #> 1: [1]: (1, 0.3);(2, 0.3);(3, 0.3); ... #> 2: [2]: (1, 0.3);(2, 0.3);(3, 0.3); ... #> 3: [3]: (1,-0.01);(2,-0.01);(3,-0.01); ... #> 4: [4]: (1,-0.03);(2,-0.03);(3,-0.03); ... #> 5: [5]: (1, -0.1);(2, -0.1);(3, -0.1); ... #> --- #> 125: [6]: (1,-0.04);(2,-0.04);(3,-0.04); ... #> 126: [7]: (1, -0.6);(2, -0.6);(3, -0.6); ... #> 127: [8]: (1, -0.8);(2, -0.8);(3, -0.8); ... #> 128: [9]: (1,-0.05);(2,-0.05);(3,-0.05); ... #> 129: [10]: (1, 0.1);(2, 0.1);(3, 0.1); ... #> UVVIS #> #> 1: [1]: (1, 0.7);(2, 0.7);(3, 0.7); ... #> 2: [2]: (1,-0.9);(2,-0.9);(3,-0.9); ... #> 3: [3]: (1,-0.2);(2,-0.2);(3,-0.2); ... #> 4: [4]: (1,-0.5);(2,-0.5);(3,-0.5); ... #> 5: [5]: (1,-0.8);(2,-0.8);(3,-0.8); ... #> --- #> 125: [6]: (1,-0.6);(2,-0.6);(3,-0.6); ... #> 126: [7]: (1,-0.9);(2,-0.9);(3,-0.9); ... #> 127: [8]: (1,-0.8);(2,-0.8);(3,-0.8); ... #> 128: [9]: (1, 0.6);(2, 0.6);(3, 0.6); ... #> 129: [10]: (1,-0.8);(2,-0.8);(3,-0.8); ..."},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_dti.html","id":null,"dir":"Reference","previous_headings":"","what":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","title":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","text":"dataset contains two functional covariates three scalar covariate. goal predict PASAT score. pasat represents PASAT score vist. subject_id represents subject ID. cca represents fractional anisotropy tract profiles corpus callosum. sex indicates subject's sex. rcst represents fractional anisotropy tract profiles right corticospinal tract. Rows containing NAs removed. subset full dataset, contained package refund.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_dti.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","text":"R6::R6Class inheriting TaskRegr.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_dti.html","id":"construction","dir":"Reference","previous_headings":"","what":"Construction","title":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","text":"","code":"mlr_tasks$get(\"dti\") tsk(\"dti\")"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_dti.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","text":"Goldsmith, Jeff, Bobb, Jennifer, Crainiceanu, M C, Caffo, Brian, Reich, Daniel (2011). “Penalized functional regression.” Journal Computational Graphical Statistics, 20(4), 830--851. Brain dataset courtesy Gordon Kindlmann Scientific Computing Imaging Institute, University Utah, Andrew Alexander, W. M. Keck Laboratory Functional Brain Imaging Behavior, University Wisconsin-Madison.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_fuel.html","id":null,"dir":"Reference","previous_headings":"","what":"Fuel Regression Task — mlr_tasks_fuel","title":"Fuel Regression Task — mlr_tasks_fuel","text":"dataset contains two functional covariates one scalar covariate. goal predict heat value fuel based ultraviolet radiation spectrum infrared ray radiation one scalar column called h2o. subset full dataset, contained package FDboost.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_fuel.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Fuel Regression Task — mlr_tasks_fuel","text":"R6::R6Class inheriting TaskRegr.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_fuel.html","id":"construction","dir":"Reference","previous_headings":"","what":"Construction","title":"Fuel Regression Task — mlr_tasks_fuel","text":"","code":"mlr_tasks$get(\"fuel\") tsk(\"fuel\")"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_fuel.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Fuel Regression Task — mlr_tasks_fuel","text":"Brockhaus, Sarah, Scheipl, Fabian, Hothorn, Torsten, Greven, Sonja (2015). “functional linear array model.” Statistical Modelling, 15(3), 279--300.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_phoneme.html","id":null,"dir":"Reference","previous_headings":"","what":"Phoneme Classification Task — mlr_tasks_phoneme","title":"Phoneme Classification Task — mlr_tasks_phoneme","text":"task contains single functional covariate 5 equally big classes (aa, ao, dcl, iy, sh). aim predict class phoneme functional, log-periodogram. subset full dataset, contained package fda.usc.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_phoneme.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Phoneme Classification Task — mlr_tasks_phoneme","text":"R6::R6Class inheriting TaskClassif.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_phoneme.html","id":"construction","dir":"Reference","previous_headings":"","what":"Construction","title":"Phoneme Classification Task — mlr_tasks_phoneme","text":"","code":"mlr_tasks$get(\"phoneme\") tsk(\"phoneme\")"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_phoneme.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Phoneme Classification Task — mlr_tasks_phoneme","text":"Ferraty, Frédric, Vieu, Philippe (2003). “Curves discrimination: nonparametric functional approach.” Computational Statistics & Data Analysis, 44(1-2), 161--173.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/phoneme.html","id":null,"dir":"Reference","previous_headings":"","what":"The phoneme dataset — phoneme","title":"The phoneme dataset — phoneme","text":"See mlr_tasks_phoneme description dataset.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/phoneme.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The phoneme dataset — phoneme","text":"","code":"data(phoneme)"},{"path":"https://mlr3fda.mlr-org.com/reference/phoneme.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"The phoneme dataset — phoneme","text":"data frame 250 rows 2 variables","code":""},{"path":"https://mlr3fda.mlr-org.com/news/index.html","id":"mlr3fda-011","dir":"Changelog","previous_headings":"","what":"mlr3fda 0.1.1","title":"mlr3fda 0.1.1","text":"Initial CRAN release.","code":""}] +[{"path":"https://mlr3fda.mlr-org.com/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Sebastian Fischer. Author, maintainer. Maximilian Muecke. Author.","code":""},{"path":"https://mlr3fda.mlr-org.com/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Fischer S, Muecke M (2024). mlr3fda: Extending 'mlr3' functional data analysis. R package version 0.1.0, https://github.com/mlr-org/mlr3fda, https://mlr3fda.mlr-org.com.","code":"@Manual{, title = {mlr3fda: Extending 'mlr3' to functional data analysis}, author = {Sebastian Fischer and Maximilian Muecke}, year = {2024}, note = {R package version 0.1.0, https://github.com/mlr-org/mlr3fda}, url = {https://mlr3fda.mlr-org.com}, }"},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"mlr3fda","dir":"","previous_headings":"","what":"Extending mlr3 to functional data analysis","title":"Extending mlr3 to functional data analysis","text":"Package Website: dev Extending mlr3 functional data.","code":""},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Extending mlr3 to functional data analysis","text":"package yet CRAN can install development version mlr3fda GitHub :","code":"# install.packages(\"pak\") pak::pak(\"mlr-org/mlr3fda\")"},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"what-is-mlr3fda","dir":"","previous_headings":"","what":"What is mlr3fda?","title":"Extending mlr3 to functional data analysis","text":"goal mlr3fda extend mlr3 functional data. achieved adding support functional feature types providing preprocessing PipeOps operates functional columns. representing functional data, tfd_reg tfd_irreg datatypes tf package used available loading mlr3fda: datatypes can used represent regular irregular functional data respectively. Currently, Learners directly operate functional data available, necessary first extract scalar features functional columns.","code":"library(mlr3fda) mlr_reflections$task_feature_types[c(\"tfr\", \"tfi\")] #> tfr tfi #> \"tfd_reg\" \"tfd_irreg\""},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"quickstart","dir":"","previous_headings":"","what":"Quickstart","title":"Extending mlr3 to functional data analysis","text":"start predefined dti (Diffusion Tensor Imaging) task, see tsk(\"dti\")$help() details. Besides scalar columns, task also contains two functional columns cca rcst. train model task first need extract scalar features functions. illustrate extracting mean value. can combined Lerner GraphLearner first extracts features trains model.","code":"task = tsk(\"dti\") task #> (340 x 4): Diffusion Tensor Imaging (DTI) #> * Target: pasat #> * Properties: groups #> * Features (3): #> - tfi (2): cca, rcst #> - fct (1): sex #> * Groups: subject_id library(mlr3pipelines) po_fmean = po(\"fda.extract\", features = \"mean\") task_fmean = po_fmean$train(list(task))[[1L]] task_fmean$head() #> pasat sex cca_mean rcst_mean #> 1: 31 female 0.4493332 0.4968519 #> 2: 31 female 0.4441292 0.4810724 #> 3: 29 female 0.4257795 0.5102722 #> 4: 34 female 0.4418538 0.5453188 #> 5: 37 female 0.4700994 0.5471177 #> 6: 40 female 0.4873356 0.4969408 # split data into train and test set ids = partition(task, stratify = FALSE) # define a Graph and convert it to a GraphLearner graph = po(\"fda.extract\", features = \"mean\", drop = TRUE) %>>% po(\"learner\", learner = lrn(\"regr.rpart\")) glrn = as_learner(graph) # train the graph learner on the train set glrn$train(task, row_ids = ids$train) # make predictions on the test set glrn$predict(task, row_ids = ids$test) #> for 111 observations: #> row_ids truth response #> 11 48 49.99174 #> 12 40 49.99174 #> 13 43 52.42105 #> --- #> 324 57 52.42105 #> 325 57 41.30769 #> 326 60 49.99174"},{"path":[]},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"bugs-questions-feedback","dir":"","previous_headings":"","what":"Bugs, Questions, Feedback","title":"Extending mlr3 to functional data analysis","text":"mlr3fda free open source software project encourages participation feedback. issues, questions, suggestions feedback, please hesitate open “issue” GitHub page! case problems / bugs, often helpful provide “minimum working example” showcases behaviour (don’t worry bug obvious). Please understand resources project limited: response may sometimes delayed days, feature suggestions may rejected deemed tangential vision behind project.","code":""},{"path":"https://mlr3fda.mlr-org.com/index.html","id":"acknowledgements","dir":"","previous_headings":"","what":"Acknowledgements","title":"Extending mlr3 to functional data analysis","text":"development R-package supported Roche Diagonstics R&D.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/dti.html","id":null,"dir":"Reference","previous_headings":"","what":"The dti dataset — dti","title":"The dti dataset — dti","text":"See mlr_tasks_dti description dataset.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/dti.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The dti dataset — dti","text":"","code":"data(dti)"},{"path":"https://mlr3fda.mlr-org.com/reference/dti.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"The dti dataset — dti","text":"data frame 340 rows 5 variables","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/fuel.html","id":null,"dir":"Reference","previous_headings":"","what":"The fuel dataset — fuel","title":"The fuel dataset — fuel","text":"See mlr_tasks_fuel description dataset.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/fuel.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The fuel dataset — fuel","text":"","code":"data(fuel)"},{"path":"https://mlr3fda.mlr-org.com/reference/fuel.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"The fuel dataset — fuel","text":"data frame 129 rows 4 variables","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr3fda-package.html","id":null,"dir":"Reference","previous_headings":"","what":"mlr3fda: Extending mlr3 to functional data analysis — mlr3fda-package","title":"mlr3fda: Extending mlr3 to functional data analysis — mlr3fda-package","text":"Provides extensions functional data analysis mlr3.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr3fda-package.html","id":"data-types","dir":"Reference","previous_headings":"","what":"Data types","title":"mlr3fda: Extending mlr3 to functional data analysis — mlr3fda-package","text":"extend mlr3 functional data, two data types tf package added: tfd_irreg - Irregular functional data, .e. functions observed potentiall different inputs observation. tfd_reg - Regular functional data, .e. functions observed input individual. Lang M, Binder M, Richter J, Schratz P, Pfisterer F, Coors S, Au Q, Casalicchio G, Kotthoff L, Bischl B (2019). “mlr3: modern object-oriented machine learning framework R.” Journal Open Source Software. doi:10.21105/joss.01903 , https://joss.theoj.org/papers/10.21105/joss.01903.","code":""},{"path":[]},{"path":"https://mlr3fda.mlr-org.com/reference/mlr3fda-package.html","id":"author","dir":"Reference","previous_headings":"","what":"Author","title":"mlr3fda: Extending mlr3 to functional data analysis — mlr3fda-package","text":"Maintainer: Sebastian Fischer sebf.fischer@gmail.com (ORCID) Authors: Maximilian Muecke muecke.maximilian@gmail.com (ORCID)","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":null,"dir":"Reference","previous_headings":"","what":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"class extracts simple features functional columns. Note operates values actually observed interpolate.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"parameters parameters inherited PipeOpTaskPreprocSimple, well following parameters: drop :: logical(1) Whether drop original functional features keep extracted features. Note remove features backend, active column role feature. Initial value TRUE. features :: list() | character() list features extract. element can either function string. element function requires following arguments: arg value returns numeric. string elements, following predefined features available: \"mean\", \"max\",\"min\",\"slope\",\"median\",\"var\". Initial c(\"mean\", \"max\", \"min\", \"slope\", \"median\", \"var\") left :: numeric() left boundary window. Initial -Inf. window specified values >=left <=right kept computations. right :: numeric() right boundary window. Initial Inf.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"naming","dir":"Reference","previous_headings":"","what":"Naming","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"new names generally append _{feature} corresponding column name. However can lead name clashes existing columns. solved follows: column called \"x\" feature \"mean\", corresponding new column called \"x_mean\". case duplicates, unique names obtained using make.unique() warning given.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> mlr3pipelines::PipeOpTaskPreprocSimple -> PipeOpFDAExtract","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"PipeOpFDAExtract$new() PipeOpFDAExtract$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"","code":"PipeOpFDAExtract$new(id = \"fda.extract\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"id (character(1)) Identifier resulting object, default \"fda.extract\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"","code":"PipeOpFDAExtract$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.extract.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extracts Simple Features from Functional Columns — mlr_pipeops_fda.extract","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") po_fmean = po(\"fda.extract\", features = \"mean\") task_fmean = po_fmean$train(list(task))[[1L]] # add more than one feature pop = po(\"fda.extract\", features = c(\"mean\", \"median\", \"var\")) task_features = pop$train(list(task))[[1L]] # add a custom feature po_custom = po(\"fda.extract\", features = list(mean = function(arg, value) mean(value, na.rm = TRUE)) ) task_custom = po_custom$train(list(task))[[1L]]"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":null,"dir":"Reference","previous_headings":"","what":"Flattens Functional Columns — mlr_pipeops_fda.flatten","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"Convert regular functional features (e.g. individuals observed time-points) new columns, one input value function.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"parameters parameters inherited PipeOpTaskPreprocSimple.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"naming","dir":"Reference","previous_headings":"","what":"Naming","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"new names generally append _1, ..., corresponding column name. However can lead name clashes existing columns. solved follows: column called \"x\" feature \"mean\", corresponding new column called \"x_mean\". case duplicates, unique names obtained using make.unique() warning given.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> mlr3pipelines::PipeOpTaskPreprocSimple -> PipeOpFDAFlatten","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"PipeOpFDAFlatten$new() PipeOpFDAFlatten$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"","code":"PipeOpFDAFlatten$new(id = \"fda.flatten\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"id (character(1)) Identifier resulting object, default \"fda.flatten\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"","code":"PipeOpFDAFlatten$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.flatten.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Flattens Functional Columns — mlr_pipeops_fda.flatten","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") pop = po(\"fda.flatten\") task_flat = pop$train(list(task))"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":null,"dir":"Reference","previous_headings":"","what":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"PipeOp applies functional principal component analysis (FPCA) functional columns extracts principal components features. done using (truncated) weighted SVD. apply PipeOp irregualr data, convert regular grid first using PipeOpFDAInterpol. details, see tfb_fpc(), called internally.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"parameters parameters inherited PipeOpTaskPreproc, well following parameters: pve :: numeric(1) percentage variance explained retained. Default 0.995. n_components :: integer(1) number principal components extract. parameter initialized Inf.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"naming","dir":"Reference","previous_headings":"","what":"Naming","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"new names generally append _pc_{number} corresponding column name. column called \"x\" three principcal components, corresponding new columns called \"x_pc_1\", \"x_pc_2\", \"x_pc_3\".","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> PipeOpFPCA","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"PipeOpFPCA$new() PipeOpFPCA$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"","code":"PipeOpFPCA$new(id = \"fda.fpca\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"id (character(1)) Identifier resulting object, default \"fda.fpca\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"","code":"PipeOpFPCA$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.fpca.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Functional Principal Component Analysis — mlr_pipeops_fda.fpca","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") po_fpca = po(\"fda.fpca\") task_fpca = po_fpca$train(list(task))[[1L]] task_fpca$data() #> heatan h20 NIR_pc_1 NIR_pc_2 NIR_pc_3 NIR_pc_4 NIR_pc_5 #> #> 1: 26.7810 2.3000 7.5675043 1.1371827 -0.377501250 0.16853612 -0.029030508 #> 2: 27.4720 3.0000 6.2793462 1.9345782 0.160548831 -0.35065670 0.015482789 #> 3: 23.8400 2.0002 0.2348390 -0.1721228 -0.024101132 0.15997968 0.045308286 #> 4: 18.1680 1.8500 0.2913332 0.2052379 0.040952119 0.15965107 0.029898778 #> 5: 17.5170 2.3898 1.1406877 1.2563331 0.001074654 0.12809933 -0.039431996 #> --- #> 125: 23.8340 2.1100 1.6980728 0.9841985 0.041623661 -0.14288286 -0.082504388 #> 126: 11.8050 1.6200 -4.0420811 2.2340299 -0.029562942 -0.01048952 -0.047637002 #> 127: 8.8315 1.4200 -5.5013835 2.8333813 -0.034304440 0.03984252 0.051731948 #> 128: 11.3450 1.4800 2.1809306 1.4395300 -0.397523197 0.29440867 0.012819451 #> 129: 28.9940 2.5000 1.9734804 -0.1998806 0.034337704 0.11483695 -0.001412936 #> NIR_pc_6 NIR_pc_7 NIR_pc_8 NIR_pc_9 NIR_pc_10 #> #> 1: 0.11964884 -0.02371204 0.064853723 -0.032466571 0.0003220124 #> 2: -0.10869019 -0.02977520 0.098168169 -0.017825951 0.0002441083 #> 3: -0.07400536 0.12616902 -0.089869215 -0.069829308 0.0820087547 #> 4: 0.02411904 -0.02024500 -0.067108627 0.024661853 -0.0995778040 #> 5: 0.07650499 0.05157198 0.004549452 0.037533960 -0.0996693572 #> --- #> 125: 0.14521618 0.02316881 -0.068481835 -0.018916698 0.0893100582 #> 126: 0.07409570 0.10385424 -0.016055000 -0.005120218 0.0974953020 #> 127: 0.01926094 0.02669150 -0.012923322 0.032825366 0.0658967096 #> 128: -0.15315480 0.02920207 -0.016328011 0.086875000 -0.0713724345 #> 129: 0.03250070 -0.02034279 0.023101264 -0.030534975 -0.0929131209 #> NIR_pc_11 NIR_pc_12 UVVIS_pc_1 UVVIS_pc_2 UVVIS_pc_3 UVVIS_pc_4 #> #> 1: -0.02201115 0.067196098 11.000976 -2.7804661 0.13667224 -0.191798904 #> 2: -0.07106458 0.002637298 -9.298016 -1.7955553 -0.46762503 0.181338904 #> 3: -0.08321127 0.053887189 -3.078812 -0.6114645 -0.27479445 0.173445457 #> 4: -0.06731441 0.036818955 -5.349049 -0.7030112 0.08631440 -0.005833515 #> 5: -0.05202564 0.044425613 -8.497281 -1.2413718 -0.19140105 0.043939413 #> --- #> 125: 0.06250799 0.003601906 -6.427319 -0.2898928 -0.02865269 -0.251835720 #> 126: -0.01341996 0.022872932 -10.843930 -0.0918478 0.56113685 -0.129099208 #> 127: 0.03135576 0.014526887 -12.227632 -0.1838102 1.11134683 -0.125342067 #> 128: -0.10198223 0.006579266 5.871679 -1.0021267 1.01323166 -0.342677979 #> 129: 0.01924963 0.084696172 -6.893096 -1.4463943 -0.81054907 0.170609346 #> UVVIS_pc_5 UVVIS_pc_6 UVVIS_pc_7 UVVIS_pc_8 UVVIS_pc_9 #> #> 1: 0.01339415 -0.17060354 0.14502609 -0.009286216 0.245063270 #> 2: 0.22329434 0.16250028 0.44619782 -0.030912508 -0.040441107 #> 3: 0.12794752 0.29887335 -0.10762972 0.062493259 -0.022634739 #> 4: -0.04760492 0.11931794 0.08033969 0.341026700 0.170446895 #> 5: 0.08665124 0.23765305 0.26968894 -0.025014888 -0.067171672 #> --- #> 125: 0.03453854 -0.08879360 0.03374328 -0.210941614 0.046612103 #> 126: -0.45285286 0.02325341 -0.06353742 -0.073746601 -0.009240108 #> 127: -0.29801185 0.07783722 -0.15248477 -0.125219521 -0.075445528 #> 128: 0.04155443 -0.21600686 0.11709777 0.013021580 0.065624346 #> 129: 0.15158288 0.36430875 0.56271873 -0.309737731 -0.033035367"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":null,"dir":"Reference","previous_headings":"","what":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"Interpolate functional features (e.g. individuals observed different time-points) common grid. useful want compare functional features across observations. interpolation done using tf package. See tfd() details.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"parameters parameters inherited PipeOpTaskPreprocSimple, well following parameters: grid :: character(1) | numeric() grid use interpolation. grid numeric, must sequence values use grid single value specifies number points use grid, requires left right specified latter case. grid character, must one : \"union\": option creates grid based union argument points provided functional features. means argument points across features \\(t_1, t_2, ..., t_n\\), grid combined unique set points. option generally used argument points vary across observations common grid needed comparison analysis. \"intersect\": Creates grid using intersection argument points feature. grid includes points common across functional features, facilitating direct comparison shared set points. \"minmax\": Generates grid within range maximum minimum argument points minimum maximum argument points across features. bounded grid encapsulates argument point range common features. Note: regular functional data effect argument points . Initial value \"union\". method :: character(1) Defaults \"linear\". One : \"linear\": applies linear interpolation without extrapolation (see tf::tf_approx_linear()). \"spline\": applies cubic spline interpolation (see tf::tf_approx_spline()). \"fill_extend\": applies linear interpolation constant extrapolation (see tf::tf_approx_fill_extend()). \"locf\": applies \"last observation carried forward\" interpolation (see tf::tf_approx_locf()). \"nocb\": applies \"next observation carried backward\" interpolation (see tf::tf_approx_nocb()). left :: numeric() left boundary window. window specified values >=left <=right kept computations. right :: numeric() right boundary window.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> mlr3pipelines::PipeOpTaskPreprocSimple -> PipeOpFDAInterpol","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"PipeOpFDAInterpol$new() PipeOpFDAInterpol$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"","code":"PipeOpFDAInterpol$new(id = \"fda.interpol\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"id (character(1)) Identifier resulting object, default \"fda.interpol\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"","code":"PipeOpFDAInterpol$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.interpol.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Interpolate Functional Columns — mlr_pipeops_fda.interpol","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") pop = po(\"fda.interpol\") task_interpol = pop$train(list(task))[[1L]] task_interpol$data() #> heatan h20 NIR #> #> 1: 26.7810 2.3000 [1]: (1, 0.2);(2, 0.3);(3, 0.3); ... #> 2: 27.4720 3.0000 [2]: (1, 0.2);(2, 0.3);(3, 0.2); ... #> 3: 23.8400 2.0002 [3]: (1, -0.05);(2, 0.05);(3, -0.08); ... #> 4: 18.1680 1.8500 [4]: (1, -0.08);(2, -0.08);(3, 0.06); ... #> 5: 17.5170 2.3898 [5]: (1, -0.23);(2, -0.12);(3, -0.04); ... #> --- #> 125: 23.8340 2.1100 [6]: (1, -0.04);(2, -0.02);(3, -0.06); ... #> 126: 11.8050 1.6200 [7]: (1, -0.6);(2, -0.6);(3, -0.7); ... #> 127: 8.8315 1.4200 [8]: (1, -0.7);(2, -0.8);(3, -0.8); ... #> 128: 11.3450 1.4800 [9]: (1,-0.058);(2,-0.046);(3,-0.005); ... #> 129: 28.9940 2.5000 [10]: (1, 0.1);(2, 0.1);(3, 0.2); ... #> UVVIS #> #> 1: [1]: (1, 0.9);(2, 0.7);(3, 0.8); ... #> 2: [2]: (1, -0.9);(2, -1.3);(3, -0.8); ... #> 3: [3]: (1,-0.08);(2,-0.29);(3,-0.20); ... #> 4: [4]: (1, -0.6);(2, -0.5);(3, -0.3); ... #> 5: [5]: (1, -0.6);(2, -1.1);(3, -0.7); ... #> --- #> 125: [6]: (1, -0.5);(2, -0.7);(3, -0.6); ... #> 126: [7]: (1, -1.0);(2, -0.8);(3, -1.1); ... #> 127: [8]: (1, -0.9);(2, -0.6);(3, -1.0); ... #> 128: [9]: (1, 0.5);(2, 0.6);(3, 0.6); ... #> 129: [10]: (1, -0.5);(2, -1.3);(3, -0.8); ..."},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":null,"dir":"Reference","previous_headings":"","what":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"Smoothes functional data using tf::tf_smooth(). preprocessing operator similar PipeOpFDAInterpol, however interpolate unobserved x-values, rather smooths observed values.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"parameters","dir":"Reference","previous_headings":"","what":"Parameters","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"parameters parameters inherited PipeOpTaskPreprocSimple, well following parameters: method :: character(1) One : \"lowess\": locally weighted scatterplot smoothing (default) \"rollmean\": rolling mean \"rollmedian\": rolling meadian \"savgol\": Savitzky-Golay filtering methods \"lowess\" ignore non-equidistant arg values. args :: named list() List named arguments passed tf_smooth(). See help page tf_smooth() default values. verbose :: logical(1) Whether print messages transformation. initialized FALSE.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"super-classes","dir":"Reference","previous_headings":"","what":"Super classes","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"mlr3pipelines::PipeOp -> mlr3pipelines::PipeOpTaskPreproc -> mlr3pipelines::PipeOpTaskPreprocSimple -> PipeOpFDASmooth","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"methods","dir":"Reference","previous_headings":"","what":"Methods","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"mlr3pipelines::PipeOp$help() mlr3pipelines::PipeOp$predict() mlr3pipelines::PipeOp$print() mlr3pipelines::PipeOp$train()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"public-methods","dir":"Reference","previous_headings":"","what":"Public methods","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"PipeOpFDASmooth$new() PipeOpFDASmooth$clone()","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"method-new-","dir":"Reference","previous_headings":"","what":"Method new()","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"Initializes new instance Class.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"","code":"PipeOpFDASmooth$new(id = \"fda.smooth\", param_vals = list())"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"id (character(1)) Identifier resulting object, default \"fda.smooth\". param_vals (named list) List hyperparameter settings, overwriting hyperparameter settings otherwise set construction. Default list().","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"method-clone-","dir":"Reference","previous_headings":"","what":"Method clone()","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"objects class cloneable method.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"usage-1","dir":"Reference","previous_headings":"","what":"Usage","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"","code":"PipeOpFDASmooth$clone(deep = FALSE)"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"arguments-1","dir":"Reference","previous_headings":"","what":"Arguments","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"deep Whether make deep clone.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_pipeops_fda.smooth.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Smoothing Functional Columns — mlr_pipeops_fda.smooth","text":"","code":"library(mlr3pipelines) task = tsk(\"fuel\") po_smooth = po(\"fda.smooth\", method = \"rollmean\", args = list(k = 5)) task_smooth = po_smooth$train(list(task))[[1L]] task_smooth #> (129 x 4): Spectral Data of Fossil Fuels #> * Target: heatan #> * Properties: - #> * Features (3): #> - tfr (2): NIR, UVVIS #> - dbl (1): h20 task_smooth$data(cols = c(\"NIR\", \"UVVIS\")) #> NIR #> #> 1: [1]: (1, 0.3);(2, 0.3);(3, 0.3); ... #> 2: [2]: (1, 0.3);(2, 0.3);(3, 0.3); ... #> 3: [3]: (1,-0.01);(2,-0.01);(3,-0.01); ... #> 4: [4]: (1,-0.03);(2,-0.03);(3,-0.03); ... #> 5: [5]: (1, -0.1);(2, -0.1);(3, -0.1); ... #> --- #> 125: [6]: (1,-0.04);(2,-0.04);(3,-0.04); ... #> 126: [7]: (1, -0.6);(2, -0.6);(3, -0.6); ... #> 127: [8]: (1, -0.8);(2, -0.8);(3, -0.8); ... #> 128: [9]: (1,-0.05);(2,-0.05);(3,-0.05); ... #> 129: [10]: (1, 0.1);(2, 0.1);(3, 0.1); ... #> UVVIS #> #> 1: [1]: (1, 0.7);(2, 0.7);(3, 0.7); ... #> 2: [2]: (1,-0.9);(2,-0.9);(3,-0.9); ... #> 3: [3]: (1,-0.2);(2,-0.2);(3,-0.2); ... #> 4: [4]: (1,-0.5);(2,-0.5);(3,-0.5); ... #> 5: [5]: (1,-0.8);(2,-0.8);(3,-0.8); ... #> --- #> 125: [6]: (1,-0.6);(2,-0.6);(3,-0.6); ... #> 126: [7]: (1,-0.9);(2,-0.9);(3,-0.9); ... #> 127: [8]: (1,-0.8);(2,-0.8);(3,-0.8); ... #> 128: [9]: (1, 0.6);(2, 0.6);(3, 0.6); ... #> 129: [10]: (1,-0.8);(2,-0.8);(3,-0.8); ..."},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_dti.html","id":null,"dir":"Reference","previous_headings":"","what":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","title":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","text":"dataset contains two functional covariates three scalar covariate. goal predict PASAT score. pasat represents PASAT score vist. subject_id represents subject ID. cca represents fractional anisotropy tract profiles corpus callosum. sex indicates subject's sex. rcst represents fractional anisotropy tract profiles right corticospinal tract. Rows containing NAs removed. subset full dataset, contained package refund.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_dti.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","text":"R6::R6Class inheriting TaskRegr.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_dti.html","id":"construction","dir":"Reference","previous_headings":"","what":"Construction","title":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","text":"","code":"mlr_tasks$get(\"dti\") tsk(\"dti\")"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_dti.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Diffusion Tensor Imaging (DTI) Regression Task — mlr_tasks_dti","text":"Goldsmith, Jeff, Bobb, Jennifer, Crainiceanu, M C, Caffo, Brian, Reich, Daniel (2011). “Penalized functional regression.” Journal Computational Graphical Statistics, 20(4), 830--851. Brain dataset courtesy Gordon Kindlmann Scientific Computing Imaging Institute, University Utah, Andrew Alexander, W. M. Keck Laboratory Functional Brain Imaging Behavior, University Wisconsin-Madison.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_fuel.html","id":null,"dir":"Reference","previous_headings":"","what":"Fuel Regression Task — mlr_tasks_fuel","title":"Fuel Regression Task — mlr_tasks_fuel","text":"dataset contains two functional covariates one scalar covariate. goal predict heat value fuel based ultraviolet radiation spectrum infrared ray radiation one scalar column called h2o. subset full dataset, contained package FDboost.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_fuel.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Fuel Regression Task — mlr_tasks_fuel","text":"R6::R6Class inheriting TaskRegr.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_fuel.html","id":"construction","dir":"Reference","previous_headings":"","what":"Construction","title":"Fuel Regression Task — mlr_tasks_fuel","text":"","code":"mlr_tasks$get(\"fuel\") tsk(\"fuel\")"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_fuel.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Fuel Regression Task — mlr_tasks_fuel","text":"Brockhaus, Sarah, Scheipl, Fabian, Hothorn, Torsten, Greven, Sonja (2015). “functional linear array model.” Statistical Modelling, 15(3), 279--300.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_phoneme.html","id":null,"dir":"Reference","previous_headings":"","what":"Phoneme Classification Task — mlr_tasks_phoneme","title":"Phoneme Classification Task — mlr_tasks_phoneme","text":"task contains single functional covariate 5 equally big classes (aa, ao, dcl, iy, sh). aim predict class phoneme functional, log-periodogram. subset full dataset, contained package fda.usc.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_phoneme.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Phoneme Classification Task — mlr_tasks_phoneme","text":"R6::R6Class inheriting TaskClassif.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_phoneme.html","id":"construction","dir":"Reference","previous_headings":"","what":"Construction","title":"Phoneme Classification Task — mlr_tasks_phoneme","text":"","code":"mlr_tasks$get(\"phoneme\") tsk(\"phoneme\")"},{"path":"https://mlr3fda.mlr-org.com/reference/mlr_tasks_phoneme.html","id":"references","dir":"Reference","previous_headings":"","what":"References","title":"Phoneme Classification Task — mlr_tasks_phoneme","text":"Ferraty, Frédric, Vieu, Philippe (2003). “Curves discrimination: nonparametric functional approach.” Computational Statistics & Data Analysis, 44(1-2), 161--173.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/phoneme.html","id":null,"dir":"Reference","previous_headings":"","what":"The phoneme dataset — phoneme","title":"The phoneme dataset — phoneme","text":"See mlr_tasks_phoneme description dataset.","code":""},{"path":"https://mlr3fda.mlr-org.com/reference/phoneme.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"The phoneme dataset — phoneme","text":"","code":"data(phoneme)"},{"path":"https://mlr3fda.mlr-org.com/reference/phoneme.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"The phoneme dataset — phoneme","text":"data frame 250 rows 2 variables","code":""},{"path":"https://mlr3fda.mlr-org.com/news/index.html","id":"mlr3fda-011","dir":"Changelog","previous_headings":"","what":"mlr3fda 0.1.1","title":"mlr3fda 0.1.1","text":"Initial CRAN release.","code":""}]