<commit_before>LIB_PATH=/usr/lib
INC_PATH=/usr/include
VALGRINDOPTS=--tool=memcheck --error-limit=no --trace-children=yes --leak-check=full --show-reachable=yes

INCLUDES=
LIBS=
LIBS_ADD=-lshogun

LINKFLAGS=
CXXFLAGS=-O0 -g

LIBRARY_PATH=LD_LIBRARY_PATH
LINKFLAGS+=$(LIBS) $(LIBS_ADD) -L$(LIB_PATH) 
CXXFLAGS+=-I$(INC_PATH) $(INCLUDES)
CC=c++

VALGRIND_LOG = valgrind.log

TARGETS = basic_minimal \
		  classifier_libsvm \
		  classifier_libsvm_probabilities\
		  classifier_minimal_svm \
		  classifier_mklmulticlass \
  		  classifier_conjugateindex \
		  classifier_gaussiannaivebayes \
		  classifier_multiclasslibsvm \
		  classifier_qda \
		  classifier_multiclasslinearmachine \
		  kernel_gaussian kernel_revlin kernel_custom\
		  library_dyn_int library_gc_array library_indirect_object \
		  library_hash parameter_set_from_parameters \
		  parameter_iterate_float64 parameter_iterate_sgobject \
		  parameter_modsel_parameters \
		  evaluation_cross_validation_classification \
		  evaluation_cross_validation_regression \
		  evaluation_cross_validation_locked_comparison \
		  evaluation_cross_validation_multiclass \
		  evaluation_cross_validation_multiclass_mkl \
		  evaluation_cross_validation_mkl_weight_storage \
		  modelselection_parameter_combination_test \
		  regression_gaussian_process_fitc \
		  regression_gaussian_process_gaussian \
		  regression_gaussian_process_sum \
		  regression_gaussian_process_product \
		  regression_gaussian_process_ard \
		  regression_gaussian_process_laplace \
  		  regression_gaussian_process_simple_exact \
		  modelselection_model_selection_parameters_test \
		  modelselection_parameter_tree \
		  modelselection_apply_parameter_tree \
		  modelselection_grid_search_linear features_subset_labels \
		  modelselection_grid_search_kernel \
		  modelselection_grid_search_string_kernel \
		  modelselection_grid_search_multiclass_svm \
		  features_dense_real_modular \
		  features_subset_stack \
		  features_subset_simple_features \
		  features_subset_sparse_features \
		  features_copy_subset_simple_features \
		  features_copy_subset_sparse_features \
		  labels_binary_fit_sigmoid \
		  mathematics_confidence_intervals \
		  clustering_kmeans base_parameter_map \
		  base_load_file_parameters \
		  base_load_all_file_parameters \
		  base_map_parameters \
		  base_migration_type_conversion \
		  base_migration_dropping_and_new \
		  base_migration_multiple_dependencies \
		  splitting_stratified_crossvalidation \
		  splitting_standard_crossvalidation \
		  library_set \
		  library_map \
		  mathematics_lapack \
		  converter_locallylinearembedding \
		  converter_localtangentspacealignment \
		  converter_hessianlocallylinearembedding \
		  converter_kernellocallylinearembedding \
		  converter_multidimensionalscaling \
		  converter_isomap \
		  converter_diffusionmaps \
		  converter_laplacianeigenmaps \
		  converter_neighborhoodpreservingembedding \
		  converter_linearlocaltangentspacealignment \
		  converter_localitypreservingprojections \
		  converter_stochasticproximityembedding \
		  converter_factoranalysis \
		  serialization_basic_tests \
		  serialization_multiclass_labels \
		  kernel_machine_train_locked \
		  statistics \
		  transfer_multitaskleastsquaresregression \
		  transfer_multitasklogisticregression \
		  statistics_quadratic_time_mmd \
		  statistics_linear_time_mmd \
		  statistics_mmd_kernel_selection \
		  classifier_featureblocklogisticregression \
		  so_multiclass_BMRM \
		  balanced_conditional_probability_tree \
		  classifier_multiclass_ecoc \
		  classifier_multiclass_ecoc_discriminant \
		  classifier_multiclass_ecoc_random \
		  streaming_from_dense \
		  library_hdf5 \
		  library_serialization \
		  classifier_svmlight_string_features_precomputed_kernel \
  		  classifier_mkl_svmlight_modelselection_bug \
  		  base_migration_new_buggy \
  		  regression_libsvr \
  		  

all: $(TARGETS)

check-valgrind: $(TARGETS)
	for t in $(TARGETS); do echo $$t && valgrind $(VALGRINDOPTS) --log-file=$(VALGRIND_LOG) ./$$t >/dev/null && cat $(VALGRIND_LOG) | grep SUMMARY && rm -f $(VALGRIND_LOG); done

print_targets:
	@echo $(TARGETS)

clean:<commit_msg>Add back temporarily removed statistics_hsic<commit_after>LIB_PATH=/usr/lib
INC_PATH=/usr/include
VALGRINDOPTS=--tool=memcheck --error-limit=no --trace-children=yes --leak-check=full --show-reachable=yes

INCLUDES=
LIBS=
LIBS_ADD=-lshogun

LINKFLAGS=
CXXFLAGS=-O0 -g

LIBRARY_PATH=LD_LIBRARY_PATH
LINKFLAGS+=$(LIBS) $(LIBS_ADD) -L$(LIB_PATH) 
CXXFLAGS+=-I$(INC_PATH) $(INCLUDES)
CC=c++

VALGRIND_LOG = valgrind.log

TARGETS = basic_minimal \
		  classifier_libsvm \
		  classifier_libsvm_probabilities\
		  classifier_minimal_svm \
		  classifier_mklmulticlass \
  		  classifier_conjugateindex \
		  classifier_gaussiannaivebayes \
		  classifier_multiclasslibsvm \
		  classifier_qda \
		  classifier_multiclasslinearmachine \
		  kernel_gaussian kernel_revlin kernel_custom\
		  library_dyn_int library_gc_array library_indirect_object \
		  library_hash parameter_set_from_parameters \
		  parameter_iterate_float64 parameter_iterate_sgobject \
		  parameter_modsel_parameters \
		  evaluation_cross_validation_classification \
		  evaluation_cross_validation_regression \
		  evaluation_cross_validation_locked_comparison \
		  evaluation_cross_validation_multiclass \
		  evaluation_cross_validation_multiclass_mkl \
		  evaluation_cross_validation_mkl_weight_storage \
		  modelselection_parameter_combination_test \
		  regression_gaussian_process_fitc \
		  regression_gaussian_process_gaussian \
		  regression_gaussian_process_sum \
		  regression_gaussian_process_product \
		  regression_gaussian_process_ard \
		  regression_gaussian_process_laplace \
  		  regression_gaussian_process_simple_exact \
		  modelselection_model_selection_parameters_test \
		  modelselection_parameter_tree \
		  modelselection_apply_parameter_tree \
		  modelselection_grid_search_linear features_subset_labels \
		  modelselection_grid_search_kernel \
		  modelselection_grid_search_string_kernel \
		  modelselection_grid_search_multiclass_svm \
		  features_dense_real_modular \
		  features_subset_stack \
		  features_subset_simple_features \
		  features_subset_sparse_features \
		  features_copy_subset_simple_features \
		  features_copy_subset_sparse_features \
		  labels_binary_fit_sigmoid \
		  mathematics_confidence_intervals \
		  clustering_kmeans base_parameter_map \
		  base_load_file_parameters \
		  base_load_all_file_parameters \
		  base_map_parameters \
		  base_migration_type_conversion \
		  base_migration_dropping_and_new \
		  base_migration_multiple_dependencies \
		  splitting_stratified_crossvalidation \
		  splitting_standard_crossvalidation \
		  library_set \
		  library_map \
		  mathematics_lapack \
		  converter_locallylinearembedding \
		  converter_localtangentspacealignment \
		  converter_hessianlocallylinearembedding \
		  converter_kernellocallylinearembedding \
		  converter_multidimensionalscaling \
		  converter_isomap \
		  converter_diffusionmaps \
		  converter_laplacianeigenmaps \
		  converter_neighborhoodpreservingembedding \
		  converter_linearlocaltangentspacealignment \
		  converter_localitypreservingprojections \
		  converter_stochasticproximityembedding \
		  converter_factoranalysis \
		  serialization_basic_tests \
		  serialization_multiclass_labels \
		  kernel_machine_train_locked \
		  statistics \
		  transfer_multitaskleastsquaresregression \
		  transfer_multitasklogisticregression \
		  statistics_quadratic_time_mmd \
		  statistics_linear_time_mmd \
		  statistics_mmd_kernel_selection \
		  statistics_hsic \
		  classifier_featureblocklogisticregression \
		  so_multiclass_BMRM \
		  balanced_conditional_probability_tree \
		  classifier_multiclass_ecoc \
		  classifier_multiclass_ecoc_discriminant \
		  classifier_multiclass_ecoc_random \
		  streaming_from_dense \
		  library_hdf5 \
		  library_serialization \
		  classifier_svmlight_string_features_precomputed_kernel \
  		  classifier_mkl_svmlight_modelselection_bug \
  		  base_migration_new_buggy \
  		  regression_libsvr \
  		  

all: $(TARGETS)

check-valgrind: $(TARGETS)
	for t in $(TARGETS); do echo $$t && valgrind $(VALGRINDOPTS) --log-file=$(VALGRIND_LOG) ./$$t >/dev/null && cat $(VALGRIND_LOG) | grep SUMMARY && rm -f $(VALGRIND_LOG); done

print_targets:
	@echo $(TARGETS)

clean:
{'fraction_non_alphanumeric': 0.04962690986616132, 'fraction_numerical': 0.0009475304986379249, 'mean_word_length': 4.533420707732635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '659699', 'n_tokens_mistral': 3137, 'n_tokens_neox': 2731, 'n_words': 304}