<commit_before>UNAME := $(shell uname)


basics.model.complexity: code/basics.model.complexity.py
	@python $<
basics.model.selection: code/basics.model.selection.py
	@python $<
applications.peptide.binding: code/applications.peptide.binding.py
	@python $<
download.data:
	@wget -bN http://graal.ift.ulaval.ca/adrouin/ml-tutorial/cdiff_clindamycin.kover -P ./data/antibiotics
download.verify:
ifeq ($(UNAME), Linux)
	@md5sum ./data/antibiotics/cdiff_clindamycin.kover
endif
ifeq ($(UNAME), Darwin)
	md5 -r ./data/antibiotics/cdiff_clindamycin.kover
endif
install.gskernel:
	@cd code/GSkernel_source; \
	python build.py build_ext -b gs_kernel/; \
	cd ..; \
	ln -s GSkernel_source/gs_kernel<commit_msg>install all dependencies at once<commit_after>UNAME := $(shell uname)


basics.model.complexity: code/basics.model.complexity.py
	@python $<
basics.model.selection: code/basics.model.selection.py
	@python $<
applications.peptide.binding: code/applications.peptide.binding.py
	@python $<
download.data:
	@wget -bN http://graal.ift.ulaval.ca/adrouin/kover-example.zip -P ./data/antibiotics
download.verify:
ifeq ($(UNAME), Linux)
	@md5sum ./data/antibiotics/KmerMatrix.tsv
	@md5sum ./data/antibiotics/metadata.tsv
endif
ifeq ($(UNAME), Darwin)
	md5 -r ./data/antibiotics/KmerMatrix.tsv
	md5 -r ./data/antibiotics/metadata.tsv
endif
install.gskernel:
	@cd code/GSkernel_source; \
	python build.py build_ext -b gs_kernel/; \
	cd ..; \
	ln -s GSkernel_source/gs_kernel
install.dependencies:
	sudo pip install cython numpy scipy matplotlib scikit-learn seaborn h5py --upgrade && cd code/GSkernel_source && python build.py build_ext -b gs_kernel/ && cd .. && ln -s GSkernel_source/gs_kernel
{'fraction_non_alphanumeric': 0.13793103448275862, 'fraction_numerical': 0.004161712247324614, 'mean_word_length': 4.518032786885246, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5856400', 'n_tokens_mistral': 669, 'n_tokens_neox': 621, 'n_words': 119}