A way to remove specific indexes from dataset #6883
-
Is there a way to remove specific graphs from my dataset. What I am trying to do is predict on my test set, and then remove anything from the set that was predicted 0, then concatenate the predicted 1s with the training set creating a NEW training set. Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
UPDATE: I am trying to use
it returns an out of range error. I have tried converting the list to an ndarray as the docs said to use and a tensor of type long, and it keeps throwing the same error. Again, the end goal is to take specific indices out of a set to create another set, to later concatenate it with the training set. |
Beta Was this translation helpful? Give feedback.
-
Figured it out: used a for loop that cycled through the indexes in the list. |
Beta Was this translation helpful? Give feedback.
Figured it out: used a for loop that cycled through the indexes in the list.