Displaying 3 results from an estimated 3 matches for "wine_test".
2009 Mar 04
0
Error in -class : invalid argument to unary operator
...for a week or so now.I am trying to
build a classifer that will classify the wine dataset using Naive Bayes.
My code is as follows
library (e1071)
wine<- read.csv("C:\\Rproject\\Wine\\wine.csv")
split<-sample(nrow(wine), floor(nrow(wine) * 0.5))
wine_training <- wine[split, ]
wine_testing <- iris[-split, ]
naive_bayes <-naiveBayes(class~.,data=wine_training)
x_testing <- subset(wine_testing, select = -class)
y_testing <- wine_testing$class # just grab Species variable of
iris_training
pred <- predict(naive_bayes, x_testing)
tab<-table(pred, y_testing)...
2005 Oct 27
2
Problem with strings in Delphi Program
Hello,
I tried to run a program written in Delphi in wine and it ran quite
perfectly, but sadly there was one important detail that made using it
impossible...
It seems that wine has a problem with the text inputs (edits). They are
"string" datatypes (8 bit ansi string), and not null terminated.
The problem was showing itself e.g. at the login form of the program.
The password I
2009 Aug 05
3
Wine Unbearably Slow
After using Wine without any significant hitches for over a year, I've just come across one. Every time I load any application (even winecfg), it takes between thirty seconds to one minute for it to load. During this time, normal functions take forever or don't work at all (selecting folders, opening a file, etc.). Sometimes it will load and work just fine, but often the program continues