--
View this message in context:
http://apache-database.10148.n7.nabble.com/Processing-a-subset-of-records-correctly-again-tp145885p145895.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.
For all the others - compare prediction (from prev record) with actual )from
current record) and do some maths
I seem to not be getting the predicted value correct?
Hi Bob,
I don't think you've really given us enough information to help you very much.
Perhaps you could provide more details
ost_short = Math.abs(test_profit);
sum_pips_lost_short = sum_pips_lost_short + pips_lost_short;
}
pred_test_prev = pred_test_curr;
pred_test_curr = "";
class_current = "";
test_profit = 0;
pips_won_long = 0;
pips_lost_long= 0;
pips_won_short = 0;
pips_lost_short = 0;
}
k++;
}
}
catch (SQLException e)
{
myConsole.getOut().println(e);
} // end of simulation - 100 simulation records
--
View this message in context:
http://apache-database.10148.n7.nabble.com/Processing-a-subset-of-records-correctly-again-tp145885.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.