Skip to content

Commit

Permalink
오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
WegraLee committed Jan 7, 2019
1 parent 5c1c062 commit 9ada066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch06/hyperparameter_optimization.py
Expand Up @@ -16,7 +16,7 @@

# 20%를 검증 데이터로 분할
validation_rate = 0.20
validation_num = x_train.shape[0] * validation_rate
validation_num = int(x_train.shape[0] * validation_rate)
x_train, t_train = shuffle_dataset(x_train, t_train)
x_val = x_train[:validation_num]
t_val = t_train[:validation_num]
Expand Down

0 comments on commit 9ada066

Please sign in to comment.