Changes

Jump to navigation Jump to search
no edit summary
The final product (as of 2/27/17) is FinalIndustryClassifier.py which is located in McNair/Projects/Accelerators/Industry_Classifier.
It takes in an input file of the format Company tab Description and outputs a file called inputfile + Classified.txt. (So if you input Myfile.txt, your output file will be
MyfileClassified.txt). This file will be located in the same folder as the FinalIndustry,.py code (McNair/Projects/Accelerators/Industry_Classifier).
==Use==
1) Create a file of the format Company [tab] Description. The description must all be on one line.
 
2) Copy your file into the folder McNair/Projects/Accelerators/Industry_Classifier
 
3) Open the file FinalIndustryClassifier.py in Komodo
 
4) On line 7 of the code, change the words inside the quotation marks to the name of your file. For example, if your file is called MyFile.txt, line 7 should read myfile = "MyFile.txt"
 
5) Press the play button and wait for "Done!" to print in the output window of Komodo.
 
6) Open McNair/Projects/Accelerators/Industry_Classifier and find the file called "(the name of your file)Classified.txt" (aka MyFileClassified.txt)
 
7) Open this file (IN TEXTPAD). It should be your output of the format Company [tab] Classification.
272

edits

Navigation menu