Advertisement
Guest User

Untitled

a guest
May 26th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. class Validation
  4. {
  5. private:
  6. int n; // number of groups
  7. int m; // number of vectors in every groups
  8. struct protein
  9. {
  10. int num;
  11. int correct;
  12. int shifted;
  13. int invert;
  14. int over;
  15. int under;
  16. int overunder;
  17. }p;
  18. struct helix
  19. {
  20. int num;
  21. int correct;
  22. int shifted;
  23. int over;
  24. int under;
  25. int merged;
  26. int split;
  27. }h;
  28.  
  29. public:
  30. Validation();
  31.  
  32. void updateErrors(std::vector <int> t, std::vector<int> f);
  33. void crossvalidation(std::vector< std::vector <std::pair< int, std::pair<int, int> > > >&y);
  34.  
  35. void writeErrors();
  36. };
  37.  
  38.  
  39.  
  40. Validation::Validation()
  41. {
  42. this -> n = 10;
  43. this -> m = 16;
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement