273
In this block of code, you name two new data frames as anomalies and normal, with
their names corresponding to their content. Checking their shape reveals that there are
relatively few anomalies compared to the entire data set, comprising around 0.173% of
the whole data set.
Now let’s get to defining your training and testing data sets (see Figure
7-28
).
Figure 7-27. The output of the code in Figure
7-26
Do'stlaringiz bilan baham: