Displaying 2 results from an estimated 2 matches for "lobj".
Did you mean:
kobj
2010 Dec 08
1
the output of function lars
Hi here is the code as example
lars is in package lars
> x<-matrix(rnorm(20*5,0,1),20,5)
> bs<-matrix(sample(seq(1:10),5),5,1)
> er<-rnorm(20,0,1)
> y<-x%*%bs+er
> lobj<-lars(x,y,type="lasso")
> names(lobj)
[1] "call" "type" "df" "lambda" "R2"
[6] "RSS" "Cp" "actions" "entry" "Gamrat"
[11]...
2010 Jun 09
1
TermGenerator incorrectly tokenizes German text which contains special characters
...ter encodings are set to UTF-8, the MySql database is also in
UTF-8 encoding.
*
#1 $lIndexer = new XapianTermGenerator();
#2 $lStemmer = new XapianStem(XapianHelper::GetStemmer($pLanguage)); //
?german?
#3 $lIndexer->set_stemmer($lStemmer);
#4 $lDoc = new XapianDocument();
#5 $lDoc->add_term($lObj->Id);
#6 $lIndexer->set_document($lDoc);
#7 $lIndexer->index_text("Nahrungserg?nzungsmittel Ausrei?er");
#8 $lIndexer->index_text($lSomeStringFromDb);*
In the code example just above here the problem only occurs when I try to
index text on line #8. The string which get indexe...