Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started