none
Error in getSentiment transform of MicrosoftML package RRS feed

  • Question

  • when I execute below statement it is throwing me back the following error. Please help to resolve this.

    > CustomerReviews
                                               Review
    1           I really did not like the taste of it
    2                 It was surprisingly quite good!
    3 I will never ever ever go to that place again!!

    > rxFeaturize(data = CustomerReviews, mlTransforms = getSentiment(vars = list(SentimentScore = "Review")))

    Elapsed time: 00:00:00.0021322
    Error: *** Exception: 'resourcePath'
    Error in processing machine learning request.
    Error in doTryCatch(return(expr), name, parentenv, handler) :
      Error: *** Exception: 'resourcePath'
    Error in processing machine learning request.


    Wednesday, June 7, 2017 7:49 AM

All replies

  • Farukh,

    The error is occurring because optional Sentiment detection model has not been installed. Please re-run the setup and make sure the check the pre-trained models install checkbox.  Please take a look at https://docs.microsoft.com/en-us/r-server/install/microsoftml-install-pretrained-models for more info.

    We will fix the error message to be more helpful in the next releases.

    Regards,


    MSFT

    Wednesday, July 12, 2017 4:09 PM