CSI 5810 Assignment # 41. Let , , and befouritemsforclustering.Considerthefollowingthreepartitions:A.B.C....

1 answer below »
CSI 5810 Assignment # 4
1. Let , , and befouritemsforclustering.

Considerthefollowingthreepartitions:
A.
B.
C. .
Determinethepartitionfavoredbythesum-of-square-error(SSE)clustering

criterion.
2. Considerthefollowingeightrecords;eachrecordisdescribedbytwoquantitative

attributes:
A=(2,10)t,B=(2,5)t,C=(8,4)t,D=(5,8)t,E=(7,5)t,F=(6,4)t G=(1,2)t,H=(4,

9)t.

Yourtaskistoapplycompletelinkclusteringtothisdataandproducethe

dendrogram.

3. Inthisexercise,youwillperformk-meansclusteringonwinedata.Youwillrepeat

theclusteringusingthefollowingvaluesofk:2,3,4,and5.Ineachcaseyouwill

determinetheSSEvalueandcalculatethevalueofRandindexandtabulateyour

results.
4. Inthisexercise,youwillbuildalinearpredictivemodeltopredictcrimeratebased

onanumberoffactors.Thedataisinthe“crime-rate”file.Youwillbuildthemodel

bywriting yourownscriptforgradientsearch.Experimentwith2-3learningrates

toseetheeffectoflearningrateonthesearch.
5. Buildamodeltopredictcornyieldwithtwoindependentvariablesfertilizers

andinsecticides.Thedataforthistaskisasfollows.Youwillusethepseudoinverseapproachtobuildthemodel. AlcocalculatetheR-squarecoefficient

toassessmodel’sgoodness.
Corn Fertilizer Insecticides
40 6 4
44 10 4
46 12 5
48 14 7
52 16 9
58 18 12
60 22 14
68 24 20
74 26 21
80 32 24
x1 = (4 5)
t x2 = (14)
t x3 = (01)
t x4 = (5 0)
t
P1 = 1 2 P2 = 3 4 {x ,x }, {x ,x }
P1 = 1 4 P2 = 2 3 {x ,x }, {x ,x }
P1 = 1 2 3 P2 = 4 {x ,x ,x }, {x }
6. Inthisexercise,youwillusethe 250examples oftwoclassesthatweregeneratedin

Q6oftheassignment#3.Eachexamplethere-inhadtwofeatures,x1andx2. You

willaugmentthesefeaturesbythreenewfeaturesdefinedasfollows:featurex3=

x1*x2,featurex4=x1*x1,andfeaturex5=x2*x2.Youwillthentrainandtesta

logisticclassifierwiththeaugmentedvectors.Use80:20ratiotosplityourdatainto

trainingandtestsets.Oncethemodelistrainedandtested,youwillusethemodel

parameterstoplotthedecisionboundaryofthelogisticclassifier.
Answered 3 days AfterNov 10, 2022

Answer To: CSI 5810 Assignment # 41. Let , , and...

Banasree answered on Nov 14 2022
35 Votes
1.Ans.
A.
P1(x1,X2),P2(X3,X4)
B.
P1(X1,X4) P2(X2,X3)
C.
P1(X1,X2,X3), P2(X4)
Favored partitio
n by SSE will be C.P1(x1,x2,x3), P2(x4)
2.Ans
3.
K=2
K=3
K=4
4. ans
5
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here