From: Free energy estimation of short DNA duplex hybridizations
Require: A thermodynamic model T, an input set S with perfect match DNA duplexes. |
---|
Ensure: Vectors of Pearson correlations () and root mean square errors () for all duplexes. |
1: Initialize correlations vector |
2: Initialize root mean square errors vector |
3: for i = 0 to 10 000 do |
4: Â Â Â Training set TrS = 67% of randomly chosen data from S |
5: Â Â Â Testing set TeS = remaining 33% of data from S |
6: Â Â Â Train model T on data in TrS |
7: Â Â Â Compute r and RMSE for each data point in TeS |
8: Â Â Â |
9: Â Â Â |
10: end for |
11: return vectors and |