0 Replies Latest reply on Jul 18, 2018 2:03 AM by Jian Yang

    Tableau integration with R debug issue

    Jian Yang

      Hello,

       

      I am trying to do classification problem using Random Forest and Support Vector Machine using R integrated with tableau to visualize the predicted specie against the actual specie. However, the following errors pop up when I try to drag the created field ('RandomForestClassification' & 'SVM_Classification') into the Rows:

       

      Unable to complete action

      An error occurred while communicating with the RServe service.

      An error occurred while communicating with the RServe service.

      Error in randomForest.default(m, y, ...) :

        Need at least two classes to do classification.

       

      Unable to complete action

      An error occurred while communicating with the RServe service.

      An error occurred while communicating with the RServe service.

      Error in if (any(co)) { : missing value where TRUE/FALSE needed

       

      I have attached the tableau worksheet along with the data set. Any help would appreciated, thanks!

       

      Jason