Displaying 20 results from an estimated 300 matches similar to: "predict rpart: new data has new level"
2008 Jul 22
2
rpart$where and predict.rpart
Hello there. I have fitted a rpart model.
> rpartModel <- rpart(y~., data=data.frame(y=y,x=x),method="class", ....)
and can use rpart$where to find out the terminal nodes that each
observations belongs.
Now, I have a set of new data and used predict.rpart which seems to give
only the predicted value with no information similar to rpart$where.
May I know how
2008 Aug 05
1
Extracting variable names of final model in stepAIC
Hello there. I uses the following codes for the purpose of variable
selection.
> lmModel <- lm(y~.,data.frame(y=y, x=x))
> step <- stepAIC(lmModel, direction="both")
> step$anova
Stepwise Model Path
Analysis of Deviance Table
Initial Model:
y ~ x.Market.Price + x.Quantity + x.Country + x.Incoterm + x.Channel +
x.PaymentTerm
Final
2008 Jul 21
2
CART and CHAID
Can I say that RPART is a modified algo of CART and PARTY a modified of
CHAID?
Thanks.
----
Chua Siang Li
Consultant - Operations Research
Acceval Pte Ltd
Tel: 6297 8740
Email: siang.li.chua at acceval-intl.com
Website: www.acceval-intl.com
This message and any attachments (the "message"...{{dropped:12}}
2008 Aug 19
1
nonlinear constrained optimization
Hi. I need some advises on how to use R to find pi (i is the index) with
the following objective function and constraint:
max (sum i)[ f(ai, bi, pi) * g(ci, di, pi) * Di ]
s.t. (sum i)[ f(ai, bi, pi) * Di * pi] / (sum i)[ f(ai, bi, pi) * Di ] <=
constant
f and g are diffentiable.
So, I am thinking of optim with method = "BFGS"? But wonder how to include
the
2008 Jun 18
3
Cluster on both categorical and numerical data
Hello there. Is there any function in R that can do cluster on a set of
data that has both categorical and numerical variables? thanks.
siangli
2008 Sep 16
0
Warning messages after auto.arima
Dear R-helpers.
Would appreciate if someone can explain the warning messages below, after
auto.arima. I couldn't find any clue in the archived help.
Also, how do I retrieve the AICs of each tried model in auto.arima? The
purposes are (1) to output to a text file, and (2) to find the 2nd best
model by finding 2nd lowest AIC instead of eyeballing thru the value at the
console
2008 Oct 15
1
Forecasting using ARIMAX
Dear R-helpers,
I would appreicate if someone can help me on the transfer parameter in ARIMAX and also see what I am doing is correct.
I am using ARIMAX with 2 Exogeneous Variables and 10 years data are as follows:
DepVar Period, depVar, IndepVar1 Period, indepVar1, IndepVar2 Period, indepVar2
Jan 1998,708,Jan 1998,495,Jan 1998,245.490
Feb 1998,670,Feb 1998,421.25,Feb 1998,288.170
Mar
2008 Jul 03
1
Otpmial initial centroid in kmeans
Helo there. I am using kmeans of base package to cluster my customers. As
the results of kmeans is dependent on the initial centroid, may I know:
1) how can we specify the centroid in the R function? (I don't want random
starting pt)
2) how to determine the optimal (if not, a good) centroid to start with? (I
am not after the fixed seed solution as it only ensure that the
2006 Feb 07
2
guideline for plug-in to icecast2 server
hi
i have switch to using oddcast under window platform and now using icecastwin32 as server in this case is there any possible way to let icecastwin32 to stream Wma? pls advise thanks you
-----Original Message-----
From: Geoff Shang [mailto:geoff@hitsandpieces.net]
Sent: Wednesday, February 08, 2006 1:06 PM
To: Neo Jiun Siang - R&D
Cc: icecast@xiph.org; njsalan@hotmail.com
Subject: RE:
2006 Feb 07
1
guideline for plug-in to icecast2 server
thanks alot Geoff by the way is there any possible ways to add plug-in to icecast2 server to stream Wma? regardless of the license problem
-----Original Message-----
From: Geoff Shang [mailto:geoff@hitsandpieces.net]
Sent: Tuesday, February 07, 2006 8:08 PM
To: Neo Jiun Siang - R&D
Cc: icecast@xiph.org; njsalan@hotmail.com
Subject: RE: [Icecast] guideline for plug-in to icecast2 server
Neo
2006 Feb 07
1
guideline for plug-in to icecast2 server
hi
actually im trying to add feature to ices2 to able to stream mix file format such as
ogg and mp3 in the same playlist.m3u without extra decoding and encoding that function like ezstream. the reason i dont want to use ezstream as source client becoz after going thru decoding and encoding, the audio quality drops. Therefore im trying to find out is there any easy way out to add plug-in to
2015 Mar 04
2
adaptive bandwidth
Thanks Dragos,
I assume I will be setting those parameters during initialization of
encoder right?
Question is, if connection gets too lossy, how will opus adapt to it? Can
it automatically shift bitrate down to minimize impact?
Mark from IRC suggests that the app has to be aware of the losses and
change it on the fly.
Has anybody on the list tried this?
Kelvin Chua
On Wed, Mar 4, 2015 at 5:53
2009 Feb 02
8
ZFS core contributor nominations
The time has come to review the current Contributor and Core contributor
grants for ZFS. Since all of the ZFS core contributors grants are set
to expire on 02-24-2009 we need to renew the members that are still
contributing at core contributor levels. We should also add some new
members to both Contributor and Core contributor levels.
First the current list of Core contributors:
Bill
2003 Sep 07
7
how to connect 2 TE410P
hi guys,
do you have any suggestions on how to connect 2 TE410P via E1? (for simulation and testing purposes)
asterisk1 --> TE410P ----> ? ---------> ? ---->TE410P -->asterisk2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030907/698cd499/attachment.htm
2015 Mar 04
2
adaptive bandwidth
I am using libopus for my implementation. I wonder if anybody in the list
have any experience on how to make libopus dynamically adjust its bitrate?
On Mar 3, 2015 10:42 PM, "Benjamin Schwartz" <benjamin.m.schwartz at gmail.com>
wrote:
> It sounds like your software isn't adjusting the opus bitrate in response
> to network conditions. For example, many WebRTC
2006 Feb 24
1
read table problem
Hi
I have a file saved in R, named agrexp.Rdata, shown below
> agrdata
fert yield
1 25 84
2 50 80
3 75 90
4 100 154
5 125 148
If I double clicked on this file, the data is displayed without problem.
However if I tried to import using:
> agrdata<-read.table("agrexp.Rdata") or
>
2003 Jul 24
2
audiocodes fxs
hi guys,
have anybody tried using audiocodes sip fxs against asterisk? how's the device fairing?
~kelvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030725/ae4b2f25/attachment.htm
2002 Jan 07
3
keyboard-interactive
Is there a way for a PAM module to force a client (and the server) to
use kbd-interactive? As far as I can tell, when in the INITIAL_LOGIN
phase, all communication with the client returns a PAM_CONV_ERR. I am
trying to write a PAM module that will prompt a user for a second
username and a second password in order for the module to succeed so
that proper authentication relies on the ability
2001 Mar 20
2
WINS/LMHOST
Apologies if this is off-topic and if you could point me to the right place
to ask this questions, I would greatly appreciate it.
I have just taken over our department's system where we have a couple of
UNIX servers running samba to share user home directories on NT clients. My
system admin is trying to upgrade to WINS server and had trouble with my
UNIX server host name that have
2002 Nov 19
0
Wine & Metastock
I've just recently converted my Windows pc to Mandrake Linux & I've got
everything I need working except for this software - Equis Metastock.
I've managed to install it. However, on execution, it dies with the
following msg:
"A CreateFont error occurred while loading the Symbols font: C:\Program
Files\Equis\MetaStock\equis.ttf".
On the wine console, the following msg