diff --git a/examples/math/pre_compute_distances.py b/examples/math/pre_compute_distances.py index f65898f..999fb27 100644 --- a/examples/math/pre_compute_distances.py +++ b/examples/math/pre_compute_distances.py @@ -9,10 +9,5 @@ # Parsing a pre-loaded numpy array X, Y = p.parse_loader(txt) -# Splitting data into training and testing sets -X_train, X_test, Y_train, Y_test = s.split( - X, Y, percentage=0.5, random_state=1) - # Creating a file of pre-computed distances -g.pre_compute_distance(X_train, 'boat_split_distances.txt', - distance='log_squared_euclidean') +g.pre_compute_distance(X, 'boat_split_distances.txt', distance='log_squared_euclidean')