|
| | TabularDataset (const Index=0, const Shape &={0}, const Shape &={0}) |
| |
| | TabularDataset (const filesystem::path &, const string &, bool has_header=true, bool has_sample_ids=false, const Codification &=Codification::UTF8) |
| |
| Index | get_samples_number () const noexcept override |
| |
| MatrixR | get_data (const string &sample_role, const string &variable_role) const |
| |
| MatrixR | get_data_from_indices (const vector< Index > &, const vector< Index > &) const |
| |
| MatrixR | get_variable_data (Index) const |
| |
| MatrixR | get_variable_data (Index, const vector< Index > &) const |
| |
| MatrixR | get_feature_data (const string &) const |
| |
| void | configure_forecasting (Index past, Index future=1, bool multi_target=false) |
| |
| void | clear_forecasting () |
| |
| bool | is_forecasting () const noexcept |
| |
| Index | get_past_time_steps () const noexcept |
| |
| Index | get_future_time_steps () const noexcept |
| |
| bool | get_multi_target () const noexcept |
| |
| Tensor3 | get_sequence_data (const string &sample_role, const string &feature_role) const |
| |
| MatrixR | calculate_autocorrelations (Index=10) const |
| |
| Tensor3 | calculate_cross_correlations (Index=10) const |
| |
| vector< Variable > | get_model_input_variables () const override |
| |
| bool | sample_order_matters () const noexcept override |
| |
| void | resize_input_shape (Index) override |
| |
| void | set (Index=0, const Shape &={}, const Shape &={}) |
| |
| void | set (const filesystem::path &, const string &, bool new_has_header=true, bool new_has_ids=false, const Codification &=Codification::UTF8) |
| |
| void | set (const filesystem::path &) |
| |
| void | set_storage_mode (StorageMode) override |
| |
| void | set_binary_cache_path (const filesystem::path &) |
| |
| vector< string > | get_feature_scalers (const string &) const |
| |
| void | set_variable_scalers (const string &) |
| |
| void | set_variable_scalers (const vector< string > &) |
| |
| void | set_default_variable_scalers () |
| |
| MissingValuesMethod | get_missing_values_method () const |
| |
| string | get_missing_values_method_string () const |
| |
| const string & | get_missing_values_label () const |
| |
| Index | get_missing_values_number () const |
| |
| const NumberFormat & | get_number_format () const |
| |
| void | set_number_format (const NumberFormat &new_number_format) |
| |
| void | set_number_format_auto () |
| |
| void | set_missing_values_label (string label) |
| |
| void | set_missing_values_method (const MissingValuesMethod &method) |
| |
| void | set_missing_values_method (const string &) |
| |
| void | scrub_missing_values () override |
| |
| void | calculate_missing_values_statistics () |
| |
| void | impute_missing_values_statistic (const MissingValuesMethod &) |
| |
| void | reuse_input_incomplete_rows_binary () |
| |
| virtual void | impute_missing_values_unuse () |
| |
| virtual void | impute_missing_values_interpolate () |
| |
| vector< string > | unuse_uncorrelated_variables (const float=0.25f) |
| |
| vector< string > | unuse_collinear_variables (const float=0.95f) |
| |
| vector< string > | unuse_least_correlated_variables (const Index inputs_to_keep) |
| |
| vector< Descriptives > | calculate_feature_descriptives () const |
| |
| vector< Descriptives > | calculate_feature_descriptives (const string &) const |
| |
| vector< Descriptives > | calculate_feature_descriptives (const string &, const vector< Index > &) const |
| |
| vector< Descriptives > | calculate_variable_descriptives_positive_samples () const |
| |
| vector< Descriptives > | calculate_variable_descriptives_negative_samples () const |
| |
| vector< Descriptives > | calculate_variable_descriptives_categories (Index) const |
| |
| vector< Histogram > | calculate_variable_distributions (const Index=10) const |
| |
| vector< BoxPlot > | calculate_variables_box_plots () const |
| |
| Tensor< Correlation, 2 > | calculate_input_variable_correlations (Correlation(*)(const MatrixR &, const MatrixR &), Correlation::Method, const string &) const |
| |
| Tensor< Correlation, 2 > | calculate_input_variable_pearson_correlations () const |
| |
| Tensor< Correlation, 2 > | calculate_input_variable_spearman_correlations () const |
| |
| Tensor< Correlation, 2 > | calculate_input_target_variable_correlations (Correlation(*)(const MatrixR &, const MatrixR &), const string &) const |
| |
| Tensor< Correlation, 2 > | calculate_input_target_variable_pearson_correlations () const |
| |
| Tensor< Correlation, 2 > | calculate_input_target_variable_spearman_correlations () const |
| |
| MatrixR | calculate_input_target_correlation_values () const override |
| |
| FeatureScaling | calculate_used_feature_scaling (VariableRole) const override |
| |
| vector< Descriptives > | scale_data () |
| |
| vector< Descriptives > | scale_features (const string &) |
| |
| void | unscale_features (const string &, const vector< Descriptives > &) |
| |
| FeatureScaling | prepare_training_scaling (VariableRole, const FeatureScaling &, Index) override |
| |
| void | clear_training_scaling () noexcept override |
| |
| void | enable_device_residency () override |
| |
| VectorI | calculate_target_distribution () const override |
| |
| vector< vector< Index > > | calculate_Tukey_outliers (float cleaning_parameter=1.5f, bool replace_with_nan=false) |
| |
| vector< vector< Index > > | replace_Tukey_outliers_with_NaN (const float=1.5f) |
| |
| bool | has_nan () const override |
| |
| bool | has_nan_row (Index row_index) const |
| |
| VectorI | count_nans_per_variable () const |
| |
| Index | count_rows_with_nan () const |
| |
| Index | count_nan () const |
| |
| void | set_data_random () |
| |
| void | set_data_integer (const Index) |
| |
| void | set_data_binary_classification () |
| |
| void | from_JSON (const JsonDocument &) override |
| |
| void | to_JSON (JsonWriter &) const override |
| |
| void | read_csv () |
| |
| void | fill_inputs (const vector< Index > &, const vector< Index > &, float *, FillMode, ColumnContiguity column_contiguity=ColumnContiguity::Unknown) const override |
| |
| void | fill_decoder (const vector< Index > &, const vector< Index > &, float *, FillMode, ColumnContiguity column_contiguity=ColumnContiguity::Unknown) const override |
| |
| void | fill_targets (const vector< Index > &, const vector< Index > &, float *, FillMode, ColumnContiguity column_contiguity=ColumnContiguity::Unknown) const override |
| |
| void | fill_batch (Batch &, const vector< Index > &, const FeatureSelection &, FillMode) const override |
| |
| Index | get_samples_number (SampleRole role_type) const |
| |
| Index | get_samples_number (string_view role) const |
| |
| const MatrixR & | get_data () const noexcept |
| |
| virtual void | set_storage_mode (const string &) |
| |
| virtual | ~Dataset ()=default |
| |
| Index | get_samples_number (SampleRole role_type) const |
| |
| Index | get_samples_number (string_view role) const |
| |
| Index | get_used_samples_number () const |
| |
| vector< Index > | get_sample_indices (SampleRole) const |
| |
| vector< Index > | get_sample_indices (string_view role) const |
| |
| vector< Index > | get_used_sample_indices () const |
| |
| const vector< SampleRole > & | get_sample_roles () const noexcept |
| |
| void | set_fold_split (const vector< Index > &training, const vector< Index > &validation) |
| |
| void | clear_fold_split () noexcept |
| |
| Index | get_variables_number () const noexcept |
| |
| Index | get_variables_number (VariableRole) const |
| |
| Index | get_variables_number (string_view role) const |
| |
| Index | get_used_variables_number () const |
| |
| const vector< Variable > & | get_variables () const noexcept |
| |
| vector< Variable > | get_variables (VariableRole) const |
| |
| vector< Variable > | get_variables (string_view role) const |
| |
| Index | get_variable_index (const string &) const |
| |
| Index | get_variable_index (const Index) const |
| |
| vector< Index > | get_variable_indices (VariableRole) const |
| |
| vector< Index > | get_variable_indices (string_view role) const |
| |
| vector< Index > | get_used_variables_indices () const |
| |
| vector< string > | get_variable_names () const |
| |
| vector< string > | get_variable_names (VariableRole) const |
| |
| vector< string > | get_variable_names (string_view role) const |
| |
| VariableType | get_variable_type (const Index index) const |
| |
| Index | get_features_number () const |
| |
| Index | get_features_number (VariableRole) const |
| |
| Index | get_features_number (string_view role) const |
| |
| vector< string > | get_feature_names () const |
| |
| vector< string > | get_feature_names (VariableRole) const |
| |
| vector< string > | get_feature_names (string_view role) const |
| |
| vector< vector< Index > > | get_feature_indices () const |
| |
| vector< Index > | get_feature_indices (const Index) const |
| |
| vector< Index > | get_feature_indices (VariableRole) const |
| |
| vector< Index > | get_feature_indices (string_view role) const |
| |
| vector< Index > | get_used_feature_indices () const |
| |
| Shape | get_shape (VariableRole) const |
| |
| Shape | get_shape (string_view role) const |
| |
| void | get_batches (const vector< Index > &, Index, Shuffle, vector< vector< Index > > &, optional< unsigned > shuffle_seed=nullopt) const |
| |
| const vector< vector< string > > & | get_data_file_preview () const noexcept |
| |
| const filesystem::path & | get_data_path () const noexcept |
| |
| void | set_cache_directory (const filesystem::path &new_cache_directory) |
| |
| StorageMode | get_storage_mode () const noexcept |
| |
| string | get_storage_mode_string () const |
| |
| string | get_separator_string () const |
| |
| string | get_separator_name () const |
| |
| string | get_codification_string () const |
| |
| bool | get_display () const noexcept |
| |
| bool | is_empty () const noexcept |
| |
| Shape | get_input_shape () const noexcept |
| |
| Shape | get_target_shape () const noexcept |
| |
| void | record_memory (const string &stage) const |
| |
| const MatrixR & | get_data () const noexcept |
| |
| void | set_data (const MatrixR &) |
| |
| void | set_data (MatrixR &&) |
| |
| void | set_data_constant (float new_value) |
| |
| void | disable_device_residency () |
| |
| bool | is_device_resident () const noexcept |
| |
| bool | requests_device_residency () const noexcept |
| |
| bool | uses_device_residency () const noexcept |
| |
| const float * | get_device_data () const |
| |
| Index | get_device_data_columns () const noexcept |
| |
| virtual const TokenizerOperator * | get_training_tokenizer () const |
| |
| virtual const TokenizerOperator * | get_training_tokenizer (VariableRole role) const |
| |
| void | set_sample_roles (SampleRole) |
| |
| void | set_sample_roles (string_view role) |
| |
| void | set_sample_role (Index, SampleRole) |
| |
| void | set_sample_role (Index index, string_view role) |
| |
| void | set_sample_roles (const vector< string > &) |
| |
| void | set_sample_roles (const vector< Index > &, SampleRole) |
| |
| void | set_sample_roles (const vector< Index > &indices, string_view role) |
| |
| void | set_default_variable_names () |
| |
| void | set_default_variable_roles () |
| |
| void | set_variable_roles (const vector< string > &) |
| |
| void | set_variable_indices (const vector< Index > &, const vector< Index > &) |
| |
| void | set_input_variables_unused () |
| |
| void | set_variable_role (Index, VariableRole) |
| |
| void | set_variable_role (Index index, string_view role) |
| |
| void | set_variable_role (const string &, VariableRole) |
| |
| void | set_variable_role (const string &name, string_view role) |
| |
| void | set_variable_names (const vector< string > &) |
| |
| void | set_variables_number (const Index new_size) |
| |
| void | set_variable_roles (VariableRole) |
| |
| void | set_variable_roles (string_view role) |
| |
| void | set_shape (VariableRole, const Shape &) |
| |
| void | set_shape (string_view role, const Shape &shape) |
| |
| virtual void | set_data_path (const filesystem::path &new_data_path) |
| |
| void | set_has_header (bool new_has_header) |
| |
| void | set_has_ids (bool new_has_ids) |
| |
| bool | get_header_line () const |
| |
| bool | get_has_sample_ids () const |
| |
| const vector< string > & | get_sample_ids () const |
| |
| VectorI | filter_data (const VectorR &, const VectorR &) |
| |
| bool | has_categorical_variables () const |
| |
| void | set_separator (const Separator &new_separator) |
| |
| void | set_separator_string (const string &) |
| |
| void | set_separator_name (const string &) |
| |
| void | set_codification (const Codification &new_codification) |
| |
| void | set_codification (const string &) |
| |
| void | set_display (bool new_display) |
| |
| bool | has_validation () const |
| |
| void | split_samples (const float training_ratio=0.6f, float validation_ratio=0.2f, float testing_ratio=0.2f, bool shuffle=true) |
| |
| void | split_samples_sequential (const float training_ratio=0.6f, float validation_ratio=0.2f, float testing_ratio=0.2f) |
| |
| void | split_samples_random (const float training_ratio=0.6f, float validation_ratio=0.2f, float testing_ratio=0.2f) |
| |
| pair< Index, Index > | count_binary_targets (const string &sample_role) const |
| |
| void | save (const filesystem::path &) const |
| |
| void | load (const filesystem::path &) |
| |
| virtual bool | supports_bf16_inputs () const |
| |
| FeatureSelection | get_feature_selection () const |
| |
| bool | can_device_gather (const Batch &, const FeatureSelection &) const |
| |
|
| void | set_forecasting_window (Index, Index, bool) |
| |
| void | refresh_forecasting_roles () |
| |
| pair< vector< Index >, Index > | correlation_lags (Index) const |
| |
| void | fill_window_features (const vector< Index > &, const vector< Index > &, float *, Index row_offset, Index steps, bool feature_major, ColumnContiguity) const |
| |
| void | missing_values_to_JSON (JsonWriter &) const |
| |
| void | missing_values_from_JSON (const Json *) override |
| |
| void | resize_data_from_JSON (Index) override |
| |
| filesystem::path | cache_file_path () const |
| |
| void | fill_features (const vector< Index > &, const vector< Index > &, float *, ColumnContiguity column_contiguity=ColumnContiguity::Unknown) const |
| |
| void | fill_from_binary_cache (const vector< Index > &, const vector< Index > &, float *, ColumnContiguity column_contiguity=ColumnContiguity::Unknown) const |
| |
| float | apply_training_scaling (Index, float) const |
| |
| void | apply_training_scaling (const vector< Index > &, float *, Index) const |
| |
| vector< Index > | filter_used_samples_by_column (Index column, bool positive) const |
| |
| vector< Descriptives > | calculate_variable_descriptives_samples (bool positive) const |
| |
| vector< ScalerMethod > | get_feature_scaler_methods () const |
| |
| vector< ScalerMethod > | get_feature_scaler_methods (VariableRole) const |
| |
| void | unuse_samples_with_missing_targets (const vector< Index > &, const vector< Index > &) |
| |
| void | on_used_samples_changed () override |
| |
| void | clear_cache_derived_state () |
| |
| void | refresh_cache_statistics () |
| |
| vector< Descriptives > | compute_descriptives_streaming (const vector< Index > &) const |
| |
| DateFormat | configure_csv_columns (vector< string_view > &, char, bool) |
| |
| void | load_csv_data (const vector< string_view > &, char, bool, DateFormat) |
| |
| DateFormat | infer_column_types (const vector< string_view > &, char, bool has_quotes=false) |
| |
| void | apply_scaler (Index feature_index, ScalerMethod scaler, const Descriptives &descriptives, bool unscale) |
| |
| | Dataset ()=default |
| |
| void | fill_batch_host (Batch &, const vector< Index > &sample_indices, const FeatureSelection &, FillMode) const |
| |
| DeviceGather & | start_device_gather (Batch &, const vector< Index > &sample_indices, const FeatureSelection &) const |
| |
| void | read_data_file_preview (const vector< string_view > &, char, bool has_quotes=false) |
| |
| void | check_separators (string_view) const |
| |
| void | samples_from_JSON (const Json *) |
| |
| void | require_in_memory_data (string_view what) const |
| |
| void | upload_device_matrix (const MatrixR &) |
| |
| void | upload_device_samples () |
| |
| void | invalidate_data () |
| |
| const vector< SampleRole > & | active_sample_roles () const noexcept |
| |
| void | variables_to_JSON (JsonWriter &) const |
| |
| void | samples_to_JSON (JsonWriter &) const |
| |
| void | preview_data_to_JSON (JsonWriter &) const |
| |
| void | variables_from_JSON (const Json *) |
| |
| void | preview_data_from_JSON (const Json *) |
| |
| void | write_json_header (JsonWriter &, initializer_list< pair< const char *, Json > >) const |
| |
| void | write_json_footer (JsonWriter &) const |
| |
| void | read_json_blocks (const Json *) |
| |