fix
This commit is contained in:
parent
fb48e4e5f5
commit
a188435a1b
2
model.py
2
model.py
@ -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']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user