Answered step by step
Verified Expert Solution
Question
1 Approved Answer
If you use python please only use numpy and matplotlib 6. (10 points) Consider the categorical learning problem consisting of a data set with two
If you use python please only use numpy and matplotlib
6. (10 points) Consider the categorical learning problem consisting of a data set with two labels: Label 1: (contains 5 data points) Label 2: (contains 6 data points) (1) For each label above, the data follow a multivariate normal distribution Normal (i,) where the covariance is the same for both labels. Fit a pair of LDA functions to the labels by computing the covariances , means i, and proportion of data. You may use Python (with only numpy library) (a) You should report the values for ,i and . (b) Give the formula for the line forming the decision boundary and plot the graph. (Write done the formula used in your calculation.) (2) Find the probability P(y=1x) for a test point x=[00] for the LDA model. (3) (Bonus Question) Find the quadratic boundary using the QDA method and plot the graph. (You can use Sympy lib to simplify the formula.)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