autora.theorist.bsr.prior
get_prior_dict(prior_name='Uniform')
Get the dictionary of prior information as well as several list of key operator properties
Argument
prior_name: the name of the prior dictionary to use
Returns:
Name | Type | Description |
---|---|---|
ops_name_lst |
the list of operator names |
|
ops_weight_lst |
the list of operator weights |
|
prior_dict |
the dictionary of operator prior information |
Source code in temp_dir/bsr/src/autora/theorist/bsr/prior.py
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 |
|
get_prior_list(prior_name='Uniform')
Get a dictionary of key prior properties
Argument
prior_name: the name of the prior dictionary to use
Returns:
Type | Description |
---|---|
a dictionary that maps a prior property (e.g. |
Source code in temp_dir/bsr/src/autora/theorist/bsr/prior.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
|
linear_init(**hyper_params)
Initialization function for the linear operator. Two parameters, slope (a) and intercept (b) are initialized.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
hyper_params |
the dictionary for hyperparameters. Specifically, this
function requires |
{}
|
Returns:
a dictionary with initialized a
and b
parameters.
Source code in temp_dir/bsr/src/autora/theorist/bsr/prior.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|