qubx :: trialset :: TrialSet :: Class TrialSet
[hide private]
[frames] | no frames]

Class TrialSet

source code

   object --+        
            |        
  table.Table --+    
                |    
table.SimpleTable --+
                    |
                   TrialSet

A table with one model per row (in qubx.tree QMF format); each row represents one result such as an optimizer run. Fields include LL, AIC, BIC, Date (as a string), Model (name), and Data (name), and additional ones will be added as needed when adding rows.

Instance Methods [hide private]
 
__init__(self, trialset_name, in_qsf=False)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
dispose(self)
Releases references to improve chances of garbage collection.
source code
 
set_in_qsf(self, x) source code
 
append_trial(self, model_tree, row_dict)
Appends a row.
source code
 
__onInsert(self, i, undoing) source code
 
__onRemoved(self, i, undoing) source code

Inherited from table.SimpleTable: add_field, clone, get, get_row, get_size, insert, remove, remove_field, set

Inherited from table.Table: __getitem__, __iter__, __len__, __setitem__, __str__, add_field_to_stats, add_notebook_item, all_rows, append, calc_expr_values, check_rows_if, clear, copy_rows_from, from_json, from_text, get_by_name, get_row_by_name, index, nb_get_caption, nb_get_col, nb_get_col_format, nb_get_headers, nb_get_row, nb_get_shape, nb_get_type, remove_field_from_stats, rows_meeting_criteria, select, set_checked, set_global_name, to_json, to_text

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Instance Variables [hide private]
  models
list of qubx.tree.Nodes, one QMF model per row
  trialset_name
onscreen label, e.g.

Inherited from table.SimpleTable: entries

Inherited from table.Table: OnAddField, OnAfterInsert, OnChecked, OnDoubleClick, OnInsert, OnRemoved, OnRemoving, OnRemovingField, OnSelect, OnSet, accept, all_stats, checked, choices, count_in_group, default, field_stats, fields, fields_independent, format, global_name, group_stats, groups_occupied, label, mean, median, mode, rows_in_group, size, sortable, std, units, user_can_remove

Properties [hide private]
  in_qsf
False if not saved in any session (qsf) file.

Inherited from table.SimpleTable: auto_accept, auto_add_fields, auto_default, auto_format

Inherited from table.Table: custom, max_bools, max_fields, notebook, notebook_items

Inherited from object: __class__

Method Details [hide private]

__init__(self, trialset_name, in_qsf=False)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

dispose(self)

source code 

Releases references to improve chances of garbage collection.

Overrides: table.Table.dispose
(inherited documentation)

append_trial(self, model_tree, row_dict)

source code 

Appends a row.

Parameters:
  • model_tree - a model in qubx.tree QMF format (e.g. QubX.Models.file.as_tree())
  • row_dict - {column_name : value} -- if column_name doesn't exist, it will be created.

Instance Variable Details [hide private]

trialset_name

onscreen label, e.g. name of the algorithm that created it

Property Details [hide private]

in_qsf

False if not saved in any session (qsf) file.

Get Method:
unreachable(self)
Set Method:
unreachable(self, x)