Fehler im plot, Formel fehlt

Ich versuche, mein Grundstück svm-Modell.

library(foreign)
library(e1071)

x <- read.arff("contact-lenses.arff")
#alt: x <- read.arff("http://storm.cis.fordham.edu/~gweiss/data-mining/weka-data/contact-lenses.arff")
model <- svm(`contact-lenses` ~ . , data = x, type = "C-classification", kernel = "linear")

Die Kontaktlinse arff ist der eingebaute Daten-Datei in weka.

Aber jetzt ich Laufe in einen Fehler versucht zu zeichnen das Modell aus.

 plot(model, x)
Error in plot.svm(model, x) : missing formula.
InformationsquelleAutor aceminer | 2014-09-08
Schreibe einen Kommentar