/****************************** Constructor **********************************/ public DataLoader(string dbPath) { this.dbAdapter = new SQLiteAdapter(dbPath); long egoID = long.Parse(Path.GetFileNameWithoutExtension(dbPath)); egoUser = new User(egoID); numOfFriend = 0; }
public DataLoader(string dbPath, int nFolds) { this.egoUserId = long.Parse(Path.GetFileNameWithoutExtension(dbPath)); this.dbAdapter = new SQLiteAdapter(dbPath); this.nFolds = nFolds; }