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

This commit is contained in:
Maciej Czajka 2022-05-02 15:16:59 +02:00
parent 740a4b88e8
commit efcd4db64a

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('Data/all_games_train.csv', sep=',', usecols=[1], header=None).values.tolist() platform = pd.read_csv('all_games_train.csv', sep=',', usecols=[1], header=None).values.tolist()
release_date = pd.read_csv('Data/all_games_train.csv', sep=',', usecols=[2], header=None).values.tolist() release_date = pd.read_csv('all_games_train.csv', sep=',', usecols=[2], header=None).values.tolist()
meta_score = pd.read_csv('Data/all_games_train.csv', sep=',', usecols=[4], header=None).values.tolist() meta_score = pd.read_csv('all_games_train.csv', sep=',', usecols=[4], header=None).values.tolist()
user_review = pd.read_csv('Data/all_games_train.csv', sep=',', usecols=[5], header=None).values.tolist() user_review = pd.read_csv('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,