ScoreHypothesis {CausalR} | R Documentation |
Score a single hypothesis, using the predictions from the network and the experimental data returning a vector of scoring statistics
ScoreHypothesis(matrixOfPredictions, matrixOfExperimentalData)
matrixOfPredictions |
a matrix of predictions |
matrixOfExperimentalData |
a matrix of experimentaldata |
scoreBreakdown a vector giving, in order, the overall score, and the numbers of correct, incorrect and ambigous predictions
predictions <- matrix(c(1,2,3,+1,0,-1),ncol=2) experimentalData <- matrix(c(1,2,4,+1,+1,-1),ncol=2) ScoreHypothesis(predictions,experimentalData) CompareHypothesis(predictions,experimentalData)