This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The train/test net protocol buffer definition | |
| net: "./iris_caffe_network.prototxt" | |
| # test_iter specifies how many forward passes the test should carry out. | |
| # In the case of iris, we have test batch size 10 (specified in iris_network.prototxt) | |
| # and 5 test iterations covering the full 50 test vectors. | |
| test_iter: 5 | |
| # Carry out testing every 500 training iterations. | |
| test_interval: 100 | |
| # The base learning rate, momentum and the weight decay of the network. | |
| base_lr: 0.001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| close all; | |
| clear all; | |
| % load the protein dataset, this is a array of struct that has fields .pssm and .ss | |
| % which are our features and labels respectively. pssm is a L by 20 array of features. | |
| % ss is a L by 1 array of characters C, E, H or X which are our 4 classes. | |
| % the actual variable that appears is called 'combined' | |
| load protein_dataset; | |
| % this is the name of the HDF5 file we will be writing to | |
| fname = ['proteins_train_currennt.nc']; |
OlderNewer