Skip to contents

Lists dependencies beyond core Imports and, when available, measured fit time, per-specimen scoring time, peak memory and frozen model size. Measurements describe the recorded data, hardware and settings, not a speed guarantee.

Usage

method_requirements(methods = NULL, families = NULL)

Arguments

methods

Optional method identifiers. NULL selects all unless families is set.

families

Optional roster family letters. Methods and families select their union.

Value

A data frame with one row per method. Dependencies are separated by semicolons. Optional R implementations are listed separately. Cost columns are medians of measured CPU timings. The cost_status column reports documented CPU timing refusals when there are no completed CPU timings. Missing measurements are NA. The measurements attribute contains the individual measurements, hardware and source. User callbacks without dependency declarations have requirements_known = FALSE.

Examples

method_requirements("ws-rclr-trimmed")
#>         method_id family tier dep_route                           family_name
#> 1 ws-rclr-trimmed      A   R1    base-R Compositional within-sample baselines
#>   r_packages optional_r_packages python_modules model_weights      gpu
#> 1                                                             not used
#>                      requirements_source requirements_known fit_seconds
#> 1 OmicSelector v2.6.9 method definitions               TRUE   0.3648827
#>   score_seconds_per_specimen peak_memory_bytes frozen_model_bytes
#> 1                 0.02434671         178630656              72429
#>                                                                               measuring_node
#> 1 Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz
#>                                                      cost_status
#> 1 median of measured CPU timings; see the measurements attribute