Skip to content

Commit

Permalink
Fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
christianversloot committed Nov 30, 2020
1 parent 8004180 commit ae1c5d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extra_keras_datasets/iris.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ def load_data(path="iris.npz", test_split=0.2):
testing_data = samples[:num_test_samples]

# Split into inputs and targets
input_train = [i[0:4] for i in training_data]
input_test = [i[0:4] for i in testing_data]
target_train = [i[4] for i in training_data]
target_test = [i[4] for i in testing_data]
input_train = np.array([i[0:4] for i in training_data])
input_test = np.array([i[0:4] for i in testing_data])
target_train = np.array([i[4] for i in training_data])
target_test = np.array([i[4] for i in testing_data])

# Warn about citation
warn_citation()
Expand Down

0 comments on commit ae1c5d7

Please sign in to comment.