boruta Algorithm

Boruta Algorithm

While working on Machine Learning/Predictive Modelling problems, feature selection is an important step. It is because, we get a dataset with too many variables in practical model building problems in which all variables are not relevant to the problem, and this we don’t know in advance. Also, there are some disadvantages of using all given[…]

Solution of Errors Faced while creating WordCloud and TermDocumene Matrix in R

I have faced two issues, which I thought of sharing with you all: First one is: Error in UseMethod(“meta”, x) : no applicable method for ‘meta’ applied to an object of class “character” To resolve this issue: Use content_Transformer(tolower), you will get rid of above error. corpus=Corpus(VectorSource(df1$message)) corpus=tm_map(corpus,content_transformer(tolower)) corpus=tm_map(corpus,removePunctuation) corpus=tm_map(corpus,removeNumbers) corpus=tm_map(corpus,removeWords,stopwords(“en”)) corpus=Corpus(VectorSource(corpus)) tdm=TermDocumentMatrix(corpus) Second Issue[…]