Due: See class webpage
|
Greenwald ε < InputFile or: jave Greenwald ε < InputFile |
I will provide a test data file later in this handout. The data file will have the following format:
v1 (data point 1) v2 (data point 2) v3 (data point 3) ...... vN (data point N) |
|
S: (e1, g1, Δ1) (e2, g2, Δ2) ...and as:
S: e1[rmin(e1)..[rmax(e1)], e2[rmin(e2)..[rmax(e2)] ...
|
The output format will look like this:
εN (the value of εN let us know what is max error is) rank Actual Answer Actual err of answer --------------------------------------------------------------- 1 v1 G1 err1 2 v2 G2 err2 3 v3 G3 err3 .... N vN GN errN |
How to compute the actual error:
|
I don't have the answers, but I can tell you to make sure that the summary always contains the smallest value and the largest value in the input.
/home/cs584000/turnin Makefile hw5(If you use Java, you still need a Makefile. Let me know if you don't know how to create a Makefile)
/home/cs584000/turnin Filename hw5-?where "?" is a number from 0 to 9.