[R] Error - PMML Conversion of a Random-Forest Model using the randomForest Package

2018-03-12 Thread Karthiko S
Hi All, I am trying to convert random forest model developed into a pmml file. randomForest package was used to build the model. The input to the model is in the form of a matrix (term frequency matrix used for text analytics). While i try to convert the model into a pmml file an error pops. Err

[R] Deletion in Binary Search Tree

2017-10-03 Thread Karthiko S
Dear All, I am unable to complete the R code for deleting nodes in a binary search tree. Have provided the code snippet below for an usecase where the node to be deleted would have a leftnode and no rightnode. I am stuck up at how to release the node pertaining to the key value given by the funct