Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedIf 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

10 Explain the terms agency theory and stewardship.

Answered: 1 week ago