Carlos-Francisco Méndez-Cruz

Deep Learning Workshop

......@@ -18,13 +18,14 @@
# LAVIS
# qlogin
# cd /mnt/Genoma/amedina/cmendez/gitlab-deep-learning-workshop/data-sets
# python get-hga-training-test-py27-v1.py
# --inputFile hga-sequences-1000.txt
# --inputPath /mnt/Genoma/amedina/cmendez/gitlab-deep-learning-workshop/data-sets/human-genome-annotation
# --outputTraining hga-sequences-training.txt
# --outputTest hga-sequences-test.txt
# --outputPath /mnt/Genoma/amedina/cmendez/gitlab-deep-learning-workshop/data-sets/human-genome-annotation
# python get-hga-training-test-py27-v1.py --inputFile hga-sequences-toy.txt --inputPath /mnt/Genoma/amedina/cmendez/gitlab-deep-learning-workshop/data-sets/human-genome-annotation --outputTraining hga-sequences-training.txt --outputTest hga-sequences-test.txt --outputPath /mnt/Genoma/amedina/cmendez/gitlab-deep-learning-workshop/data-sets/human-genome-annotation
# python get-hga-training-test-py27-v1.py --inputFile hga-sequences-1000.txt --inputPath /mnt/Genoma/amedina/cmendez/gitlab-deep-learning-workshop/data-sets/human-genome-annotation --outputTraining hga-sequences-training.txt --outputTest hga-sequences-test.txt --outputPath /mnt/Genoma/amedina/cmendez/gitlab-deep-learning-workshop/data-sets/human-genome-annotation
import argparse
import pandas as pd
......@@ -148,7 +149,7 @@ if __name__ == "__main__":
input_shape=(train_features.shape[1], 5)))
# Original: model.add(MaxPooling1D(pool_size=4))
# Do we have to change to 5, because of the 5 nucleotides?
model.add(MaxPooling1D(pool_size=4))
model.add(MaxPooling1D(pool_size=5))
model.add(Flatten())
model.add(Dense(16, activation='relu'))
model.add(Dense(2, activation='softmax'))
......