Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- class Validation
- {
- private:
- int n; // number of groups
- int m; // number of vectors in every groups
- struct protein
- {
- int num;
- int correct;
- int shifted;
- int invert;
- int over;
- int under;
- int overunder;
- }p;
- struct helix
- {
- int num;
- int correct;
- int shifted;
- int over;
- int under;
- int merged;
- int split;
- }h;
- public:
- Validation();
- void updateErrors(std::vector <int> t, std::vector<int> f);
- void crossvalidation(std::vector< std::vector <std::pair< int, std::pair<int, int> > > >&y);
- void writeErrors();
- };
- Validation::Validation()
- {
- this -> n = 10;
- this -> m = 16;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement