Displaying 10 results from an estimated 10 matches for "csplit".
Did you mean:
split
2005 Sep 20
1
Interpretation of csplit from rpart.object
Dear members of R-list,
I need to reproduce the rules of a decision tree. For that I need to use the
csplit information from the rpart.object. But I cannot uderstand the
information because from my example I get:
> rpart.tree$csplit
[,1] [,2] [,3] [,4] [,5] [,6] [,7]
[1,] 1 3 3 1 3 3 3
[2,] 2 3 3 1 2 2 2
[3,] 1 3 3 1 3 3 3
[4,]...
2004 Jun 17
2
using "= matrix (...)" in .C calls
...as.integer(xval),
which = integer(nobs),
cptable = matrix(double(numcp*cpcol), nrow=cpcol),
dsplit = matrix(double(1), nsplit,3),
isplit = matrix(integer(1), nsplit,3),
csplit = catmat,
dnode = matrix(double(1), nodes, 3+numresp),
inode = matrix(integer(1), nodes, 6),
PACKAGE = "rpart")
Which in communicates with the C code in "s_to_rp.c"
void s_to_rp2(Sint *n, Sint...
2002 Apr 25
1
understanding and resolving seg faults
...For those that don't have structure of rpart drilled into their brain:
deltaI is declared in "rpmatrix.c":
void rpmatrix(struct node *me, Sint *nodecount, Sint *splitcount,
Sint *catcount, Sint *numcat, double **dsplit,
Sint **isplit, Sint **csplit, double **dnode,
Sint **inode, double **deltaI, int id)
rpmatrix is called by "s_to_rp.c" where
ddeltaI is a pointer from an ALLOC call:
void s_to_rp2(Sint *n, Sint *nsplit, Sint *nnode, Sint *ncat,
Sint *numcat, Sint *maxcat...
2012 Jul 06
2
Plotting rpart trees with long list of class members
I have a class with 732 members, so using rpart.plot is giving me a tiny plot
in the middle of the window. Is there a good way to modify the plot, or
replace the long list with something like "group1"?
--
View this message in context: http://r.789695.n4.nabble.com/Plotting-rpart-trees-with-long-list-of-class-members-tp4635671.html
Sent from the R help mailing list archive at
2009 Jun 10
3
grep/sed help
I am rsyncing and remotely doing some work based on a logfile from
a windows box from a centos backup server. I get the output from a
vss snapshot that has a section like this:
* SNAPSHOT ID = {639ef5df-c933-4496-878a-ed57b9d52876} ...
- Shadow copy Set: {427ac5db-21be-4c53-8ca4-24e7bac86a1d}
- Original count of shadow copies = 2
- Original Volume name:
2010 Dec 13
2
rpart.object help
Hi,
Suppose i have generated an object using the following :
fit <- rpart(Kyphosis ~ Age + Number + Start, data=kyphosis)
And when i print fit, i get the following :
n= 81
node), split, n, loss, yval, (yprob)
* denotes terminal node
1) root 81 17 absent (0.7901235 0.2098765)
2) Start>=8.5 62 6 absent (0.9032258 0.0967742)
4) Start>=14.5 29 0 absent (1.0000000
2007 Aug 28
7
grep
Not a CentOS specific question, although I am running grep on CentOS 4.3
but how would you grep out a series of lines in a file starting at a
specific point. For instance, if I have a file named foo and I want to
grep out the next 5 lines after the first and only instance of the
string "bar" how could I pull that off? Thanks so much.
2010 Oct 04
1
Metropolis: Implementation of Interlock Protocol using Linux Shell Programming, OpenSSH, and GPG
...ho "invalid mode argument : $4"
echo ""
exit 1
fi
echo "Encrypting infile with Public Key"
gpg -o sent.gpg --recipient $3 -e $1
if [ -e "sent.gpg" ]
then
#Splitting file
echo "Splitting infile into two files"
line=10
csplit -f sent $line
rm sent.gpg
else echo "Encryption failed !!"
echo "Program exit now."
echo ""
exit 1
fi
################### THE MIRACLE ############################
#Sending 1-st File
echo "send 1-st file to recipient &qu...
2008 May 02
3
Archive-to-DVD
Hi folks,
Here's the situation. I have a group of engineers who love to save
things to disk. Now that the filer is getting full, they are
interested in archiving some of those things to DVD.
The tress containing the things they want to archive are specified
like so:
/path/path/path/A/04??
/path/path/path/B/04??
/path/path/path/A/05??
/path/path/path/B/05??
/path/path/path/A/06??
2006 Jun 24
8
How to install programs in wine?
I am a rank newbie to Linux and wine.
I am running Ubuntu Dapper on an AMD 1800 mhz machine, wine 0.9.15
Everything I have read says use the installer to load windows programs.
Where is the installer?
Thanks,
--
Ron Thompson On the Beautiful Florida Space Coast, right beside the Kennedy Space Center, USA
http://www.plansandprojects.com My hobby pages are here: