homework 4 pattern classification

© All Rights Reserved

1 views

homework 4 pattern classification

© All Rights Reserved

- Supervised Sentiment Classification using DTDP algorithm
- LO955 Batch Management
- Weka Lab Record Experiments
- artificial intelligence ML u4
- 00163365
- Image Classification
- Dendrite Morphological Neurons Trained by Stochastic Gradient Descent
- Neural Network Radial Basis Function classifier for earthquake data using aFOA .
- Introduction to Machine Learning US
- A Evolutionary Method of DG
- b0detox Manual
- Color Based Object Detection Matlabgui
- Going for Three
- dm_part2
- 8Oct15_Spatial Analysis- Functionality and Tools_Dr.Vandita Srivastava.pdf
- A Hybrid Filter-Wrapper Attribute Reduction Approach for Fetal Risk Anticipation
- 484-12.ppt
- presentationfreecodecampsurvey2016-170418044918 (1)
- SIS-SONN.pdf
- Vision Based Entomology : A Survey

You are on page 1of 1

Homework 4

Problem 1: Once again we use the data sets “hw3_2_1” and “hw3_2_2” from

Homework 3. The sample vectors in “hw3_2_1” are from class ω1 and sample vectors in

“hw3_2_2” are from class ω2.

Use k-nearest neighbor method to estimate the class conditional density functions p(x|ω1)

and p(x|ω2) for every x in {-4:0.1:8, -4:0.1:8}; use “mesh” function in Matlab to plot the

results; and then classify x=[1,-2]t based on the estimation. Let k=10.

(Hint: The “sort” function in Matlab can be used to find the closest neighbors.)

Problem 2: Now we use the data sets “hw4_2_1” and “hw4_2_2” from file “hw4.mat”.

The sample vectors in “hw4_2_1” are from class ω1 and sample vectors in “hw4_2_2”

are from class ω2. Each of these matrices has a size of 2×100, i.e. 2 rows and 100

columns. Each column is a 2-D observation vector.

�x1 �

�x1 � � �

2.2 Assume a function, which projects each input vector x = � �to xˆ = �x2 �,

x

�2 � �

�x1 x2 �

�

plot x̂ in 3-D use Matlab function “plot3”.

�1 �

�x �

2.3 Now define an augmented vector as y ( x ) = � �. Use the Batch Perceptron

1

�x2 �

� �

�x1 x2 �

a0 �

�

�

a1 �

method (page 35 and 39, CPE646-9) to find the weight vector a = � �in the

�

a2 �

��

a3 �

�

generalized linear discriminant function (page 22, 23. CPE646-9).

(Hint: let =1, =1, initialize a (0) = �y )

- Supervised Sentiment Classification using DTDP algorithmUploaded byInternational Journal for Scientific Research and Development - IJSRD
- LO955 Batch ManagementUploaded bybaicaicai
- Weka Lab Record ExperimentsUploaded byTirumala Placement Cell-hyd
- artificial intelligence ML u4Uploaded bySidhu Sid
- 00163365Uploaded bySachin Shende
- Image ClassificationUploaded byRahul Deka
- Dendrite Morphological Neurons Trained by Stochastic Gradient DescentUploaded byErik Zamora
- Neural Network Radial Basis Function classifier for earthquake data using aFOA .Uploaded byIJAR Journal
- Introduction to Machine Learning USUploaded byRafael Santos Pérez
- A Evolutionary Method of DGUploaded bySunil Sarepalli
- b0detox ManualUploaded byBrady
- Color Based Object Detection MatlabguiUploaded byshivprasad
- Going for ThreeUploaded byTaylor Pipes
- dm_part2Uploaded byPrerna Mahajan
- 8Oct15_Spatial Analysis- Functionality and Tools_Dr.Vandita Srivastava.pdfUploaded byShubham Joshi
- A Hybrid Filter-Wrapper Attribute Reduction Approach for Fetal Risk AnticipationUploaded byboopsubha
- 484-12.pptUploaded bynadeemq_0786
- presentationfreecodecampsurvey2016-170418044918 (1)Uploaded byLavine Hemlani
- SIS-SONN.pdfUploaded byHelloproject
- Vision Based Entomology : A SurveyUploaded byijcses
- Multivariate Statistics With RUploaded byneoferney
- ICCICCT - 314.pdfUploaded byGlan Devadhas
- Print SDUploaded byvempadareddy
- PrabhakarJainPankanti_MinaLocType_PR03Uploaded byHiriji Sakumo
- 8217-38554-1-PBUploaded byUtsav Mishra
- tutorial on matlabUploaded byOloyede Isiaka
- lab 4Uploaded bykiran
- 2a Data MiningUploaded byDhâràñèésh
- Flann -Uploaded byNadeem Uddin
- Integrated Feature Extraction Approach Towards Detection of Polymorphic Malware In Executable FilesUploaded byAI Coordinator - CSC Journals

- 10.5923.j.pc.20120201.01Uploaded byDika
- Power GenerationUploaded byabdulwadi84
- Rheologica Acta Volume 45 Issue 5 2006 [Doi 10.1007%2Fs00397-006-0089-z] Julien Mougel; Oscar Alvarez; Christophe Baravian; François Cat -- Aging of an Unstable Wo Gel Emulsion WiUploaded byFabian Ricardo
- Mintzberg H. & Water_ J.a. 1985 of Strategies_ Deliberate and EmergentUploaded byannieangelo
- Causality ContributorsUploaded byhy502
- Potassium NitrateUploaded byMohammadAh
- Air Quality Criteria for Particulate Matter-Volume IUploaded byuzzn
- Principles of and Characteristics of Good SpeechUploaded byDenz Orbon
- Create a Magma Hot Text Effect in PhotoshopUploaded byStephanie De La Cruz Bonilla
- 5. Ejemplo FFT Con ArduinoUploaded byAns Shel Cardenas Yllanes
- Brochure Geomagic Freeform SoftwareUploaded bybehipiluwu
- Home Power Magazine - Issue 025 - 1991-10-11.pdfUploaded bywienslaw5804
- Fact Sheet Vacon NXC Low Harmonic Drive AFEUploaded byAnonymous 3Ys5kq
- Pv Grid PenetrationUploaded bygiveplease
- PC120-8 main pump 1Uploaded bydavid ballen
- 66176294 Best Jim Wendler 5 3 1 Excel Spreadsheet by Poteto Jon KUploaded byAlexandru Gheboianu
- Excel-Exponential-Curve-Fit-2010.pdfUploaded bySandeepan Chowdhury
- Qingdao Beihai DavitUploaded byZdravko Eta Lovic
- Modul ApidUploaded byPungky Fajar
- Individual ReportUploaded byskkkyy
- Fatigue MechanicsUploaded byWaqar Mahmood
- 2004 Metrobank-MTAP-DepEd Math Challenge Sectoral Finals Grade 6Uploaded byLeonorBagnos
- A novel method for detecting licking behavior during recording of electrophysiological signals from the brainUploaded byrfoliveira1975
- Nisargadatta`s -The Truth.rtfUploaded byfreetax108
- Solutions Manual SM Ch11-20Uploaded byTham Wai Hung
- Hayward Heatpro BrochureUploaded bynido77
- A 995 _ A 995M _ 98 R03 ;QTK5NS9BOTK1TQ__.pdfUploaded byMung Duong Xuan
- P-771-WE_pg006-007Uploaded bySheik Hassan
- Brian F Kinnaman Resume 2013Uploaded byBrian Kinnaman
- Tips for FmeaUploaded byENRIQUESG