Johnew Zhang
Protein Secondary Structure Prediction
Protein Secondary Structure Prediction
Reference implementation for the convolutional–recurrent Q8 sequence model described in the accompanying research report.
Files
main.py— training, recorded validation runs, model export, and prediction exportmodel.py— network classes and model constructiondata_prep.py— tokenization, encoding, padding, and target preparationutil.py— n-gram conversion, masked accuracy, and prediction decoding
Environment note
The code uses the Keras API available when the model was developed. Current TensorFlow/Keras releases may require import and optimizer-argument updates. The source is provided as a reference implementation rather than a pinned, production-ready package.
Data
The training and test datasets are not included in this download. The scripts expect dataset/train.csv and dataset/test.csv with the columns shown in main.py.