Posts by Geovani Ferreira • 129 points
6 posts
-
1
votes1
answer68
viewsQ: regex stop if the next charactere is another
Next: I have this text for example aluno['ACERTOS_ATV2_D2'] >5.5 & aluno['IDADE'] >24.5 & aluno['PROVA1_D2P'] <0.5 & aluno['ASSISTIU_AULA_1_D2'] <0.5 &…
regexasked Geovani Ferreira 129 -
4
votes1
answer57
viewsQ: add column that shows how many times a value has repeated from that row back
I’m having trouble creating a column that shows how many times a row has repeated itself, but not in the entire dataset, but in that line back. Ex: NOME ANO MES COLUNA_QUE_QUERO_CRIAR A 2016 4 1 A…
rasked Geovani Ferreira 129 -
1
votes1
answer264
viewsA: error in balancing with SMOTE
i had left a Feature with the type Character, had not converted to factor. It was not in the target Feature, it was in the middle. I just used the a.factor and managed to rotate normally m$F8 <-…
ranswered Geovani Ferreira 129 -
1
votes1
answer264
viewsQ: error in balancing with SMOTE
Hello, I have a somewhat unbalanced dataset and wanted to do some testing with smote, but I’m getting an error: library(DMwR) treinoSmote <- SMOTE(TARGET ~ .,m,k=5, perc.over = 100, perc.under =…
rasked Geovani Ferreira 129 -
2
votes1
answer162
viewsQ: different results using rpart and Caret
Hello, I’m testing some regression models and I don’t quite understand one thing: I used rpart from the rpart package, and then used Train with rpart method from the Caret package resultRPart <-…
-
3
votes2
answers85
viewsQ: Multiple Gather with 4 resulting "joint" columns
Hi, I have the following situation: I have a data frame with several columns, a group of them I want to transform into key value. So far so good, but there are 2 groups and they can’t just sort of…
rasked Geovani Ferreira 129