/*! \page libshogun_examples C++ libshogun接口例子

本页面包含了所有C++ libshogun接口的例子。

\li \subpage libshogun_balanced_examples 
\li \subpage libshogun_base_examples 
\li \subpage libshogun_basic_examples 
\li \subpage libshogun_classifier_examples 
\li \subpage libshogun_clustering_examples 
\li \subpage libshogun_converter_examples 
\li \subpage libshogun_evaluation_examples 
\li \subpage libshogun_features_examples 
\li \subpage libshogun_kernel_examples 
\li \subpage libshogun_labels_examples 
\li \subpage libshogun_library_examples 
\li \subpage libshogun_mathematics_examples 
\li \subpage libshogun_modelselection_examples 
\li \subpage libshogun_optimization_examples 
\li \subpage libshogun_parameter_examples 
\li \subpage libshogun_preprocessor_examples 
\li \subpage libshogun_random_examples 
\li \subpage libshogun_regression_examples 
\li \subpage libshogun_serialization_examples 
\li \subpage libshogun_so_examples 
\li \subpage libshogun_splitting_examples 
\li \subpage libshogun_statistics.cp_examples 
\li \subpage libshogun_statistics_examples 
\li \subpage libshogun_streaming_examples 
\li \subpage libshogun_transfer_examples 

如果要运行这些例子你需要像下面这样编译它们:
\verbatim
g++ name_of_example.cpp -lshogun
\endverbatim

如果你是将libshogun安装到非标准目录，你需要指定库目录和头文件目录，例如
\verbatim
g++ -I/path/to/libshogun/includes name_of_example.cpp -L/path/to/libshogun/sofile -lshogun
\endverbatim

如果shogun被安装到标准目录，可以像下面这样运行例子
\verbatim
./name_of_example
\endverbatim
相反如果被安装到非标准目录（那样它们不能被动态链接器找到），你需要指定
\verbatim
LD_LIBRARY_PATH=path/to/libshogun ./name_of_example
\endverbatim
		
\section libshogun_balanced_examples Balanced


\li <b>../examples/documented/libshogun/balanced_conditional_probability_tree.cpp</b>
\verbinclude balanced_conditional_probability_tree.cpp

\section libshogun_base_examples Base


\li <b>../examples/documented/libshogun/base_load_all_file_parameters.cpp</b>
\verbinclude base_load_all_file_parameters.cpp

\li <b>../examples/documented/libshogun/base_load_file_parameters.cpp</b>
\verbinclude base_load_file_parameters.cpp

\li <b>../examples/documented/libshogun/base_map_parameters.cpp</b>
\verbinclude base_map_parameters.cpp

\li <b>../examples/documented/libshogun/base_migration_dropping_and_new.cpp</b>
\verbinclude base_migration_dropping_and_new.cpp

\li <b>../examples/documented/libshogun/base_migration_multiple_dependencies.cpp</b>
\verbinclude base_migration_multiple_dependencies.cpp

\li <b>../examples/documented/libshogun/base_migration_type_conversion.cpp</b>
\verbinclude base_migration_type_conversion.cpp

\li <b>../examples/documented/libshogun/base_parameter_map.cpp</b>
\verbinclude base_parameter_map.cpp

\section libshogun_basic_examples Basic


\li <b>../examples/documented/libshogun/basic_minimal.cpp</b>
\verbinclude basic_minimal.cpp

\section libshogun_classifier_examples Classifier


\li <b>../examples/documented/libshogun/classifier_conjugateindex.cpp</b>
\verbinclude classifier_conjugateindex.cpp

\li <b>../examples/documented/libshogun/classifier_featureblocklogisticregression.cpp</b>
\verbinclude classifier_featureblocklogisticregression.cpp

\li <b>../examples/documented/libshogun/classifier_gaussiannaivebayes.cpp</b>
\verbinclude classifier_gaussiannaivebayes.cpp

\li <b>../examples/documented/libshogun/classifier_larank.cpp</b>
\verbinclude classifier_larank.cpp

\li <b>../examples/documented/libshogun/classifier_latent_svm.cpp</b>
\verbinclude classifier_latent_svm.cpp

\li <b>../examples/documented/libshogun/classifier_libsvm.cpp</b>
\verbinclude classifier_libsvm.cpp

\li <b>../examples/documented/libshogun/classifier_minimal_svm.cpp</b>
\verbinclude classifier_minimal_svm.cpp

\li <b>../examples/documented/libshogun/classifier_mklmulticlass.cpp</b>
\verbinclude classifier_mklmulticlass.cpp

\li <b>../examples/documented/libshogun/classifier_multiclass_ecoc.cpp</b>
\verbinclude classifier_multiclass_ecoc.cpp

\li <b>../examples/documented/libshogun/classifier_multiclass_ecoc_discriminant.cpp</b>
\verbinclude classifier_multiclass_ecoc_discriminant.cpp

\li <b>../examples/documented/libshogun/classifier_multiclass_ecoc_random.cpp</b>
\verbinclude classifier_multiclass_ecoc_random.cpp

\li <b>../examples/documented/libshogun/classifier_multiclass_relaxedtree.cpp</b>
\verbinclude classifier_multiclass_relaxedtree.cpp

\li <b>../examples/documented/libshogun/classifier_multiclass_shareboost.cpp</b>
\verbinclude classifier_multiclass_shareboost.cpp

\li <b>../examples/documented/libshogun/classifier_multiclasslibsvm.cpp</b>
\verbinclude classifier_multiclasslibsvm.cpp

\li <b>../examples/documented/libshogun/classifier_multiclasslinearmachine.cpp</b>
\verbinclude classifier_multiclasslinearmachine.cpp

\li <b>../examples/documented/libshogun/classifier_nearest_centroid.cpp</b>
\verbinclude classifier_nearest_centroid.cpp

\li <b>../examples/documented/libshogun/classifier_newtontest.cpp</b>
\verbinclude classifier_newtontest.cpp

\li <b>../examples/documented/libshogun/classifier_qda.cpp</b>
\verbinclude classifier_qda.cpp

\section libshogun_clustering_examples Clustering


\li <b>../examples/documented/libshogun/clustering_kmeans.cpp</b>
\verbinclude clustering_kmeans.cpp

\section libshogun_converter_examples Converter


\li <b>../examples/documented/libshogun/converter_diffusionmaps.cpp</b>
\verbinclude converter_diffusionmaps.cpp

\li <b>../examples/documented/libshogun/converter_hessianlocallylinearembedding.cpp</b>
\verbinclude converter_hessianlocallylinearembedding.cpp

\li <b>../examples/documented/libshogun/converter_isomap.cpp</b>
\verbinclude converter_isomap.cpp

\li <b>../examples/documented/libshogun/converter_kernellocallylinearembedding.cpp</b>
\verbinclude converter_kernellocallylinearembedding.cpp

\li <b>../examples/documented/libshogun/converter_kernellocaltangentspacealignment.cpp</b>
\verbinclude converter_kernellocaltangentspacealignment.cpp

\li <b>../examples/documented/libshogun/converter_laplacianeigenmaps.cpp</b>
\verbinclude converter_laplacianeigenmaps.cpp

\li <b>../examples/documented/libshogun/converter_linearlocaltangentspacealignment.cpp</b>
\verbinclude converter_linearlocaltangentspacealignment.cpp

\li <b>../examples/documented/libshogun/converter_localitypreservingprojections.cpp</b>
\verbinclude converter_localitypreservingprojections.cpp

\li <b>../examples/documented/libshogun/converter_locallylinearembedding.cpp</b>
\verbinclude converter_locallylinearembedding.cpp

\li <b>../examples/documented/libshogun/converter_localtangentspacealignment.cpp</b>
\verbinclude converter_localtangentspacealignment.cpp

\li <b>../examples/documented/libshogun/converter_multidimensionalscaling.cpp</b>
\verbinclude converter_multidimensionalscaling.cpp

\li <b>../examples/documented/libshogun/converter_neighborhoodpreservingembedding.cpp</b>
\verbinclude converter_neighborhoodpreservingembedding.cpp

\li <b>../examples/documented/libshogun/converter_stochasticproximityembedding.cpp</b>
\verbinclude converter_stochasticproximityembedding.cpp

\section libshogun_evaluation_examples Evaluation


\li <b>../examples/documented/libshogun/evaluation_cross_validation_classification.cpp</b>
\verbinclude evaluation_cross_validation_classification.cpp

\li <b>../examples/documented/libshogun/evaluation_cross_validation_locked_comparison.cpp</b>
\verbinclude evaluation_cross_validation_locked_comparison.cpp

\li <b>../examples/documented/libshogun/evaluation_cross_validation_mkl_weight_storage.cpp</b>
\verbinclude evaluation_cross_validation_mkl_weight_storage.cpp

\li <b>../examples/documented/libshogun/evaluation_cross_validation_multiclass.cpp</b>
\verbinclude evaluation_cross_validation_multiclass.cpp

\li <b>../examples/documented/libshogun/evaluation_cross_validation_multiclass_mkl.cpp</b>
\verbinclude evaluation_cross_validation_multiclass_mkl.cpp

\li <b>../examples/documented/libshogun/evaluation_cross_validation_regression.cpp</b>
\verbinclude evaluation_cross_validation_regression.cpp

\section libshogun_features_examples Features


\li <b>../examples/documented/libshogun/features_copy_subset_simple_features.cpp</b>
\verbinclude features_copy_subset_simple_features.cpp

\li <b>../examples/documented/libshogun/features_copy_subset_sparse_features.cpp</b>
\verbinclude features_copy_subset_sparse_features.cpp

\li <b>../examples/documented/libshogun/features_copy_subset_string_features.cpp</b>
\verbinclude features_copy_subset_string_features.cpp

\li <b>../examples/documented/libshogun/features_create_merged_copy.cpp</b>
\verbinclude features_create_merged_copy.cpp

\li <b>../examples/documented/libshogun/features_subset_labels.cpp</b>
\verbinclude features_subset_labels.cpp

\li <b>../examples/documented/libshogun/features_subset_simple_features.cpp</b>
\verbinclude features_subset_simple_features.cpp

\li <b>../examples/documented/libshogun/features_subset_sparse_features.cpp</b>
\verbinclude features_subset_sparse_features.cpp

\li <b>../examples/documented/libshogun/features_subset_stack.cpp</b>
\verbinclude features_subset_stack.cpp

\section libshogun_kernel_examples Kernel


\li <b>../examples/documented/libshogun/kernel_custom.cpp</b>
\verbinclude kernel_custom.cpp

\li <b>../examples/documented/libshogun/kernel_custom_kernel.cpp</b>
\verbinclude kernel_custom_kernel.cpp

\li <b>../examples/documented/libshogun/kernel_gaussian.cpp</b>
\verbinclude kernel_gaussian.cpp

\li <b>../examples/documented/libshogun/kernel_machine_train_locked.cpp</b>
\verbinclude kernel_machine_train_locked.cpp

\li <b>../examples/documented/libshogun/kernel_revlin.cpp</b>
\verbinclude kernel_revlin.cpp

\section libshogun_labels_examples Labels


\li <b>../examples/documented/libshogun/labels_binary_fit_sigmoid.cpp</b>
\verbinclude labels_binary_fit_sigmoid.cpp

\section libshogun_library_examples Library


\li <b>../examples/documented/libshogun/library_cover_tree.cpp</b>
\verbinclude library_cover_tree.cpp

\li <b>../examples/documented/libshogun/library_dyn_int.cpp</b>
\verbinclude library_dyn_int.cpp

\li <b>../examples/documented/libshogun/library_fibonacci_heap.cpp</b>
\verbinclude library_fibonacci_heap.cpp

\li <b>../examples/documented/libshogun/library_gc_array.cpp</b>
\verbinclude library_gc_array.cpp

\li <b>../examples/documented/libshogun/library_hash.cpp</b>
\verbinclude library_hash.cpp

\li <b>../examples/documented/libshogun/library_indirect_object.cpp</b>
\verbinclude library_indirect_object.cpp

\li <b>../examples/documented/libshogun/library_map.cpp</b>
\verbinclude library_map.cpp

\li <b>../examples/documented/libshogun/library_set.cpp</b>
\verbinclude library_set.cpp

\section libshogun_mathematics_examples Mathematics


\li <b>../examples/documented/libshogun/mathematics_arpack.cpp</b>
\verbinclude mathematics_arpack.cpp

\li <b>../examples/documented/libshogun/mathematics_confidence_intervals.cpp</b>
\verbinclude mathematics_confidence_intervals.cpp

\li <b>../examples/documented/libshogun/mathematics_lapack.cpp</b>
\verbinclude mathematics_lapack.cpp

\section libshogun_modelselection_examples Modelselection


\li <b>../examples/documented/libshogun/modelselection_apply_parameter_tree.cpp</b>
\verbinclude modelselection_apply_parameter_tree.cpp

\li <b>../examples/documented/libshogun/modelselection_grid_search_kernel.cpp</b>
\verbinclude modelselection_grid_search_kernel.cpp

\li <b>../examples/documented/libshogun/modelselection_grid_search_krr.cpp</b>
\verbinclude modelselection_grid_search_krr.cpp

\li <b>../examples/documented/libshogun/modelselection_grid_search_linear.cpp</b>
\verbinclude modelselection_grid_search_linear.cpp

\li <b>../examples/documented/libshogun/modelselection_grid_search_mkl.cpp</b>
\verbinclude modelselection_grid_search_mkl.cpp

\li <b>../examples/documented/libshogun/modelselection_grid_search_string_kernel.cpp</b>
\verbinclude modelselection_grid_search_string_kernel.cpp

\li <b>../examples/documented/libshogun/modelselection_model_selection_parameters_test.cpp</b>
\verbinclude modelselection_model_selection_parameters_test.cpp

\li <b>../examples/documented/libshogun/modelselection_parameter_combination_test.cpp</b>
\verbinclude modelselection_parameter_combination_test.cpp

\li <b>../examples/documented/libshogun/modelselection_parameter_tree.cpp</b>
\verbinclude modelselection_parameter_tree.cpp

\section libshogun_optimization_examples Optimization


\li <b>../examples/documented/libshogun/optimization_lbfgs.cpp</b>
\verbinclude optimization_lbfgs.cpp

\section libshogun_parameter_examples Parameter


\li <b>../examples/documented/libshogun/parameter_iterate_float64.cpp</b>
\verbinclude parameter_iterate_float64.cpp

\li <b>../examples/documented/libshogun/parameter_iterate_sgobject.cpp</b>
\verbinclude parameter_iterate_sgobject.cpp

\li <b>../examples/documented/libshogun/parameter_modsel_parameters.cpp</b>
\verbinclude parameter_modsel_parameters.cpp

\li <b>../examples/documented/libshogun/parameter_set_from_parameters.cpp</b>
\verbinclude parameter_set_from_parameters.cpp

\section libshogun_preprocessor_examples Preprocessor


\li <b>../examples/documented/libshogun/preprocessor_randomfouriergauss.cpp</b>
\verbinclude preprocessor_randomfouriergauss.cpp

\section libshogun_random_examples Random


\li <b>../examples/documented/libshogun/random_conditional_probability_tree.cpp</b>
\verbinclude random_conditional_probability_tree.cpp

\section libshogun_regression_examples Regression


\li <b>../examples/documented/libshogun/regression_gaussian_process_ard.cpp</b>
\verbinclude regression_gaussian_process_ard.cpp

\li <b>../examples/documented/libshogun/regression_gaussian_process_fitc.cpp</b>
\verbinclude regression_gaussian_process_fitc.cpp

\li <b>../examples/documented/libshogun/regression_gaussian_process_gaussian.cpp</b>
\verbinclude regression_gaussian_process_gaussian.cpp

\li <b>../examples/documented/libshogun/regression_gaussian_process_laplace.cpp</b>
\verbinclude regression_gaussian_process_laplace.cpp

\li <b>../examples/documented/libshogun/regression_gaussian_process_product.cpp</b>
\verbinclude regression_gaussian_process_product.cpp

\li <b>../examples/documented/libshogun/regression_gaussian_process_sum.cpp</b>
\verbinclude regression_gaussian_process_sum.cpp

\section libshogun_serialization_examples Serialization


\li <b>../examples/documented/libshogun/serialization_basic_tests.cpp</b>
\verbinclude serialization_basic_tests.cpp

\li <b>../examples/documented/libshogun/serialization_file_formats.cpp</b>
\verbinclude serialization_file_formats.cpp

\section libshogun_so_examples So


\li <b>../examples/documented/libshogun/so_hmsvm_mosek.cpp</b>
\verbinclude so_hmsvm_mosek.cpp

\li <b>../examples/documented/libshogun/so_hmsvm_mosek_simple.cpp</b>
\verbinclude so_hmsvm_mosek_simple.cpp

\li <b>../examples/documented/libshogun/so_multiclass.cpp</b>
\verbinclude so_multiclass.cpp

\li <b>../examples/documented/libshogun/so_multiclass_BMRM.cpp</b>
\verbinclude so_multiclass_BMRM.cpp

\section libshogun_splitting_examples Splitting


\li <b>../examples/documented/libshogun/splitting_standard_crossvalidation.cpp</b>
\verbinclude splitting_standard_crossvalidation.cpp

\li <b>../examples/documented/libshogun/splitting_stratified_crossvalidation.cpp</b>
\verbinclude splitting_stratified_crossvalidation.cpp

\section libshogun_statistics.cp_examples Statistics.Cp


\li <b>../examples/documented/libshogun/statistics.cpp</b>
\verbinclude statistics.cpp

\section libshogun_statistics_examples Statistics


\li <b>../examples/documented/libshogun/statistics_hsic.cpp</b>
\verbinclude statistics_hsic.cpp

\li <b>../examples/documented/libshogun/statistics_linear_time_mmd.cpp</b>
\verbinclude statistics_linear_time_mmd.cpp

\li <b>../examples/documented/libshogun/statistics_linear_time_mmd_kernel_choice.cpp</b>
\verbinclude statistics_linear_time_mmd_kernel_choice.cpp

\li <b>../examples/documented/libshogun/statistics_quadratic_time_mmd.cpp</b>
\verbinclude statistics_quadratic_time_mmd.cpp

\section libshogun_streaming_examples Streaming


\li <b>../examples/documented/libshogun/streaming_from_simple.cpp</b>
\verbinclude streaming_from_simple.cpp

\li <b>../examples/documented/libshogun/streaming_onlineliblinear.cpp</b>
\verbinclude streaming_onlineliblinear.cpp

\li <b>../examples/documented/libshogun/streaming_onlinesvmsgd.cpp</b>
\verbinclude streaming_onlinesvmsgd.cpp

\li <b>../examples/documented/libshogun/streaming_stringfeatures.cpp</b>
\verbinclude streaming_stringfeatures.cpp

\li <b>../examples/documented/libshogun/streaming_vowpalwabbit.cpp</b>
\verbinclude streaming_vowpalwabbit.cpp

\li <b>../examples/documented/libshogun/streaming_vwfeatures.cpp</b>
\verbinclude streaming_vwfeatures.cpp

\section libshogun_transfer_examples Transfer


\li <b>../examples/documented/libshogun/transfer_multitaskleastsquaresregression.cpp</b>
\verbinclude transfer_multitaskleastsquaresregression.cpp

\li <b>../examples/documented/libshogun/transfer_multitasklogisticregression.cpp</b>
\verbinclude transfer_multitasklogisticregression.cpp
*/