Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -106,6 +106,7 @@ if __name__ == "__main__": | ... | @@ -106,6 +106,7 @@ if __name__ == "__main__": |
106 | integer_encoded = integer_encoder.fit_transform(list(sequence_adjust)) | 106 | integer_encoded = integer_encoder.fit_transform(list(sequence_adjust)) |
107 | integer_encoded = np.array(integer_encoded).reshape(-1, 1) | 107 | integer_encoded = np.array(integer_encoded).reshape(-1, 1) |
108 | one_hot_encoded = one_hot_encoder.fit_transform(integer_encoded) | 108 | one_hot_encoded = one_hot_encoder.fit_transform(integer_encoded) |
109 | + print(" shape: {}".format(one_hot_encoded.toarray().shape)) | ||
109 | input_features.append(one_hot_encoded.toarray()) | 110 | input_features.append(one_hot_encoded.toarray()) |
110 | 111 | ||
111 | # Print first sequence and one-hot-encoding | 112 | # Print first sequence and one-hot-encoding | ... | ... |
-
Please register or login to post a comment