Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

3 results for “from:thuksu”

GLM: What is a good way for dealing with new factor levels in the test set?
thuksu · Apr 29, 2015 · r-help

My training set and my test set have some factor levels that are different.... It's rare, but it occurs. What is a good way for dealing with this? I don't want to throw away the entire row from...

GLM: What is a good way for dealing with new factor levels in the test set?
thuksu · May 4, 2015 · r-help

For anyone who is looking for an answer to this in the future... I went for "imputation". It's a way of filling in missing variables based off of what you see elsewhere in the data. Myself, I simply took...

GLM: What is a good way for dealing with new factor levels in the test set?
thuksu · Apr 30, 2015 · r-help

Hi, Thanks for the reply! I did try this... # res is a data frame levels(res$mytypeid.f) <- c(levels(res$mytypeid.f),"mynewlevel") logreg <- glm(yesno ~ mytypeid.f + amount, data=res, family="binomial") exp(coef(logreg)) # this result shows...

Can't find what you're looking for? Try searching with Google .