splitting & plotting the dataset #5555
Unanswered
anthonysirico
asked this question in
Q&A
Replies: 1 comment
-
Yeah, slicing of the dataset will not copy the underlying data but share it. You can do ones = dataset[:10808].copy()
zeros = dataset[10808:].copy() to fix this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If I have a dataset that looks like this:
dataset = CircuitDataset(43249)
and I break it up doing:
How can I access the values in
ones
andzeros
? Because if I want to plot a certain parameter like I do with dataset:plt.plot(dataset.data.performance
it does not work the same way with
ones
andzeros
, it still plots as if all the data is in ones or zeros.How do I plot just ones performance?
Beta Was this translation helpful? Give feedback.
All reactions