Displaying 20 results from an estimated 11000 matches similar to: "Practical work with logistic regression"
2007 Nov 27
1
Questions on RWeka classifiers?
Hi,
I am using some classifiers in RWeka packages and met a couple problems.
(1) J48 implements C45 classifier, the C45 should be able to handle missing
values in both training set and test set. But I found the J48
classifier can
not be evaluated on test set with missing values--it just ignore them.
(2) The ensemble classifiers in RWeka such as bagging and boosting: there
is a
2004 Mar 08
3
Decision Trees
I am familiar with the rpart and tree packages for classification and
regression trees. However, quite a bit of the research in the
transportation community relating to decision trees uses the C4.5 family of
algorithms by Quinlan. Are there any plans to make a C4.5 (or a derivative
of it) available to R? If not, then I might use the WEKA Java package (
http://www.cs.waikato.ac.nz/ml/weka) that
2010 Sep 26
4
How to update an old unsupported package
Hi all,
I have a package that is specific to a task I was repetitively using a
few years ago.
I now needed to run it again with new data.
However I am told it was built with an older version or R and will not work.
How can I tweak the package so it will run on 11.1?
It was a one-off product and has not been maintained.
Is there a way to "unpackage" it and repackage it to work?
I
2013 May 12
2
Data mining
Hola, ¿cómo están?
Soy estudiante de Ing. en Sistemas de Información y estoy cursando
la materia Tecnologías para la Explotación de Datos. Me he decidido a usar
R para hacer DM. Estoy recién comenzando con ambos.
El asunto es que no he encontrado la implementación en R de uno de
los algoritmos que dimos para árboles de decisión, ID3. Ya revisé varios de
los paquetes para DM
2002 Mar 10
6
Newbie with R
Hello,
I would like to test some learning algorithms (C5.0, or C4.5) using decision trees or neural network.
I didn't find anything in the R documentation for functions to apply on datasets (well, English is not my mother tongue and I have some problems to understand some functions descriptions). Does anybody know where I can find anything about that ?
Thank you very much,
Thomas
2012 Feb 09
1
Tr: Re: how to pass weka classifier options with a meta classifier in RWeka?
Le jeudi 09 f?vrier 2012 ? 15:31 +0200, Kari Ruohonen a ?crit :
> Hi,
> I am trying to replicate a training of AttributeSelectedClassifier with
> CFsSubsetEval, BestFirst and NaiveBayes that I have initially done with
> Weka. Now, I am trying to use RWeka in R.
>
> I have a problem of passing arguments to the CfsSubsetEval, BestFirst
> and NaiveBayes. I have first created an
2008 Oct 16
4
How to save/load RWeka models into/from a file?
Hi,
I want to save a RWeka model into a file, in order to retrive it latter
with a load function.
See this example:
library(RWeka)
NB <- make_Weka_classifier("weka/classifiers/bayes/NaiveBayes")
model<-NB(formula,data=data,...) # does not run but you get the idea
save(model,file="model.dat") # simple save R command
# ...
load("model.dat") # load the model
2013 Apr 25
1
C50 package in R
Hi All,
I am trying to use the C50 package to build classification trees in R. Unfortunately there is not enought documentation around its use. Can anyone explain to me - how to prune the decision trees?
Regards,
Indrajit
[[alternative HTML version deleted]]
2007 Jul 11
2
RWeka control parameters classifiers interface
Hello,
I have some trouble in achieving the desired parametrisation
for the weka classifier functions, using the package RWeka.
The problem is, that the functions
result=classifier(formula, data, subset, na.action, control = Weka_control(mycontrol))
do not seem to be manipulated by the mycontrol- arguments
Perhaps this should be resepected via the handlers- argument ,
but the
2009 Jun 04
1
About classifier in RWeka
Hi everyone,
I have trouble to use RWeka, I tried: (w=weather dataset, all
preditors are nominal)
> m<-J48(play~., data=w)
> e<-evaluate_Weka_classifier(m,cost = matrix(c(0,2,1,0),
+ ncol = 2),numFolds = 10, complexity = TRUE,seed = 123,
+ class = TRUE)
it gives me exactly what I want, but when I tried the same classifier
on the other published data: (iris dataset has all numeric
2008 Oct 13
1
Logistic Regression - Interpreting SENS (Sensitivity) and SPEC (Specificity)
Hi
Hi I am working on credit scoring model using logistic regression. I havd main sample of 42500 clentes and based on their status as regards to defaulted / non - defaulted, I have genereted the probability of default.
I have a hold out sample of 5000 clients. I have calculated (1) No of correctly classified goods Gg, (2) No of correcly classified Bads Bg and also (3) number of wrongly
2009 Feb 17
1
Cross classified or Multiple membership or Hierarchical (3 level ) logistic models using Umacs
Dear R users,
I would like to fit cross classified or multiple membership logistic models
or a 3 level hierarchical logistic model using the Umacs package. Can anyone
advise me on how to proceed or better point me to examples of how its done.
Regards,
--
Luwis Diya,
Leuven Biostatistics and Statistical Bioinformatics Centre (L-BioStat),
Kapucijnenvoer 35 blok d - bus 7001,
3000 Leuven,
2009 Dec 01
2
problem with RWeka Weka_control RandomForest
Dear All,
I am finding trouble trying to guild a Wrapper using random forest to
evaluate the subsets:
I do:
nombi <-
make_Weka_filter("weka/filters/supervised/attribute/AttributeSelection")
datbin<- nombi(gene ~., data=X1X2X4X5W, control =Weka_control(
S=list("weka.attributeSelection.GeneticSearch"),
E=list("weka.attributeSelection.WrapperSubsetEval"),B
2008 Oct 13
4
Fw: Logistic regresion - Interpreting (SENS) and (SPEC)
Dear Mr Peter Dalgaard and Mr Dieter Menne,
I sincerely thank you for helping me out with my problem. The thing is taht I already have calculated SENS = Gg / (Gg + Bg) = 89.97%
and SPEC = Bb / (Bb + Gb) = 74.38%.
Now I have values of SENS and SPEC, which are absolute in nature. My question was how do I interpret these absolue values. How does these values help me to find out wheher my model is
2007 Aug 01
1
RWeka cross-validation and Weka_control Parametrization
Hello,
I have two questions concerning the RWeka package:
1.) First question:
How can one perform a cross validation, -say 10fold- for a given data set and given model ?
2.) Second question
What is the correct syntax for the parametrization of e.g. Kernel classifiers interface
m1 <- SMO(Species ~ ., data = iris, control =
2011 Feb 09
6
clasificador estandar maximum likelihood
Hola a todos,
He echado un vistazo a alguno de los paquetes de R que incluyen clasificadores y no sonsigo encontrar ninguno que tenga alguna función para usar un clasificador de maxima probabilidad tradicional.
Alquien sabe de alguna?
Gracias
Víctor.
[[alternative HTML version deleted]]
2007 Nov 01
1
RWeka and naiveBayes
Hi
I'm trying to use RWeka to use a NaiveBayes Classifier(the Weka
version). However it crashes whenever there is a NA in the class
Gender
Here is the.code I have with d2 as the data frame.
The first call to NB doesn't make R crash but the second call does.
NB <- make_Weka_classifier("weka/classifiers/bayes/NaiveBayesSimple")
d2[,64]<-d2$Gender=="M"
2010 Apr 07
1
RWeka - Error when attempting to summary() model
I'm a big fan of both Weka and R (quite new at R :) ), and jumped at the chance to use them together. Unfortunately, I'm running into what is probably a dumb error when trying to view info about my model. A Google search turned up 0 hits for the actual error I got (last line), but you all are smarter!
My code is below, but basically my data frame (q) is imported via RODBC and has 1586
2010 Apr 29
2
substring comparison
Hi all,
I'm writing a script to do some basic text analysis in R. Let's assume
I have a data frame named data which contains a column named 'utt'
which contains strings. Is there a straightforward way to achieve
something like this:
data$ContainsThe <- ifelse(startsWith(data$Utt,"the"),"y","n")
or
data$ContainsThe <-
2002 Sep 04
2
classification table in logistic regression
Friends,
Is there an option (or options) to produce a classification table when
running a logistic regression analysis? Similar to the ctable option in
proc logistic in SAS?
TIA,
Ioannis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or