Training, crossvalidation and testing structural domain dataset
Showing
1 changed file
with
5 additions
and
5 deletions
... | @@ -43,7 +43,7 @@ __author__ = 'CMendezC' | ... | @@ -43,7 +43,7 @@ __author__ = 'CMendezC' |
43 | 43 | ||
44 | # Execution: | 44 | # Execution: |
45 | 45 | ||
46 | -# python training-crossvalidation-testing-binding-thrombin.py | 46 | +# python training-crossvalidation-testing-dom.py |
47 | # --inputPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset | 47 | # --inputPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset |
48 | # --inputTrainingData trainData.txt | 48 | # --inputTrainingData trainData.txt |
49 | # --inputTrainingClasses trainClasses.txt | 49 | # --inputTrainingClasses trainClasses.txt |
... | @@ -60,7 +60,7 @@ __author__ = 'CMendezC' | ... | @@ -60,7 +60,7 @@ __author__ = 'CMendezC' |
60 | # --removeStopWords | 60 | # --removeStopWords |
61 | 61 | ||
62 | # source activate python3 | 62 | # source activate python3 |
63 | -# python training-crossvalidation-testing-binding-thrombin.py | 63 | +# python training-crossvalidation-testing-dom.py |
64 | # --inputPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset | 64 | # --inputPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset |
65 | # --inputTrainingData trainData.txt | 65 | # --inputTrainingData trainData.txt |
66 | # --inputTrainingClasses trainClasses.txt | 66 | # --inputTrainingClasses trainClasses.txt |
... | @@ -75,7 +75,7 @@ __author__ = 'CMendezC' | ... | @@ -75,7 +75,7 @@ __author__ = 'CMendezC' |
75 | # --kernel linear | 75 | # --kernel linear |
76 | # --reduction SVD200 | 76 | # --reduction SVD200 |
77 | # --removeStopWords | 77 | # --removeStopWords |
78 | -# python training-crossvalidation-testing-binding-thrombin.py --inputPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset --inputTrainingData trainData.txt --inputTrainingClasses trainClasses.txt --inputTestingData testData.txt --inputTestingClasses testClasses.txt --outputModelPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset/models --outputModelFile SVM-lineal-model.mod --outputReportPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset/reports --outputReportFile SVM-lineal.txt --classifier SVM --kernel linear | 78 | +# python training-crossvalidation-testing-dom.py --inputPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset --inputTrainingData trainData.txt --inputTrainingClasses trainClasses.txt --inputTestingData testData.txt --inputTestingClasses testClasses.txt --outputModelPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset/models --outputModelFile SVM-lineal-model.mod --outputReportPath /home/compu2/bionlp/lcg-bioinfoI-bionlp/clasificacion-automatica/structural-domain-dataset/reports --outputReportFile SVM-lineal.txt --classifier SVM --kernel linear |
79 | # --reduction SVD200 | 79 | # --reduction SVD200 |
80 | # --removeStopWords | 80 | # --removeStopWords |
81 | 81 | ||
... | @@ -85,7 +85,7 @@ __author__ = 'CMendezC' | ... | @@ -85,7 +85,7 @@ __author__ = 'CMendezC' |
85 | 85 | ||
86 | if __name__ == "__main__": | 86 | if __name__ == "__main__": |
87 | # Parameter definition | 87 | # Parameter definition |
88 | - parser = argparse.ArgumentParser(description='Training validation Binding Thrombin Dataset.') | 88 | + parser = argparse.ArgumentParser(description='Training validation structural domain dataset.') |
89 | parser.add_argument("--inputPath", dest="inputPath", | 89 | parser.add_argument("--inputPath", dest="inputPath", |
90 | help="Path to read input files", metavar="PATH") | 90 | help="Path to read input files", metavar="PATH") |
91 | parser.add_argument("--inputTrainingData", dest="inputTrainingData", | 91 | parser.add_argument("--inputTrainingData", dest="inputTrainingData", |
... | @@ -115,7 +115,7 @@ if __name__ == "__main__": | ... | @@ -115,7 +115,7 @@ if __name__ == "__main__": |
115 | parser.add_argument("--reduction", dest="reduction", | 115 | parser.add_argument("--reduction", dest="reduction", |
116 | help="Feature selection or dimensionality reduction", metavar="NAME", | 116 | help="Feature selection or dimensionality reduction", metavar="NAME", |
117 | choices=('SVD200', 'SVD300', 'CHI250', 'CHI2100'), default='SVD200') | 117 | choices=('SVD200', 'SVD300', 'CHI250', 'CHI2100'), default='SVD200') |
118 | - parser.add_option("--removeStopWords", default=False, | 118 | + parser.add_argument("--removeStopWords", default=False, |
119 | action="store_true", dest="removeStopWords", | 119 | action="store_true", dest="removeStopWords", |
120 | help="Remove stop words") | 120 | help="Remove stop words") |
121 | 121 | ... | ... |
-
Please register or login to post a comment