Question: You must demonstrate following 5 matplotlib related skills for data visualisation. To complete this task, write a function called task 4 ( data ) ,
You must demonstrate following matplotlib related skills for data visualisation. To complete this task, write a
function called taskdata where data contains all records from the dataset. The function should display
the following plots. The presentation of the visualisations eg customising labels, points etc. will determine
your fluency in data visualisation skills.
i Plot Amount values using bar plot for transactions where IPvalidityscore is below and
Authenticationscore is below Use different colours for normal and malicious
transactions.
ii Extract data from malicious transactions for different Typeofcard separately and display their
total Amount using a pie plot. Number of different Typeofcard will vary.iii. Extract data from all transactions for different Entrymode separately and display the
IPvalidityscore values using a boxplot. Number of different Entrymode will vary.
iv Create a N X matrix where N is number of transactions in the dataset, is the index for
Authenticationscore and IPvalidityscore values. Plot the matrix using scatter plot.
v Create a colour code using the values in the matrix created in QV Task pca Plot
Authenticationscore values where values are over as a bar plot using the corresponding
colour codes. You can use the rounded value of pca to create the colours
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
