Displaying 5 results from an estimated 5 matches similar to: "Random Forest"
2006 Feb 06
4
Basic MVC in RoR question
Ok, Here''s my controller:
def create
trainingplan = Trainingplan.createplan(@params[:startdate],
@params[:enddate], @params[:hoursperweek], @params[:programtype])
end
My model is:
class Trainingplan <ActiveRecord::Base
def self.createplan(stardate, enddate, hoursperweek, programtype)
stardate = startdate
enddate = enddate
hoursperweek = hoursperweek
programtype
2011 Nov 13
1
libary(Rweka) J48 design tree
Hello everybody
I'm having some difficulties to design the decision tree algorithm J48.
I am using the following code and when I run it gives me the following
message
plot(m1)
Error in plot.Weka_tree(m1) :
Plotting of trees with multi-way splits is currently not implemented.
#The code
library(RWeka)
library(randomForest)
library(party)
if(require(mlbench, quietly = TRUE) &&
2011 Jul 09
1
Eliminate level information
Hi, I hope this formatting is correct as it is my first time.
I am trying to do comparisons of values in a data frame that has some factor
variables.
One instance is
> train$sex[2]
[1] Male
Levels: Female Male
So the value is Male but a comparison like "Male" == train$sex[2]
will always return FALSE because of the level information included.
Another problem this creates is
2005 Sep 16
1
How to make two figures in one plot - package vcd
Dear all,
I have a problem to make figures with two columns in package vcd.
Here an example code I take from "\library\vcd\html\plot.loglm.html"
What I need, I want to make two figures in one plot.
How could I do that.
I have tried with
layout(rbind(c(1, 1, 2, 2)))
but the same result, two plot.
Best wishes, Muhammad Subianto
library(vcd)
oldpar <- par(mfrow=c(1, 2))
## mosaic
2010 Dec 06
1
Help with GAM (mgcv)
Please help! Im trying to run a GAM:
model3=gam(data2$Symptoms~as.factor(data2$txerad)+s(data2$maritalStatus),family=binomial,data=data2)
But keep getting this error:
Error in dl[[i]] : subscript out of bounds
Can someone please tell me what this error is?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Help-with-GAM-mgcv-tp3074165p3074165.html
Sent from the R help