-
Notifications
You must be signed in to change notification settings - Fork 3
socr.model interface
This is the model object where all the computation , data manipulation and storage of data happens. All the data is stored in the private variables. socr.model is defined in the object literal pattern and the function returns all publicly available methods and properties.
This object contains the initial dataset created by the user (both incase of simulation and datadriven mode).For example, when the user generates 2 datasets from the binomial coin toss experiment,
_dataset ={0:{"index":"0", "keys":"H,T,H,H,H", "values":"1,0,1,1,1", "name":null},
1:{"index":"1", "keys":"H,T,T,H,T", "values":"1,0,0,1,0", "name":null}}
This object contains all the random samples generated by the user. Every group has random samples from all the initial group of datasets.
Why there are keys and values? Its because in some form of data input (like coin toss), the "key" contains the symbolic meaningful reference whereas the "value" contains the mathematical equivalent value.
Structure of both bootstrapGroupKeys and Values `{
"0": [ [..],[..],[..],..] ,
"1": [ [..],[..],[..],..] ,
..
}`
##Public Properties
##Public Methods