public User GetTestSet() { User testSet = new User (); for (int i = this.testSetIndex; i < this.tweets.Count && i < testSetIndex + this.TEST_SET_SIZE; i++) { testSet.AddTweet (this.tweets[i]); } return testSet; }
public User GetTopKTweetsTrainSet(int k) { User trainSet = new User (); int i; for (i = 0; i < k; i++) { trainSet.AddTweet (this.tweets[i]); } this.testSetIndex = i; return trainSet; }