Description for FeaturesSet class

This class creates features set objects.

__init__(self, feature_path=None, outcome_path=None, feature_column=[], feature_column_to_drop=[], outcome_column='', patient_column='', patient_in_outcome_column='', patient_to_drop=[]) special

Initialise a dataset object.

Parameters:
  • feature_path (str) – Path to csv./.xls(x) file with features.

  • outcome_path (str) – Path to csv./.xls(x) file with outcomes.

  • feature_column (list) – List of features to be included.

  • feature_column_to_drop (list) – List of features to be excluded.

  • outcome_column (str) – Name of the column with outcomes.

  • patient_column (str) – Name of the column with patients IDs in features file.

  • patient_in_outcome_column (str) – Name of the column with patients IDs in outcomes file.

  • patient_to_drop (list) – List of patients to be excluded.