update dllib.py and evaluate.py
Some checks failed
s444356-evaluation/pipeline/head Build queued...
s444356-training/pipeline/head There was a failure building this commit

This commit is contained in:
Maciej Czajka 2022-06-02 23:25:34 +02:00
parent e89d1f0164
commit 9b88e4528b
2 changed files with 8 additions and 8 deletions

View File

@ -230,10 +230,10 @@ def remove_list(games):
# features_g = pd.DataFrame(features_g, dtype=np.float64) # features_g = pd.DataFrame(features_g, dtype=np.float64)
# features_g = features_g.to_numpy() # features_g = features_g.to_numpy()
platform = pd.read_csv('all_games.train.csv', sep=',', usecols=[1], header=None).values.tolist() platform = pd.read_csv('Data/all_games.train.csv', sep=',', usecols=[1], header=None).values.tolist()
release_date = pd.read_csv('all_games.train.csv', sep=',', usecols=[2], header=None).values.tolist() release_date = pd.read_csv('Data/all_games.train.csv', sep=',', usecols=[2], header=None).values.tolist()
meta_score = pd.read_csv('all_games.train.csv', sep=',', usecols=[4], header=None).values.tolist() meta_score = pd.read_csv('Data/all_games.train.csv', sep=',', usecols=[4], header=None).values.tolist()
user_review = pd.read_csv('all_games.train.csv', sep=',', usecols=[5], header=None).values.tolist() user_review = pd.read_csv('Data/all_games.train.csv', sep=',', usecols=[5], header=None).values.tolist()
games_train = {'platform': platform, games_train = {'platform': platform,
'release_date': release_date, 'release_date': release_date,

View File

@ -145,10 +145,10 @@ def remove_list(games):
games['user_review'][i] = games['user_review'][i][0] games['user_review'][i] = games['user_review'][i][0]
return games return games
platform = pd.read_csv('all_games.train.csv', sep=',', usecols=[1], header=None).values.tolist() platform = pd.read_csv('Data/all_games.train.csv', sep=',', usecols=[1], header=None).values.tolist()
release_date = pd.read_csv('all_games.train.csv', sep=',', usecols=[2], header=None).values.tolist() release_date = pd.read_csv('Data/all_games.train.csv', sep=',', usecols=[2], header=None).values.tolist()
meta_score = pd.read_csv('all_games.train.csv', sep=',', usecols=[4], header=None).values.tolist() meta_score = pd.read_csv('Data/all_games.train.csv', sep=',', usecols=[4], header=None).values.tolist()
user_review = pd.read_csv('all_games.train.csv', sep=',', usecols=[5], header=None).values.tolist() user_review = pd.read_csv('Data/all_games.train.csv', sep=',', usecols=[5], header=None).values.tolist()
games_test = {'platform': platform, games_test = {'platform': platform,
'release_date': release_date, 'release_date': release_date,