Displaying 20 results from an estimated 1000 matches similar to: "fgrep with caret (^) meta-character in system() call"
2007 Apr 04
2
pattern search
Dear R-experts,
I'm looking for an easy possibility for pattern search. I have got a
string and a special pattern. I would like to know if the pattern
appears in the string, if yes where does it appear (position) and the
number of appearance.
Example:
Text = c("If the sun shines, no clouds should be seen in the sky!")
SearchPattern = c("the")
NumberOfAppearance = 0
2015 Jul 16
4
doveadm import - strange warning
I'm using the doveadm import command to extract mails from my backup:
% doveadm import -u restore at backup.invalid mdbox:/home/copymail/mdbox "" \
mailbox INBOX header Delivered-To backup+$SEARCHPATTERN at backup.invalid
This works like a charm, I'm getting all the mails, and I can access
the newly generated mailbox.
But when executing the command I'm getting an
1998 Jun 02
0
"fgrep" for help \\ IBM PowerPC AIX
>>>>> "TL" == Thomas Lumley <thomas@biostat.washington.edu> writes:
TL> ......
TL> Currently "%*%" doesn't have any help but help
TL> requests get routed to Arith, because "%*%" as a regular expression
TL> matches "%%". I will add this to the special cases in help(), but
TL> should we use fgrep
2015 Jul 27
0
doveadm import - strange warning
Anybody seen this before?
Seems easy to reproduce...
* Ralf Hildebrandt <r at sys4.de>:
> I'm using the doveadm import command to extract mails from my backup:
>
> % doveadm import -u restore at backup.invalid mdbox:/home/copymail/mdbox "" \
> mailbox INBOX header Delivered-To backup+$SEARCHPATTERN at backup.invalid
>
> This works like a charm, I'm
2017 Jul 28
4
R-Package for Recursive Partitioning without Classification or Regression
Hello,
I have a question related to recursive partitioning, but I cannot find
an answer, likely because I don't know how to properly word my Google
search query.
All recursive partitioning examples, which I can find, are used for
either classification or regression trees like
library(tree)
data(iris)
tree(Species ~ Sepal.Width + Petal.Width, data = iris)
which implies building a
2015 Jul 27
2
doveadm import - strange warning
Am 27.07.2015 um 10:51 schrieb Ralf Hildebrandt:
> Anybody seen this before?
> Seems easy to reproduce...
>
> * Ralf Hildebrandt <r at sys4.de>:
>> I'm using the doveadm import command to extract mails from my backup:
>>
>> % doveadm import -u restore at backup.invalid mdbox:/home/copymail/mdbox "" \
>> mailbox INBOX header Delivered-To
2011 Feb 04
3
lapply, strsplit, and list elements
Hi there,
I have a problem about lapply, strsplit, and accessing list elements,
which I don't understand or cannot solve:
I have e.g. a character vector with three elements:
x = c("349/077,349/074,349/100,349/117",
"340/384.2,340/513,367/139,455/128,D13/168",
"600/437,128/903,128/904")
The task I want to perform, is to generate a list,
2007 Apr 30
0
[999] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Use paint() instead of ClientDC.new() in caret sample
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2011 Aug 28
1
Trying to extract probabilities in CARET (caret) package with a glmStepAIC model
Dear developers,
I have jutst started working with caret and all the nice features it offers. But I just encountered a problem:
I am working with a dataset that include 4 predictor variables in Descr and a two-category outcome in Categ (codified as a factor).
Everything was working fine I got the results, confussion matrix etc.
BUT for obtaining the AUC and predicted probabilities I had to add
2007 Jul 16
0
[1113] trunk/wxruby2/samples/caret/caret.rb: Ensure the canvas has focus so KeyEvents are directed to it, fixing bug 10663
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Jul 21
0
[1130] trunk/wxruby2/swig/classes/Caret.i: Make Caret managed as object, so it is cleaned up properly when not
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 Apr 29
0
[981] branches/wxruby2/wxwidgets_282/samples/caret/caret.rb: Don''t call PaintDC.new; just refresh() instead of duplicating paint code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding:
2007 May 07
0
[ wxruby-Bugs-10663 ] Keys not responding in caret sample, Linux
Bugs item #10663, was opened at 2007-05-07 19:57
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=10663&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Alex Fenton (brokentoy)
Assigned to: Alex Fenton (brokentoy)
Summary: Keys not responding in caret sample, Linux
Initial Comment:
On
2007 Mar 06
0
[ wxruby-Bugs-9093 ] Caret sample segfault on exit on Windows
Bugs item #9093, was opened at 2007-03-06 14:46
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=9093&group_id=35
Category: Incorrect behavior
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Kevin Smith (qualitycode)
Summary: Caret sample segfault on exit on Windows
Initial Comment:
The caret sample
2006 Aug 22
1
Patch for caret.rb
I removed all the ()''s and patched things so it won''t crash on bad
keystrokes.
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2005 Aug 16
1
Patch for caret.rb
This patch fixes the following errors:
1. Crash when you resize smaller than 1 line
2. Crash when you resize the cursor outside the screen
3. Doesn''t clear screen when you resize (on Windows at least)
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2010 Apr 06
1
Caret package and lasso
Dear all,
I have used following code but everytime I encounter a problem of not having
coefficients for all the variables in the predictor set.
# code
rm(list=ls())
library(caret)
# generating response and design matrix
X<-matrix(rnorm(50*100),nrow=50)
y<-rnorm(50*1)
# Applying caret package
con<-trainControl(method="cv",number=10)
data<-NULL
data<- train(X,y,
2011 May 28
0
how to train ksvm with spectral kernel (kernlab) in caret?
Hello all,
I would like to use the train function from the caret package to
train a svm with a spectral kernel from the kernlab package. Sadly
a svm with spectral kernel is not among the many methods in caret...
using caret to train svmRadial:
------------------
library(caret)
library(kernlab)
data(iris)
TrainData<- iris[,1:4]
TrainClasses<- iris[,5]
set.seed(2)
2011 Mar 15
0
wxStyledTextCtrl: how to set caret at begining of a selection?
Hi there,
I was trying to select text backwards in a StyledTextCtrl, i.e, want the
caret to be in the front, not at the end of selection, however
unsucessful.
My code like this:
set_selection_end(11)
set_selection_start(5)
Any suggestions? thanks in advance.
Zhimin
--
Posted via http://www.ruby-forum.com/.
2012 Feb 10
1
Choosing glmnet lambda values via caret
Usually when using raw glmnet I let the implementation choose the
lambdas. However when training via caret::train the lambda values are
predetermined. Is there any way to have caret defer the lambda
choices to caret::train and thus choose the optimal lambda
dynamically?
--
Yang Zhang
http://yz.mit.edu/