=E6=9E=9C=E4=B8=8E=E7=9C=9F=E5=AE=9E=E7=BB=93=E6=9E=9C=E5=AF=B9=E6=AF=94=EF=
=BC=88=E6=B7=B7=E6=B7=86=E7=9F=A9=E9=98=B5=E7=9A=84=E6=83=85=E5=86=B5=EF=BC=
=89###
Species=3Das.character(iris$Species)
pred=3Das.character(pred)
data=3Ddata.frame(table(Species,pred))###=E6=8F=90=E5=8F=96=E5=87=BA=E6=A8=
=A1=E5=9E=8B=E6=B7=B7=E6=B7=86=E7=9F=A9=E9=98=B5##
ggplot(data, aes(x=3DSpecies, y=3Dpred,fill=3DFreq))+geom_tile(color=3D"whi=
te", size=3D0.1)+scale_fill_gradient2(low=3D'blue',mid=3D"gray",high=3D'pin=
k',midpoint=3D1)+geom_text(aes(label=3DFreq),size=3D10,color=3D"black")+ggt=
itle("=E6=B7=B7=E6=B7=86=E7=9F=A9=E9=98=B5=E5=9B=BE")+labs(x=3D"=E7=9C=9F=
=E5=AE=9E=E7=B1=BB=E5=88=AB",y=3D"=E8=A7=82=E6=B5=8B=E7=B1=BB=E5=88=AB") +m=
ytheme</pre>=20
</div>
</div>
<p><br><span class=3D"confluence-embedded-file-wrapper confluence-embedded-=
manual-size"><img class=3D"confluence-embedded-image" height=3D"411" width=
=3D"468" src=3D"2a8a8b2279d318bb53cb4bf6a0b166fc" data-image-src=3D"/conflu=
ence/download/attachments/9767215/worddav426ea6deeae628764aa9d1444efbf18f.p=
ng?version=3D1&modificationDate=3D1500258390522&api=3Dv2" data-unre=
solved-comment-count=3D"0" data-linked-resource-id=3D"10093502" data-linked=
-resource-version=3D"1" data-linked-resource-type=3D"attachment" data-linke=
d-resource-default-alias=3D"worddav426ea6deeae628764aa9d1444efbf18f.png" da=
ta-base-url=3D"http://219.142.47.93/confluence" data-linked-resource-conten=
t-type=3D"image/png" data-linked-resource-container-id=3D"9767215" data-lin=
ked-resource-container-version=3D"16"></span><br> =E4=BB=8E=E5=9B=BE=E4=B8=
=AD=E5=8F=AF=E4=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=E8=AF=AF=E7=9A=84=E5=80=BC=E7=9A=84=E5=A4=A7=E5=B0=
=8F=E6=83=85=E5=86=B5=E3=80=82=EF=BC=89</p>
<h1 id=3D"id-=E5=B8=B8=E7=94=A8=E7=AE=97=E6=B3=95=E7=9A=84=E5=8F=AF=E8=A7=
=86=E5=8C=96-=E5=9B=9E=E5=BD=92">=E5=9B=9E=E5=BD=92</h1>
<h2 id=3D"id-=E5=B8=B8=E7=94=A8=E7=AE=97=E6=B3=95=E7=9A=84=E5=8F=AF=E8=A7=
=86=E5=8C=96-=E4=B8=80=E5=85=83=E7=BA=BF=E6=80=A7=E5=9B=9E=E5=BD=92">=E4=B8=
=80=E5=85=83=E7=BA=BF=E6=80=A7=E5=9B=9E=E5=BD=92</h2>
<p>1=EF=BC=89=E6=8B=9F=E5=90=88=E7=9B=B4=E7=BA=BF=E5=9B=BE</p>
<div class=3D"code panel pdl" style=3D"border-width: 1px;">
<div class=3D"codeContent panelContent pdl">=20
<pre class=3D"syntaxhighlighter-pre" data-syntaxhighlighter-params=3D"brush=
: java; gutter: false; theme: Confluence" data-theme=3D"Confluence">#=E4=B8=
=80=E5=85=83=E7=BA=BF=E6=80=A7=E5=9B=9E=E5=BD=92##=E5=84=BF=E7=AB=A5=E6=99=
=BA=E5=8A=9B=E6=B5=8B=E8=AF=95=E6=95=B0=E6=8D=AE=EF=BC=8Cx=E4=B8=BA=E5=B9=
=B4=E9=BE=84=EF=BC=88=E4=BB=A5=E4=B8=8E=E6=9C=88=E4=B8=BA=E5=8D=95=E4=BD=8D=
=EF=BC=89=EF=BC=8Cy=E4=B8=BA=E6=99=BA=E5=8A=9B=E6=B0=B4=E5=B9=B3#
intellect<-data.frame(
x=3Dc(15, 26, 10, 9, 15, 20, 18, 11, 8, 20, 7,9, 10, 11, 11, 10, 12, 42, 17=
, 11, 10),
y=3Dc(95, 71, 83, 91, 102, 87, 93, 100, 104, 94, 113,96, 83, 84, 102, 100, =
105, 57, 121, 86, 100))=20
fit<-lm(y~x, data=3Dintellect) ###=E5=BB=BA=E7=AB=8B=E7=BA=BF=E6=80=A7=
=E6=A8=A1=E5=9E=8B
summary(fit)