Medial Code Documentation
Loading...
Searching...
No Matches
Public Member Functions
MedAlgoMarkerInternal Class Reference

Public Member Functions

MedPidRepositoryget_rep ()
 
void set_name (const char *_name)
 
void set_model_end_stage (int _model_end_stage)
 
int init_rep_config (const char *config_fname)
 
int set_time_unit_env (int time_unit)
 
void set_pids (int *_pids, int npids)
 
int init_rep_with_file_data (const char *_rep_fname)
 
int init_model_from_file (const char *_model_fname)
 
int model_check_required_signals ()
 
int init_model_for_apply ()
 
void fit_model_to_rep ()
 
int init_model_for_rep ()
 
unordered_map< string, unordered_set< string > > * get_unknown_codes (int pid)
 
int init_samples (int *pids, int *times, int n_samples)
 
int init_samples (int pid, int time)
 
void add_json_dict (json &js)
 
bool model_initiated ()
 
int data_load_init ()
 
int data_load_pid_sig (int pid, const char *sig_name, int *times, float *vals, int n_elems)
 
int data_load_pid_sig (int pid, const char *sig_name, int *times, int n_times, float *vals, int n_vals, map< pair< int, int >, pair< int, vector< char > > > *data=NULL)
 
int data_load_pid_sig (int pid, const char *sig_name, int *times, float *vals)
 
int data_load_end ()
 
void get_rep_signals (unordered_set< string > &sigs)
 
void clear_samples ()
 
int insert_samples (int *pids, int *times, int n_samples)
 
int insert_sample (int pid, int time)
 
int normalize_samples ()
 
MedSamplesget_samples_ptr ()
 
int get_preds (int *_pids, int *times, float *preds, int n_samples)
 
int get_preds (int *_pids, int *times, float *preds, int n_samples, const vector< Effected_Field > &requested_fields, MedPidRepository *_rep=NULL)
 
int get_raw_preds (int *_pids, int *times, float *preds, const vector< Effected_Field > &requested_fields, MedPidRepository *_rep)
 
int get_raw_preds (int *_pids, int *times, float *preds)
 
int get_preds (MedSamples &_samples, float *preds)
 
int get_pred (int *pid, int *time, float *pred)
 
void clear ()
 
void clear_data ()
 
const char * get_name ()
 
void write_features_mat (const string &feat_mat)
 
void add_features_mat (const string &feat_mat)
 
void get_signal_structure (string &sig, int &n_time_channels, int &n_val_channels, int *&is_categ)
 
void model_apply_verbose (bool flag)
 
string model_version_info () const
 
void get_model_signals_info (vector< string > &sigs, unordered_map< string, vector< string > > &res_categ) const
 
void get_explainer_params (Explainer_parameters &out) const
 
void get_explainer_output_options (vector< string > &opts)
 
void set_explainer_params (const string &params, const string &base_dir)
 
void set_threshold_leaflet (const string &init_string, const string &base_dir)
 
bool has_threshold_settings () const
 
string get_default_threshold () const
 
void fetch_all_thresholds (vector< string > &opts) const
 
float fetch_threshold (const string &threshold, string &err_msg) const
 

The documentation for this class was generated from the following file: