cellmil.interfaces.TableConfig

Classes

TableConfig(output_file, table_type, ], ...)

Configuration for LaTeX table generation.

class cellmil.interfaces.TableConfig.TableConfig(output_file: str, table_type: ~typing.Literal['classification', 'survival'], tasks: ~typing.Optional[list[str]] = None, features: ~typing.Optional[list[str]] = None, models: ~typing.Optional[list[str]] = None, baseline_features: ~typing.Optional[list[str]] = None, include_regularized: bool = True, include_non_regularized: bool = True, include_stratified: bool = True, classification_metrics: list[str] = <factory>, survival_metrics: list[str] = <factory>, task_mapping: dict[str, str] = <factory>, feature_mapping: dict[str, str] = <factory>, model_mapping: dict[str, str] = <factory>, metric_mapping: dict[str, str] = <factory>, caption: str = '', label: str = '', support_mapping: dict[str, int] = <factory>, precision: int = 3)[source]

Bases: object

Configuration for LaTeX table generation.

output_file: str
table_type: Literal['classification', 'survival']
tasks: list[str] | None = None
features: list[str] | None = None
models: list[str] | None = None
baseline_features: list[str] | None = None
include_regularized: bool = True
include_non_regularized: bool = True
include_stratified: bool = True
classification_metrics: list[str]
survival_metrics: list[str]
task_mapping: dict[str, str]
feature_mapping: dict[str, str]
model_mapping: dict[str, str]
metric_mapping: dict[str, str]
caption: str = ''
label: str = ''
support_mapping: dict[str, int]
precision: int = 3
__init__(output_file: str, table_type: ~typing.Literal['classification', 'survival'], tasks: ~typing.Optional[list[str]] = None, features: ~typing.Optional[list[str]] = None, models: ~typing.Optional[list[str]] = None, baseline_features: ~typing.Optional[list[str]] = None, include_regularized: bool = True, include_non_regularized: bool = True, include_stratified: bool = True, classification_metrics: list[str] = <factory>, survival_metrics: list[str] = <factory>, task_mapping: dict[str, str] = <factory>, feature_mapping: dict[str, str] = <factory>, model_mapping: dict[str, str] = <factory>, metric_mapping: dict[str, str] = <factory>, caption: str = '', label: str = '', support_mapping: dict[str, int] = <factory>, precision: int = 3) None