#[macro_use(Confusionmatrix)]
extern crate deeprust;
use deeprust::metrics::confusion_matrix;
fn main() {
let sample = Confusionmatrix!(100,50,10,5);
println!("The total predictions {}", sample.total());
println!("Accuracy of the model {:.2}", sample.accuracy());
println!("Precision of the model {:.2}", sample.precision());
println!("True positive rate of the model {:.2}",
sample.true_poitive_rate());
println!("False positive rate of the model {:.2}",
sample.false_positive_rate());
println!("Misclassification rate of the model {:.2}",
sample.misclassification_rate());
println!("Specificity of the model {:.2}", sample.specificity());
println!("Prevalance of the model {:.2}", sample.prevalance());
}