00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef SURPRISE_SURPRISEOPTS_C_DEFINED
00039 #define SURPRISE_SURPRISEOPTS_C_DEFINED
00040
00041 #include "Surprise/SurpriseOpts.H"
00042
00043 #include "Component/ModelOptionDef.H"
00044 #include "Image/Dims.H"
00045 #include "Image/Point2D.H"
00046
00047 const ModelOptionCateg MOC_SURPRISE = {
00048 MOC_SORTPRI_3, "Surprise-Related Options" };
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070 const ModelOptionDef OPT_SingleChannelSurpriseSQlen =
00071 { MODOPT_ARG(unsigned int), "SingleChannelSurpriseSQlen", &MOC_SURPRISE, OPTEXP_CORE,
00072 "Number of feed-through surprise models",
00073 "surprise-qlen", '\0', "<uint>", "5" };
00074
00075
00076 const ModelOptionDef OPT_SingleChannelSurpriseUpdFac =
00077 { MODOPT_ARG(double), "SingleChannelSurpriseUpdFac", &MOC_SURPRISE, OPTEXP_CORE,
00078 "Local surprise update factor",
00079 "surprise-updfac", '\0', "<double>", "0.7" };
00080
00081
00082 const ModelOptionDef OPT_SingleChannelSurpriseNeighUpdFac =
00083 { MODOPT_ARG(double), "SingleChannelSurpriseNeighUpdFac", &MOC_SURPRISE, OPTEXP_CORE,
00084 "Neighborhood surprise update factor, or 0.0 to use the same value as "
00085 "the local surprise update factor",
00086 "surprise-neighupdfac", '\0', "<double>", "0.7" };
00087
00088
00089 const ModelOptionDef OPT_SingleChannelSurpriseProbe =
00090 { MODOPT_ARG(Point2D<int>), "SingleChannelSurpriseProbe", &MOC_SURPRISE, OPTEXP_CORE,
00091 "Location of a virtual electrode probe; various model and surprise "
00092 "readings from this location will be printed out if not (-1, -1)",
00093 "surprise-probe", '\0', "<x>,<y>", "-1,-1" };
00094
00095
00096 const ModelOptionDef OPT_SingleChannelSurpriseSLfac =
00097 { MODOPT_ARG(double), "SingleChannelSurpriseSLfac", &MOC_SURPRISE, OPTEXP_CORE,
00098 "Factor for contribution of local temporal surprise to total surprise",
00099 "surprise-slfac", '\0', "<double>", "1.0" };
00100
00101
00102 const ModelOptionDef OPT_SingleChannelSurpriseSSfac =
00103 { MODOPT_ARG(double), "SingleChannelSurpriseSSfac", &MOC_SURPRISE, OPTEXP_CORE,
00104 "Factor for contribution of spatial surprise to total surprise",
00105 "surprise-ssfac", '\0', "<double>", "0.1" };
00106
00107
00108 const ModelOptionDef OPT_SingleChannelSurpriseNeighSigma =
00109 { MODOPT_ARG(float), "SingleChannelSurpriseNeighSigma", &MOC_SURPRISE, OPTEXP_CORE,
00110 "Factor for neighborhoods surprise size",
00111 "surprise-neighsig", '\0', "<float>", "0.5" };
00112
00113
00114 const ModelOptionDef OPT_SingleChannelSurpriseLocSigma =
00115 { MODOPT_ARG(float), "SingleChannelSurpriseLocSigma", &MOC_SURPRISE, OPTEXP_CORE,
00116 "Factor for the local surprise size",
00117 "surprise-locsig", '\0', "<float>", "3.0" };
00118
00119
00120 const ModelOptionDef OPT_SingleChannelSurpriseLogged =
00121 { MODOPT_FLAG, "SingleChannelSurpriseLogged", &MOC_SURPRISE, OPTEXP_CORE,
00122 "Save each surprise map and log the parameters used in its creation",
00123 "surprise-logged", '\0', "", "false"};
00124
00125
00126 const ModelOptionDef OPT_SingleChannelSurpriseKLBias =
00127 { MODOPT_ARG(std::string), "VisualCortexSurpriseKLBias", &MOC_SURPRISE, OPTEXP_CORE,
00128 "Bias to apply to KL is joint surprise model",
00129 "surprise-kl-bias", '\0', "<None|Static>", "None" };
00130
00131
00132 const ModelOptionDef OPT_SingleChannelSurpriseTakeSTMax =
00133 { MODOPT_FLAG, "SingleChannelSurpriseTakeSTMax", &MOC_SURPRISE, OPTEXP_CORE,
00134 "Use a max operator to combine space-time rather than using the product",
00135 "surprise-take-st-max", '\0', "", "false"};
00136
00137
00138 const ModelOptionDef OPT_VisualCortexSurpriseType =
00139 { MODOPT_ARG(std::string), "VisualCortexSurpriseType", &MOC_SURPRISE, OPTEXP_CORE,
00140 "Type of surprise models to use for the VisualCortex and Channels",
00141 "surprise-type", '\0', "<Gaussian|Poisson|Poisson1|PoissonConst|PoissonFloat|ChiSqaure|JointGG|Nathan|Outlier>", "Poisson" };
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151 #endif // SURPRISE_SURPRISEOPTS_C_DEFINED