Displaying 11 results from an estimated 11 matches similar to: "Fitted values and MSE of individual fits in lmList"
2007 Oct 11
1
random forest mtry and mse
I have been using random forest on a data set with 226 sites and 36
explanatory variables (continuous and categorical). When I use
"tune.randomforest" to determine the best value to use in "mtry" there
is a fairly consistent and steady decrease in MSE, with the optimum of
"mtry" usually equal to 1. Why would that occur, and what does it
signify? What I would
2004 Apr 23
1
Extracting the MSE and % Variance from RandomForest
Several ways:
1. Read ?randomForest, especially the `Value' section.
2. Look at str(myforest.rf).
3. Look at print.randomForest.
If the forest has 100 trees, then the mse and rsq are vectors with 100
elements each, the i-th element being the mse (or rsq) of the forest
consisting of the first i trees. So the last element is the mse (or rsq) of
the whole forest.
HTH,
Andy
> From: David
2002 Mar 29
1
mse
Dear all,
I dont know where I can find the 'Mean Square Error" function? Any hint
would be appreciated.
Best Regards
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)
2006 Apr 05
1
Combination of Bias and MSE ?
Dear R Users,
My question is overall and not necessarily related to R.
Suppose we face to a situation in which MSE( Mean Squared Error) shows desired results but Bias shows undesired ones, Or in advers. How can we evaluate the results. And suppose, Both MSE and Bias are important for us.
The ecact question is that, whether there is any combined measure of two above metrics.
Thank you so
2010 May 05
0
Which column in randomForest importances (for regression) is MSE and which IncNodePurity
I've run the function randomForest with importance=T. All my variables
(predictors and the dependent variable) are numeric.
rf<-randomForest(formula, data=mydata, importance=T, etc.)
my results object "rf" contains predictor importances:
rf$importance
I am seeing two columns:
%IncMSE IncNodePurity
V1 -0.01683558 58.10910
V2 0.04000299 71.27579
V3 0.01974636
2012 May 28
0
GLMNET AUC vs. MSE
Hello -
I am using glmnet to generate a model for multiple cohorts i. For each i, I
run 5 separate models, each with a different x variable. I want to compare
the fit statistic for each i and x combination.
When I use auc, the output is in some cases is < .5 (.49). In addition, if
I compare mean MSE (with upper and lower bounds) ... there is no difference
across my various x variables, but
2023 Oct 22
1
running crossvalidation many times MSE for Lasso regression
Dear R-experts,
Here below my R code with an error message. Can somebody help me to fix this error??
Really appreciate your help.
Best,
############################################################
#?MSE CROSSVALIDATION Lasso regression?
library(glmnet)
?
2023 Oct 22
2
running crossvalidation many times MSE for Lasso regression
No error message shown Please include the error message so that it is
not necessary to rerun your code. This might enable someone to see the
problem without running the code (e.g. downloading packages, etc.)
-- Bert
On Sun, Oct 22, 2023 at 1:36?PM varin sacha via R-help
<r-help at r-project.org> wrote:
>
> Dear R-experts,
>
> Here below my R code with an error message. Can
2023 Oct 23
1
running crossvalidation many times MSE for Lasso regression
Dear R-experts,
I really thank you all a lot for your responses. So, here is the error (and warning) messages at the end of my R code.
Many thanks for your help.
Error in UseMethod("predict") :
? no applicable method for 'predict' applied to an object of class "c('matrix', 'array', 'double', 'numeric')"
> mean(unlist(lst))
[1] NA
2023 Oct 24
1
running crossvalidation many times MSE for Lasso regression
?s 20:12 de 23/10/2023, varin sacha via R-help escreveu:
> Dear R-experts,
>
> I really thank you all a lot for your responses. So, here is the error (and warning) messages at the end of my R code.
>
> Many thanks for your help.
>
>
> Error in UseMethod("predict") :
> ? no applicable method for 'predict' applied to an object of class
2023 Oct 23
2
running crossvalidation many times MSE for Lasso regression
For what it's worth it looks like spm2 is specifically for *spatial*
predictive modeling; presumably its version of CV is doing something
spatially aware.
I agree that glmnet is old and reliable. One might want to use a
tidymodels wrapper to create pipelines where you can more easily switch
among predictive algorithms (see the `parsnip` package), but otherwise
sticking to glmnet