Skip to main content
. 2010 Feb 24;11:105. doi: 10.1186/1471-2105-11-105

Table 6.

Model evaluation

Require: A thermodynamic model T, an input set S with perfect match DNA duplexes.
Ensure: Vectors of Pearson correlations (Inline graphic) and root mean square errors (Inline graphic) for all duplexes.
1: Initialize correlations vector Inline graphic
2: Initialize root mean square errors vector Inline graphic
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:    Inline graphic
9:    Inline graphic
10: end for
11: return vectors Inline graphic and Inline graphic