GUICommands.h

Go to the documentation of this file.
00001 /*
00002  * This program is free software you can redistribute it and/or modify
00003  * it under the terms of the GNU General Public License as published by
00004  * the Free Software Foundation either version 3 of the License, or
00005  * (at your option) any later version.
00006  *
00007  * Written (W) 2007-2008 Soeren Sonnenburg
00008  * Copyright (C) 2007-2008 Fraunhofer Institute FIRST and Max-Planck-Society
00009  */
00010 
00011 #ifndef __GUICOMMANDS_H_
00012 #define __GUICOMMANDS_H_
00013 
00014 #include <shogun/lib/config.h>
00015 #include <shogun/lib/common.h>
00016 
00017 //names of octave/python/matlab/R interface commands
00018 #define N_SEND_COMMAND                      "send_command"
00019 #define N_CRC                               "crc"
00020 #define N_TRANSLATE_STRING                  "translate_string"
00021 #define N_GET_HMM                           "get_hmm"
00022 #define N_GET_VITERBI_PATH                  "get_viterbi_path"
00023 #define N_GET_NUM_SVMS                      "get_num_svms"
00024 #define N_GET_SVM                           "get_svm"
00025 #define N_GET_CLASSIFIER                    "get_classifier"
00026 #define N_GET_CLUSTERING                    "get_clustering"
00027 #define N_GET_SVM_OBJECTIVE                 "get_svm_objective"
00028 #define N_COMPUTE_SVM_PRIMAL_OBJECTIVE      "compute_svm_primal_objective"
00029 #define N_COMPUTE_SVM_DUAL_OBJECTIVE        "compute_svm_dual_objective"
00030 #define N_COMPUTE_MKL_PRIMAL_OBJECTIVE      "compute_mkl_primal_objective"
00031 #define N_COMPUTE_MKL_DUAL_OBJECTIVE        "compute_mkl_dual_objective"
00032 #define N_COMPUTE_RELATIVE_MKL_DUALITY_GAP  "compute_relative_mkl_duality_gap"
00033 #define N_COMPUTE_ABSOLUTE_MKL_DUALITY_GAP  "compute_absolute_mkl_duality_gap"
00034 #define N_GET_KERNEL_INIT                   "get_kernel_init"
00035 #define N_GET_KERNEL_MATRIX                 "get_kernel_matrix"
00036 #define N_GET_DISTANCE_MATRIX               "get_distance_matrix"
00037 #define N_HMM_LIKELIHOOD                    "hmm_likelihood"
00038 #define N_GET_KERNEL_OPTIMIZATION           "get_kernel_optimization"
00039 #define N_COMPUTE_BY_SUBKERNELS             "compute_by_subkernels"
00040 #define N_SET_SUBKERNEL_WEIGHTS             "set_subkernel_weights"
00041 #define N_SET_SUBKERNEL_WEIGHTS_COMBINED    "set_subkernel_weights_combined"
00042 #define N_GET_DOTFEATURE_WEIGHTS_COMBINED   "get_dotfeature_weights_combined"
00043 #define N_SET_DOTFEATURE_WEIGHTS_COMBINED   "set_dotfeature_weights_combined"
00044 #define N_SET_LAST_SUBKERNEL_WEIGHTS        "set_last_subkernel_weights"
00045 #define N_SET_WD_POS_WEIGHTS                "set_WD_position_weights"
00046 #define N_GET_SUBKERNEL_WEIGHTS             "get_subkernel_weights"
00047 #define N_GET_LAST_SUBKERNEL_WEIGHTS        "get_last_subkernel_weights"
00048 #define N_GET_WD_POS_WEIGHTS                "get_WD_position_weights"
00049 #define N_COMPUTE_POIM_WD                   "compute_poim_wd"
00050 #define N_GET_WD_SCORING                    "get_WD_scoring"
00051 #define N_GET_WD_CONSENSUS                  "get_WD_consensus"
00052 #define N_GET_SPEC_SCORING                  "get_SPEC_scoring"
00053 #define N_GET_SPEC_CONSENSUS                "get_SPEC_consensus"
00054 #define N_GET_FEATURES                      "get_features"
00055 #define N_GET_LABELS                        "get_labels"
00056 #define N_GET_VERSION                       "get_version"
00057 #define N_GET_PREPROC_INIT                  "get_preproc_init"
00058 #define N_GET_HMM_DEFS                      "get_hmm_defs"
00059 #define N_SET_HMM                           "set_hmm"
00060 #define N_MODEL_PROB_NO_B_TRANS             "model_prob_no_b_trans"
00061 #define N_BEST_PATH_NO_B_TRANS              "best_path_no_b_trans"
00062 #define N_SIGNALS_SET_MODEL             "signals_set_model"
00063 #define N_SIGNALS_SET_POSITIONS             "signals_set_positions"
00064 #define N_SIGNALS_SET_LABELS                "signals_set_labels"
00065 #define N_SIGNALS_SET_SPLIT             "signals_set_split"
00066 #define N_SIGNALS_SET_TRAIN_MASK            "signals_set_train_mask"
00067 #define N_SIGNALS_ADD_FEATURE               "signals_add_feature"
00068 #define N_SIGNALS_ADD_KERNEL                "signals_add_kernel"
00069 #define N_SIGNALS_RUN                   "signals_run"
00070 #define N_BEST_PATH_TRANS_DERIV             "best_path_trans_deriv"
00071 #define N_BEST_PATH_TRANS                   "best_path_trans"
00072 #define N_SET_PLIF_STRUCT                   "set_plif_struct"
00073 #define N_GET_PLIF_STRUCT                   "get_plif_struct"
00074 #define N_PRECOMPUTE_SUBKERNELS             "precompute_subkernels"
00075 #define N_PRECOMPUTE_CONTENT_SVMS           "precompute_content_svms"
00076 #define N_GET_LIN_FEAT                  "get_lin_feat"
00077 #define N_INIT_INTRON_LIST              "init_intron_list"
00078 #define N_SET_LIN_FEAT                  "set_lin_feat"
00079 #define N_INIT_DYN_PROG                 "init_dyn_prog"
00080 #define N_CLEAN_UP_DYN_PROG                 "clean_up_dyn_prog"
00081 #define N_PRECOMPUTE_TILING_FEATURES            "precompute_tiling_features"
00082 #define N_LONG_TRANSITION_SETTINGS          "long_transition_settings"
00083 #define N_SET_MODEL                 "set_model"
00084 #define N_SET_FEATURE_MATRIX                "set_feature_matrix"
00085 #define N_SET_FEATURE_MATRIX_SPARSE         "set_feature_matrix_sparse"
00086 #define N_BEST_PATH_2STRUCT                 "best_path_2struct"
00087 #define N_BEST_PATH_TRANS_SIMPLE            "best_path_trans_simple"
00088 #define N_BEST_PATH_NO_B                    "best_path_no_b"
00089 #define N_SET_SVM                           "set_svm"
00090 #define N_SET_LINEAR_CLASSIFIER             "set_linear_classifier"
00091 #define N_SET_CUSTOM_KERNEL                 "set_custom_kernel"
00092 #define N_SET_KERNEL_INIT                   "set_kernel_init"
00093 #define N_SET_KERNEL_NORMALIZATION          "set_kernel_normalization"
00094 #define N_SET_FEATURES                      "set_features"
00095 #define N_ADD_FEATURES                      "add_features"
00096 #define N_ADD_MULTIPLE_FEATURES             "add_multiple_features"
00097 #define N_ADD_DOTFEATURES                   "add_dotfeatures"
00098 #define N_DEL_LAST_FEATURES                 "del_last_features"
00099 #define N_SET_LABELS                        "set_labels"
00100 #define N_SET_PREPROC_INIT                  "set_preproc_init"
00101 #define N_SET_HMM_DEFS                      "set_hmm_defs"
00102 #define N_ONE_CLASS_HMM_CLASSIFY            "one_class_hmm_classify"
00103 #define N_ONE_CLASS_LINEAR_HMM_CLASSIFY     "one_class_linear_hmm_classify"
00104 #define N_HMM_CLASSIFY                      "hmm_classify"
00105 #define N_ONE_CLASS_HMM_CLASSIFY_EXAMPLE    "one_class_hmm_classify_example"
00106 #define N_HMM_CLASSIFY_EXAMPLE              "hmm_classify_example"
00107 #define N_CLASSIFY                          "classify"
00108 #define N_CLASSIFY_EXAMPLE                  "classify_example"
00109 #define N_SVM_CLASSIFY                      "svm_classify"
00110 #define N_SVM_CLASSIFY_EXAMPLE              "svm_classify_example"
00111 #define N_GET_PLUGIN_ESTIMATE               "get_plugin_estimate"
00112 #define N_SET_PLUGIN_ESTIMATE               "set_plugin_estimate"
00113 #define N_PLUGIN_ESTIMATE_CLASSIFY          "plugin_estimate_classify"
00114 #define N_PLUGIN_ESTIMATE_CLASSIFY_EXAMPLE  "plugin_estimate_classify_example"
00115 
00116 //names of text interface commands
00117 #define N_NEW_HMM                       "new_hmm"
00118 #define N_NEW_SVM                       "new_svm"
00119 #define N_NEW_CLASSIFIER                "new_classifier"
00120 #define N_NEW_PLUGIN_ESTIMATOR          "new_plugin_estimator"
00121 #define N_NEW_REGRESSION                "new_regression"
00122 #define N_NEW_CLUSTERING                "new_clustering"
00123 #define N_TRAIN_ESTIMATOR               "train_estimator"
00124 #define N_TRAIN_CLASSIFIER              "train_classifier"
00125 #define N_TRAIN_REGRESSION              "train_regression"
00126 #define N_TRAIN_CLUSTERING              "train_clustering"
00127 #define N_SET_PERCEPTRON_PARAMETERS     "set_perceptron_parameters"
00128 #define N_TEST_ESTIMATOR                "test_estimator"
00129 #define N_LOAD_PREPROC                  "load_preproc"
00130 #define N_SAVE_PREPROC                  "save_preproc"
00131 #define N_LOAD_HMM                      "load_hmm"
00132 #define N_SAVE_HMM                      "save_hmm"
00133 #define N_LOAD_CLASSIFIER               "load_classifier"
00134 #define N_SAVE_CLASSIFIER               "save_classifier"
00135 #define N_LOAD_LABELS                   "load_labels"
00136 #define N_LOAD_FEATURES                 "load_features"
00137 #define N_SAVE_FEATURES                 "save_features"
00138 #define N_CLEAN_FEATURES                "clean_features"
00139 #define N_RESHAPE                       "reshape"
00140 #define N_LOAD_DEFINITIONS              "load_defs"
00141 #define N_SAVE_KERNEL                   "save_kernel"
00142 #define N_SET_HMM_AS                    "set_hmm_as"
00143 #define N_NORMALIZE                     "normalize_hmm"
00144 #define N_RELATIVE_ENTROPY              "relative_entropy"
00145 #define N_ENTROPY                       "entropy"
00146 #define N_PERMUTATION_ENTROPY           "permutation_entropy"
00147 #define N_SET_KERNEL                    "set_kernel"
00148 #define N_SET_DISTANCE                  "set_distance"
00149 #define N_ADD_KERNEL                    "add_kernel"
00150 #define N_DEL_LAST_KERNEL               "del_last_kernel"
00151 #define N_CLEAN_KERNEL                  "clean_kernel"
00152 
00153 #ifdef USE_SVMLIGHT
00154 #define N_RESIZE_KERNEL_CACHE           "resize_kernel_cache"
00155 #endif //USE_SVMLIGHT
00156 
00157 #define N_SET_KERNEL_OPTIMIZATION_TYPE  "set_kernel_optimization_type"
00158 #define N_SET_PRIOR_PROBS               "set_prior_probs"
00159 #define N_SET_PRIOR_PROBS_FROM_LABELS   "set_prior_probs_from_labels"
00160 #define N_ATTACH_PREPROC                "attach_preproc"
00161 #define N_ADD_PREPROC                   "add_preproc"
00162 #define N_DEL_PREPROC                   "del_preproc"
00163 #define N_CLEAN_PREPROC                 "clean_preproc"
00164 #define N_INIT_KERNEL                   "init_kernel"
00165 #define N_INIT_DISTANCE                 "init_distance"
00166 #define N_DELETE_KERNEL_OPTIMIZATION    "delete_kernel_optimization"
00167 #define N_INIT_KERNEL_OPTIMIZATION      "init_kernel_optimization"
00168 #define N_SAVE_PATH                     "save_hmm_path"
00169 #define N_SAVE_LIKELIHOOD               "save_hmm_likelihood"
00170 #define N_BEST_PATH                     "best_path"
00171 #define N_VITERBI_TRAIN                 "vit"
00172 #define N_VITERBI_TRAIN_DEFINED         "vit_def"
00173 #define N_LINEAR_TRAIN                  "linear_train"
00174 #define N_CLEAR                         "clear"
00175 #define N_CHOP                          "chop"
00176 #define N_CONVERGENCE_CRITERIA          "convergence_criteria"
00177 #define N_PSEUDO                        "pseudo"
00178 #define N_CONVERT                       "convert"
00179 #define N_C                             "c"
00180 #define N_LOGLEVEL                      "loglevel"
00181 #define N_PROGRESS                      "progress"
00182 #define N_PRINT                         "print"
00183 #define N_ECHO                          "echo"
00184 #define N_SVMQPSIZE                     "svm_qpsize"
00185 #define N_SVMBUFSIZE                    "svm_bufsize"
00186 #define N_SVMMAXQPSIZE                  "svm_max_qpsize"
00187 #define N_THREADS                       "threads"
00188 #define N_MKL_PARAMETERS                "mkl_parameters"
00189 #define N_ENT_LAMBDA                    "elasticnet_lambda"
00190 #define N_MKL_BLOCK_NORM                "mkl_block_norm"
00191 #define N_SVM_EPSILON                   "svm_epsilon"
00192 #define N_SVM_MAX_TRAIN_TIME            "svm_max_train_time"
00193 #define N_SVR_TUBE_EPSILON              "svr_tube_epsilon"
00194 #define N_SVM_NU                        "svm_nu"
00195 #define N_SVM_USE_BIAS                  "svm_use_bias"
00196 #define N_MKL_USE_INTERLEAVED_OPTIMIZATION  "mkl_use_interleaved_optimization"
00197 #define N_DO_AUC_MAXIMIZATION           "do_auc_maximization"
00198 #define N_ADD_STATES                    "add_states"
00199 #define N_APPEND_HMM                    "append_hmm"
00200 #define N_APPEND_MODEL                  "append_model"
00201 #define N_BAUM_WELCH_TRAIN              "bw"
00202 #define N_BAUM_WELCH_TRANS_TRAIN        "bw_trans"
00203 #define N_BAUM_WELCH_TRAIN_DEFINED      "bw_def"
00204 #define N_LIKELIHOOD                    "likelihood"
00205 #define N_USE_BATCH_COMPUTATION         "use_batch_computation"
00206 #define N_USE_DIAGONAL_SPEEDUP          "use_diagonal_speedup"
00207 #define N_USE_MKL                       "use_mkl"
00208 #define N_USE_SHRINKING                 "use_shrinking"
00209 #define N_USE_LINADD                    "use_linadd"
00210 #define N_OUTPUT_HMM                    "output_hmm"
00211 #define N_OUTPUT_HMM_DEFINED            "output_hmm_defined"
00212 #define N_QUIT                          "quit"
00213 #define N_EXEC                          "exec"
00214 #define N_EXIT                          "exit"
00215 #define N_SYNTAX_HIGHLIGHT              "syntax_highlight"
00216 #define N_HELP                          "help"
00217 #define N_WHOS                          "whos"
00218 #define N_SYSTEM                        "!"
00219 #define N_SET_SOLVER                    "set_solver"
00220 #define N_SET_CONSTRAINT_GENERATOR      "set_constraint_generator"
00221 #define N_SET_THRESHOLD                 "set_threshold"
00222 #define N_INIT_RANDOM                   "init_random"
00223 #define N_SVM_TRAIN                     "svm_train"
00224 #define N_SVM_TEST                      "svm_test"
00225 #define N_ONE_CLASS_HMM_TEST            "one_class_hmm_test"
00226 #define N_HMM_TEST                      "hmm_test"
00227 #define N_SET_OUTPUT                    "set_output"
00228 #define N_SET_REF_FEAT                  "set_ref_features"
00229 #define N_TIC                           "tic"
00230 #define N_TOC                           "toc"
00231 #define N_KRR_TAU                       "krr_tau"
00232 #define N_RUN_PYTHON                    "run_python"
00233 #define N_RUN_OCTAVE                    "run_octave"
00234 #define N_RUN_R                         "run_r"
00235 #define N_PR_LOQO                       "pr_loqo"
00236 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation