395
DQRPDOLHV GI>GI>&ODVV@ @
QRUPDO GI>GI>&ODVV@ @
DQRPDOLHVVKDSHQRUPDOVKDSH
Figure B-37. Defining the anomaly and normal data sets
The output should look somewhat like Figure
B-36
.
Figure B-36. The output of the code in figure
B-35
.
Now you define your normal and anomaly data sets (see Figure
B-37
.
The output should look like Figure
B-38
.
Figure B-38. The output of the code in Figure
B-37
appendix B intro to pytorch
396
After isolating the anomalies from the normal data, let’s create your training and
testing sets (see Figure
B-39
.
Do'stlaringiz bilan baham: