Changes

Jump to navigation Jump to search
645 bytes added ,  16:09, 10 October 2017
content_index = 4
* Step 4 : run the code
The second part of the code python preprocessing.py  Model Training/Prediction (classification_MMM_LLL.py) : this is where the deep neural network is. It The "MMM" represents the model. For example, currently I have "1DConvolution", "2DConvolution" and "LSTM". "LLL" represents the name of the label. Notice that for the same text input we can predict for different things using the same model. For example, "classification_LSTM_indu.py" is a LSTM model to predict the industray based on the descriptions. And "classification_LSTM_ipo.py" is a LSTM model to predict the IPO status based on the same descriptions. This Python file, no matter what the model is, will always load in the pickle file you generated in the previous step and train the neural network. At the end, the well trained neural network will predict on your testing examples (the examples you don't see during the training) and print the accuracy. To run this part:
python classification_LSTM.py
78

edits

Navigation menu