Will there be any pictures? stop talking about nothing, you don't need any good ones either, lol :)
I don't even know... Doc also gave all the codes for MKUL so the model can be used directly in MT. The only thing I didn't like about elmnn is that no matter how many times I trained it, it always give me the same result on OOS. So, no matter how many times I train it, it always produces the same result.) But the work has just started and I need more tests to get a confident verdict...
forexFeatures<-forexFeatures1[i:n_rw,1:n_enter+1]
set.seed(1234)
#designTreatmentsC подходит только для классификации с двумя классами
treatmentsC <- designTreatmentsC(dframe = forexFeatures,
varlist=colnames(forexFeatures)[-ncol(forexFeatures)], #названия колонок с предикторами (тут - все кроме последней колонки)
outcomename = colnames(forexFeatures)[ncol(forexFeatures)], #названия колонок с таргетом (тут - последняя колонка)
outcometarget = "1") #текст или цифра одного из классов
#обработка, сортировка результата
treatmensC_scores <- treatmentsC$scoreFrame[order(treatmentsC$scoreFrame$sig),]
treatmensC_scores <- treatmensC_scores[!duplicated(treatmensC_scores$origName),]
treatmensC_scores <- treatmensC_scores[,c("origName","sig")]
treatmensC_scores$is_good <- treatmensC_scores$sig <= 1/nrow(forexFeatures)
treatmensC_scores
Anyway, it's like this. But this is evaluation for target classification where there are only 0 and 1. It's different for regression...
How to correctly interpret the result of the random forest model - is it good or bad?
Summary of the Random Forest Model
==================================
Number of observations used to build the model: 282752
Missing value imputation is active.
Call:
randomForest(formula = as.factor(arr_Sell) ~ .,
data = crs$dataset[crs$sample, c(crs$input, crs$target)],
ntree = 500, mtry = 5, importance = TRUE, replace = FALSE, na.action = randomForest::na.roughfix)
Type of random forest: classification
Number of trees: 500
No. of variables tried at each split: 5
OOB estimate of error rate: 0.85%
Confusion matrix:
-10class.error
-12143818250.07845075905842589050.002250577
Analysis of the Area Under the Curve (AUC)
==========================================
Call:
roc.default(response = crs$rf$y, predictor = as.numeric(crs$rf$predicted))
Data: as.numeric(crs$rf$predicted) in 23263 controls (crs$rf$y -1) < 259489 cases (crs$rf$y 0).
Area under the curve: 0.959695% CI: 0.9579-0.9614 (DeLong)
Variable Importance
===================
-10 MeanDecreaseAccuracy
arr_iDelta_MN1 138.27133.11140.22
arr_iDelta_H6 125.08121.39133.93
arr_iDelta_H12 123.70122.14133.35
arr_Regresor 128.66115.53127.84
arr_iDelta_W1 139.04113.42127.63
arr_iDelta_Min_D1 116.08109.00118.71
arr_LastBarPeresekD_Up_M15 104.77115.87118.67
arr_LastBarPeresekD_Down_M15 101.57111.98114.99
arr_TimeH 109.29110.21111.94
arr_iDelta_Max_H1 106.04102.77109.00
arr_DonProcVisota 95.92109.61106.40
arr_iDelta_D1 116.6590.42103.11
arr_iDelta_Max_D1 96.3394.41101.86
arr_iDelta_H4 78.4790.8690.15
arr_DonProc_M15 78.2584.5685.65
arr_Den_Nedeli 83.4981.8883.28
arr_DonProc 58.3084.2276.08
arr_iDelta_H3 55.6464.1862.44
arr_RSI_Open_H1 70.0747.2158.58
arr_LastBarPeresekD_Up 49.1659.1956.28
arr_iDelta_Min_H1 47.1260.1955.55
arr_Vektor_Week 53.2352.1254.44
arr_iDelta_H1 41.2048.6346.96
arr_Vektor_Don_M15 46.7940.6445.61
arr_LastBarPeresekD_Down 33.4642.7939.32
arr_Vektor_Day 31.9432.0532.78
arr_Vektor_Don 18.9422.5121.50
arr_BB_Center 19.9121.4621.07
arr_RSI_Open_M1 24.1415.2118.13
arr_BB_Down 18.2213.5415.41
arr_BB_Up 11.7412.8213.13
MeanDecreaseGini
arr_iDelta_MN1 1786.84
arr_iDelta_H6 1257.97
arr_iDelta_H12 1286.82
arr_Regresor 1162.09
arr_iDelta_W1 1611.97
arr_iDelta_Min_D1 1009.56
arr_LastBarPeresekD_Up_M15 990.33
arr_LastBarPeresekD_Down_M15 1051.66
arr_TimeH 1718.65
arr_iDelta_Max_H1 945.35
arr_DonProcVisota 1146.33
arr_iDelta_D1 1179.92
arr_iDelta_Max_D1 1036.35
arr_iDelta_H4 1182.16
arr_DonProc_M15 1102.40
arr_Den_Nedeli 1185.70
arr_DonProc 699.24
arr_iDelta_H3 1163.34
arr_RSI_Open_H1 228.25
arr_LastBarPeresekD_Up 839.31
arr_iDelta_Min_H1 760.00
arr_Vektor_Week 278.21
arr_iDelta_H1 778.78
arr_Vektor_Don_M15 220.85
arr_LastBarPeresekD_Down 731.15
arr_Vektor_Day 155.12
arr_Vektor_Don 215.34
arr_BB_Center 155.38
arr_RSI_Open_M1 99.55
arr_BB_Down 82.22
arr_BB_Up 56.65Time taken: 1.26 hours
Rattle timestamp: 2018-05-1404:12:32 S_V_A
======================================================================
On the test data (15%)
Error matrix for the Random Forest model on Pred_023.csv [test] (counts):
Predicted
Actual -10 Error
-145024098.30125555550.2
Error matrix for the Random Forest model on Pred_023.csv [test] (proportions):
Predicted
Actual -10 Error
-17.40.78.300.291.70.2
Overall error: 0.9%, Averaged class error: 4.25%
Rattle timestamp: 2018-05-1412:48:08 S_V_A
That's how I could not divide into two files, no one can intelligibly explain :(
So it has no graphical shell? And how do you call the help?
No. But I wrote a script that unloads everything into Excel for me and then I work my magic there. I can't give you the script, because it's my brainchild.... Well, I'm there funky original thing done. I don't know how to estimate the predictors, but the result is very readable and convenient table for further analysis ... So on...
Vtreat.R
Thank you.
Is it something in R?
I tried my own set in Rattle - I selected learning on all networks, and ended up with an error after a long time of thinking
In cycles))
But all combinations and PCs will be 24 hours counting...
10 predictors, 2^10 combinations = 1024
20 predictors, = 2^20 = 1048576
That's how many times you have to train a les/nS.
I'm in no hurry... I can throw it on a separate computer and let it count for itself.
But what worthy software is there?
Vtreat.R
How can I run it? I callvtrear() and it frowns.
Will there be any pictures? stop talking about nothing, you don't need any good ones either, lol :)
I don't even know... Doc also gave all the codes for MKUL so the model can be used directly in MT. The only thing I didn't like about elmnn is that no matter how many times I trained it, it always give me the same result on OOS. So, no matter how many times I train it, it always produces the same result.) But the work has just started and I need more tests to get a confident verdict...
How can I run it? I callvtrear(), but it frowns.
Anyway, it's like this. But this is evaluation for target classification where there are only 0 and 1. It's different for regression...
How to correctly interpret the result of the random forest model - is it good or bad?
On the test data (15%)
That's how I could not divide into two files, no one can intelligibly explain :(
How can I run it? I callvtrear() and it frowns.
The package is called differently and it needs:
library(vtreat)
The package contains several functions, why are you too lazy to open documentation?
That's about it. But this is an estimate for the target classification where there are only 0 and 1. It's different for regression...
So it has no graphical shell? How do you open it?
The package is called differently and you need to:
library(vtreat)
The package contains several functions, is it too lazy to open the documentation?
Where to get the documentation?
So it has no graphical shell? And how do you call the help?
No. But I wrote a script that unloads everything into Excel for me and then I work my magic there. I can't give you the script, because it's my brainchild.... Well, I'm there funky original thing done. I don't know how to estimate the predictors, but the result is very readable and convenient table for further analysis ... So on...