| 1 |
# PARAMETERS TO AUTOCLASS-SEARCH -- AutoClass C |
| 2 |
# --------------------------------------------------------------- |
| 3 |
# as the first character makes the line a comment, or |
| 4 |
! as the first character makes the line a comment, or |
| 5 |
; as the first character makes the line a comment, or |
| 6 |
;;; '\n' as the first character (empty line) makes the line a comment. |
| 7 |
|
| 8 |
# to override the following default parameters, |
| 9 |
# enter below the line => #!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!; |
| 10 |
# <parameter_name> = <parameter_value>, or |
| 11 |
# <parameter_name> <parameter_value>, or # separator is a space |
| 12 |
# <parameter_name>\tab<parameter_value>. |
| 13 |
# note: blanks/spaces are ignored if '=', or '\tab' are separators; |
| 14 |
# note: no trailing ';'s. |
| 15 |
# --------------------------------------------------------------- |
| 16 |
# DEFAULT PARAMETERS |
| 17 |
# --------------------------------------------------------------- |
| 18 |
# rel_error = 0.01 |
| 19 |
! passed to clsf-DS-%= when deciding if a new clsf is duplicate of old |
| 20 |
|
| 21 |
# start_j_list = 2, 3, 5, 7, 10, 15, 25 |
| 22 |
! initially try these numbers of classes, so not to narrow the search |
| 23 |
! too quickly. the state of this list is saved in the <..>.search file |
| 24 |
! and used on restarts, unless an override specification of start_j_list |
| 25 |
! is made in this file for the restart run. |
| 26 |
! start_j_list = -999 specifies an empty list (allowed only on restarts) |
| 27 |
|
| 28 |
# n_classes_fn_type = "random_ln_normal" |
| 29 |
! will call this function to decide how many classes to start next try |
| 30 |
! with, based on best clsfs found so far. |
| 31 |
! only "random_ln_normal" so far |
| 32 |
|
| 33 |
# fixed_j = 0 |
| 34 |
! if not 0, overrides start_j_list and n_classes_fn_type, and always uses |
| 35 |
! this value as j-in |
| 36 |
|
| 37 |
# min_report_period = 30 |
| 38 |
! wait at least this time (in seconds) since last report until |
| 39 |
! reporting verbosely again |
| 40 |
|
| 41 |
# max_duration = 0 |
| 42 |
! the search will end this time (in seconds) from start if it hasn't already |
| 43 |
|
| 44 |
# max_n_tries = 0 |
| 45 |
! if > 0, search will end after this many clsf tries have been done |
| 46 |
|
| 47 |
# n_save = 2 |
| 48 |
! save this many clsfs to disk in the .results[-bin] and .search files. |
| 49 |
! if 0, don't save anything (no .search & .results[-bin] files) |
| 50 |
|
| 51 |
# log_file_p = true |
| 52 |
! if false, do not write a log file |
| 53 |
|
| 54 |
# search_file_p = true |
| 55 |
! if false, do not write a search file |
| 56 |
|
| 57 |
# results_file_p = true |
| 58 |
! if false, do not write a results file |
| 59 |
|
| 60 |
# min_save_period = 1800 |
| 61 |
! to protect against possible cpu crash, will save to disk this often |
| 62 |
! (in seconds => 30 minutes) |
| 63 |
|
| 64 |
# max_n_store = 10 |
| 65 |
! don't store any more than this many clsfs internally |
| 66 |
|
| 67 |
# n_final_summary = 10 |
| 68 |
! print out descriptions of this many of the trials at the end of the search |
| 69 |
|
| 70 |
# start_fn_type = "random" |
| 71 |
! clsf start function: "random" or "block" |
| 72 |
! "block" is used for testing -- it produces repeatable searches. |
| 73 |
|
| 74 |
# try_fn_type = "converge_search_3" |
| 75 |
! clsf try function: "converge_search_3", "converge_search_4" or "converge" |
| 76 |
! "converge_search_3" uses an absolute stopping criterion for maximum |
| 77 |
! class variation between successive convergence cycles. |
| 78 |
! "converge_search_4" uses an absolute stopping criterion for the slope of |
| 79 |
! class variation over sigma_beta_n_values cycles. |
| 80 |
! "converge" uses a criterion which tests the variation all the classes |
| 81 |
! aggregated together. |
| 82 |
|
| 83 |
# initial_cycles_p = true |
| 84 |
! if true, perform base_cycle in initialize_parameters |
| 85 |
! false is used only for testing |
| 86 |
|
| 87 |
# save_compact_p = true |
| 88 |
! true saves classifications as machine dependent binary (.results-bin & |
| 89 |
! .chkpt-bin); false saves as ascii text (.results & .chkpt) |
| 90 |
|
| 91 |
# read_compact_p = true |
| 92 |
! true reads classifications as machine dependent binary (.results-bin & |
| 93 |
! .chkpt-bin); false reads as ascii text (.results & .chkpt) |
| 94 |
|
| 95 |
# randomize_random_p = true |
| 96 |
! false seeds lrand48, the pseudo-random number function with 1 |
| 97 |
! to give repeatable test cases. True uses universal time clock |
| 98 |
! as the seed, giving semi-random searches. |
| 99 |
|
| 100 |
# n_data = 0 |
| 101 |
! if > 0, will only read this many datum from .db2, rather than the whole file |
| 102 |
|
| 103 |
# halt_range = 0.5 |
| 104 |
! passed to try_fn_type "converge" |
| 105 |
! one of two candidate tests for log_marginal (clsf->log_a_x_h) delta between |
| 106 |
! successive convergence cycles. the largest of halt_range and (halt_factor * |
| 107 |
! current_log_marginal) is used. |
| 108 |
! increasing this value loosens the convergence and reduces the number of |
| 109 |
! cycles. decreasing this value tightens the convergence and increases the |
| 110 |
! number of cycles |
| 111 |
|
| 112 |
# halt_factor = 0.0001 |
| 113 |
! passed to try_fn_type "converge" |
| 114 |
! one of two candidate tests for log_marginal (clsf->log_a_x_h) delta between |
| 115 |
! successive convergence cycles. the largest of halt_range and (halt_factor * |
| 116 |
! current_log_marginal) is used. |
| 117 |
! increasing this value loosens the convergence and reduces the number of |
| 118 |
! cycles. decreasing this value tightens the convergence and increases the |
| 119 |
! number of cycles |
| 120 |
|
| 121 |
# rel_delta_range = 0.0025 |
| 122 |
! passed to try function "converge_search_3" |
| 123 |
! delta for each class of log aprox-marginal-likelihood of class statistics |
| 124 |
! with-respect-to the class hypothesis (class->log_a_w_s_h_j) divided by the |
| 125 |
! class weight (class->w_j) between successive convergence cycles. |
| 126 |
! increasing this value loosens the convergence and reduces the number of |
| 127 |
! cycles. decreasing this value tightens the convergence and increases the |
| 128 |
! number of cycles |
| 129 |
|
| 130 |
# cs4_delta_range = 0.0025 |
| 131 |
! passed to try function "converge_search_4" |
| 132 |
! delta for each class of log aprox-marginal-likelihood of class statistics |
| 133 |
! with-respect-to the class hypothesis (class->log_a_w_s_h_j) divided by the |
| 134 |
! class weight (class->w_j) over sigma_beta_n_values convergence cycles. |
| 135 |
! increasing this value loosens the convergence and reduces the number of |
| 136 |
! cycles. decreasing this value tightens the convergence and increases the |
| 137 |
! number of cycles |
| 138 |
|
| 139 |
# n_average = 3 |
| 140 |
! passed to try functions "converge_search_3" and "converge" |
| 141 |
! The number of cycles for which the convergence criterion must be satisfied |
| 142 |
! for the trial to terminate. |
| 143 |
|
| 144 |
# sigma_beta_n_values = 6 |
| 145 |
! passed to try_fn_type "converge_search_4" |
| 146 |
! number of past values to use in computing sigma^2 (noise) and beta^2 |
| 147 |
! (signal). |
| 148 |
|
| 149 |
# max_cycles = 200 |
| 150 |
! passed to all try functions. They will end a trial if this many cycles |
| 151 |
! have been done and the convergence criterion has not been satisfied. |
| 152 |
|
| 153 |
# converge_print_p = false |
| 154 |
! if true, the selected try function will print to the screen values useful in |
| 155 |
! specifying non-default values for halt_range, halt_factor, rel_delta_range, |
| 156 |
! n_average, sigma_beta_n_values, and range_factor. |
| 157 |
|
| 158 |
# force_new_search_p = true |
| 159 |
! If true, will ignore any previous search results, discarding the |
| 160 |
! existing .search & .results[-bin] files after confirmation by the |
| 161 |
! user; if false, will continue the search using the existing |
| 162 |
! .search & .results[-bin] files. |
| 163 |
! For repeatable results, also see min_report_period, start_fn_type |
| 164 |
! and randomize_random_p. |
| 165 |
|
| 166 |
# checkpoint_p = false |
| 167 |
! if true, checkpoints of the current classification will be output every |
| 168 |
! min_checkpoint_period seconds. file extension is .chkpt[-bin] -- useful |
| 169 |
! for very large classifications |
| 170 |
|
| 171 |
# min_checkpoint_period = 10800 |
| 172 |
! if checkpoint_p = true, the checkpointed classification will be written |
| 173 |
! this often - in seconds (= 3 hours) |
| 174 |
|
| 175 |
# reconverge_type = "" |
| 176 |
! can be either "chkpt" or "results" |
| 177 |
! if "chkpt", continue convergence of the classification contained in |
| 178 |
! <...>.chkpt[-bin] -- checkpoint_p must be true. |
| 179 |
! if "results", continue convergence of the best classification |
| 180 |
! contained in <...>.results[-bin] -- checkpoint_p must be false. |
| 181 |
|
| 182 |
# screen_output_p = true |
| 183 |
! if false, no output is directed to the screen. Assuming log_file_p = true, |
| 184 |
! output will be directed to the log file only. |
| 185 |
|
| 186 |
# interactive_p = true |
| 187 |
! if false, standard input is not queried each cycle for the character q. |
| 188 |
! Thus either parameter max_n_tires or max_duration must be specified, or |
| 189 |
! AutoClass will run forever. |
| 190 |
|
| 191 |
# break_on_warnings_p = true |
| 192 |
! The default value asks the user whether to coninue or not when data |
| 193 |
! definition warnings are found. If specified as false, then AutoClass |
| 194 |
! will continue, despite warnings -- the warning will continue to be |
| 195 |
! output to the terminal and the log file. |
| 196 |
|
| 197 |
# free_storage_p = true |
| 198 |
! The default value tells AutoClass to free the majority of its allocated |
| 199 |
! storage. This is not required, and in the case of DEC Alpha's causes |
| 200 |
! a segmentation fault. If specified as false, AutoClass will not attempt |
| 201 |
! to free storage. |
| 202 |
|
| 203 |
#!#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!; |
| 204 |
# OVERRIDE PARAMETERS |
| 205 |
#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!;#!; |
| 206 |
|
| 207 |
max_n_tries = 4 |
| 208 |
start_fn_type "block" |
| 209 |
randomize_random_p = false |
| 210 |
force_new_search_p = true |
| 211 |
;; specify a time greater than duration of run |
| 212 |
min_report_period = 30000 |
| 213 |
|
| 214 |
;; converge_print_p = true |
| 215 |
;; min_report_period = 0 |
| 216 |
;; try_fn_type = "converge_search_4" |