Nur diese beiden Boxen
hier sind korrekt, nichts anderes.
Dieser Punkt hat eindeutig 4 positive nächste Nachbarn,
weshalb er definitv positiv bleiben wird, egal wie der fünfte aussehen wird.
Ähnlich verhält es sich mit diesem Punkt hier drüben.
Wenn ihr einen Kreis zeichnet,
werden wahrscheinlich diese 4 Punkte die nächsten Nachbarn sein,
vielleicht auch noch dieser, aber er ist ein bisschen weiter weg.
Da schon 3 der 4 Nachbarn positiv sind,
muss der Punkt am Ende auch positiv werden, da der fünfte Punkt keine Auswirkungen auf das Ergebnis hat.
All diese Punkte sind negativ und dieser hier hat nur 2 positive Nachbarn
und bei diesem Punkt sind alle negativ.
Ähnliches gilt auch für diesen Punkt hier, weil maximal 2 der
5 nächsten Nachbarn positiv sind
und der Rest negativ ist. Dieser hier ist umgeben von negativen
Nachbarn, so dass auch er negativ wird.
And the answer would be this box over here
and this box over here, nothing else.
This guy has clearly 4 positive nearest neighbors,
so no matter what the 5th one is we stay positive.
Similarly, this guy over here,
when you draw a circle,
has probably these 4 guys as nearest neighbors,
perhaps this one as well, but it is a little further away.
With those 4 ones, it already has 3 pluses,
so whatever the 5th one is it can't overturn, it must be positive.
All of these are negative, even this one over here has just 2 pluses as neighbors
that are positive, and those guys over here are all negative.
Similarly, over here there are possibly 2 pluses
in the 5 nearest neighbors,
but these guys over here are all negative, and this guy is
surrounded by negative examples, so they will just be negative.
答えはここにあるこのボックスと
このボックスになります
ここにあるボックスは4つの正が最近傍です
5つ目が何であろうと正になります
同じようにここにあるボックスは丸を描くと
おそらくこの4つが最近傍です
このボックスも同じですが少し離れています
この4つが最近傍なので3つはプラスです
つまり5番目が何であろうと正になります
この点が2つのプラスに近いとしても
これは負になります
ここにあるすべては負です
同じように5つの最近傍の中に
2つのプラスがあります
しかしこのボックスはすべて負です
これは負のデータに囲まれているので負になります