locked
Consume Web Service with .net RRS feed

  • Question

  • I am getting this error when consuming a Machine Learning Web Service:

    Error in hist.default(valresult$pred) : invalid number of 'breaks'.

    The model trains correctly but I can't make a request to the web service. Even using the "Test" button.

    I really appreciate if someone can help me.

    Thanks,

    Monday, May 9, 2016 5:19 PM

Answers

  • I will mark this as answered. If not answered, please unmark it and provide the above info.

    Thanks,

    Raymond

    Monday, May 23, 2016 5:22 PM

All replies

  • It looks like you are running your R Script inside the Execute R module, correct?

    If you remove the call to the histogram, does the web service return the expected results? If yes, you are not setting up the histogram correctly. You might want to isolate the histogram, for example running in RStudio, to troubleshoot it before using it inside your experiment.

    -Raymond

    • Proposed as answer by CharisLove Thursday, May 19, 2016 6:02 PM
    Tuesday, May 10, 2016 5:53 PM
  • I will mark this as answered. If not answered, please unmark it and provide the above info.

    Thanks,

    Raymond

    Monday, May 23, 2016 5:22 PM