This commit is contained in:
Szymon Bartanowicz 2024-05-14 23:35:39 +02:00
parent fb48e4e5f5
commit a188435a1b

View File

@ -11,7 +11,7 @@ import tensorflow as tf
data = pd.read_csv('./data/train.csv') data = pd.read_csv('./data/train.csv')
data = data[['Sex', 'Age', 'BodyweightKg', 'TotalKg']].dropna() data = data[['Sex', 'Age', 'BodyweightKg', 'TotalKg']].dropna()
data['Age'] = data['Age'].astype(int)
features = data[['Sex', 'Age', 'BodyweightKg']] features = data[['Sex', 'Age', 'BodyweightKg']]
target = data['TotalKg'] target = data['TotalKg']