The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Question regarding both Sentiment Analysis and Forecasting (Times Series) in one fell swoop

wufuturawufutura Member Posts: 38 Learner II
edited July 2020 in Help

Hi All!

You really helped me last time I asked a question and really appreciate those of you who jumped in. I have attempted to move on with this bit of knowledge gained and am I trying now to do four things:

1. Use the existing Sentiment Analysis template as a database
2. Incorporate MonkeyLearn into the whole process to presumably aid in processing data when it comes from Twitter on its way to RapidMiner?
3. Perform a times series forecast using the Forecast (Univariate) Operator built into RapidMiner as practice for more adventurous time series forecasting in the future
4. Have applied with the kind folks at Twitter for a real time feed from them, so I can extract real time, rather than static, data once I get #s 1, 2 & 3 above figured out.

(The problems refer visually to the picture included at the top of the page)

So, then I run it and it crunches for just a bit but then returns the following message:
Exception:com.rapidminer.operator.OperatorException
Message: No such configured object of name [edited because this is likely the API token - mschmitz] of MonkeyLearn API Key
Stack trace: (and then a bunch of stuff comes after that that it is literally incomprehensible to me and too long to include here!)

Any thoughts, anyone? I realize I am trying to do two or three things at once herein that may or may not be a good idea, i.e. learning how to do a proper and simple time series forecast and also a sentiment analysis simultaneously....

Please keep in mind I am a rank beginner and need a no-code environment approach to learning.  If that isn't already quite apparent!!!!! Yours, Richard


Best Answers

  • wufuturawufutura Member Posts: 38 Learner II
    Solution Accepted
    Good morning, everyone! 
    Once again, I'd like to thank - especially aengler and mschmitz - for their patience and ongoing tutelage. In attempts to employ the above use case I contacted both Twitter and MonkeyLearn. Unfortunately, for reasons that aren't entirely clear to me, the latter (MonkeyLearn) claims that they will ultimately be unable to take me where I want to go. 
    They didn't have any specific alternative provider suggestions other than to advise me to contact Twitter directly, which I did. For my purposes, Twitter feels I should go via AWS. 

    QUESTION: does RapidMiner have the ability to pull from AWS, and, if so, how would I accomplish that? A diagram, if appropriate, with as many specifics you have time for, and friendly/targeted "liberal arts person" prose, as opposed to overtly assumed technical terms, are most helpful in my abilities to understand your intended meanings & explanations.

    Thanks again/greetings from California, Richard

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    edited July 2020
    first of all: Cool use case! So the idea is to forecast the opinion on a topic over time? Maybe an Aggregate or moving average operator in between helps to de-noise it.

    The other thing: Your error stems most likely from the MonkeyLearn operator (the Stack Trace would tell us exactly what happend).
    Did you create a connection object for MonkeyLearn? It uses the old format, which is described here: https://docs.rapidminer.com/latest/studio/connect/legacy.html .
    It looks a bit like you just posted your key into the field.

    I also took the liberty to edit your message a bit. The string/hash you added there looks very much like an API key. I think we do not want to share this publically.

    Best,
    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • aengleraengler Member Posts: 6 Contributor II
    would go operator by operator per break-points. Most certainly it will fail at a monkeylearn operator. If so ...most likely ... there are several options:
    Do you have a monkeylearn license
    Do set the options of the operator according to your case
    Is the connection to the Monkeylearn API established
    Have you tried to call the Monkeylearn API for yourself via curl to check if everything should work?
  • wufuturawufutura Member Posts: 38 Learner II
    Let me try and dissect what you guys mean by some technical terms you are using here.  could be a bit of a learning curve for me but one I'm more than willing to climb!  thanks, and I may get back to you once I've followed you're advice/guidance/instructions.  Thanks so much, Richard
  • wufuturawufutura Member Posts: 38 Learner II
    Thanks, Sara!  Question: when I go to the New Connections dropdown area I notice that it gives me an option for Twitter as well as for AWS.  Why can't I go to them directly without going through AWS as an intermediary? - Richard
  • wufuturawufutura Member Posts: 38 Learner II
    Hi all - I checked with Twitter, and they say that both Postman and Insomnia are GUI tools and resources that can enable me to connect to the Twitter API and/or access Twitter data. 

    Question: are either or both or these useable within RapidMiner, since a GUI would help right now.  I am studying Python but am not yet conversant enough at this point to readily use it to move forward. 

    And, unfortunately, MonkeyLearn says that my ultimate plans cannot be accomplished with their product.

    Thanks again, Richard
  • wufuturawufutura Member Posts: 38 Learner II
    Hi Martin - (mschmitz) - I did not get this question answered and wonder if, since you are the Head of Data Science Services, you might have some insight into it?

    Here it is again:

    "Hi all - I checked with Twitter, and they say that both Postman and Insomnia are GUI tools and resources that can enable me to connect to the Twitter API and/or access Twitter data. 

    Question: are either or both or these useable within RapidMiner, since a GUI would help right now.  I am studying Python but am not yet conversant enough at this point to readily use it to move forward. 

    And, unfortunately, MonkeyLearn says that my ultimate plans cannot be accomplished with their product.

    Thanks again, Richard"

  • wufuturawufutura Member Posts: 38 Learner II
    Martin - any further thoughts on this question re a GUI i could use? Richard
  • wufuturawufutura Member Posts: 38 Learner II

    Martin - Do I now need anything else other than some

    1. severe hand holding to get AWS and Twitter on to RapidMinder now? - as they have,
    2. both just put me on  their systems...

    If my POC works I will have quite a bit of business for you, and for them - of course.       Stay well, stay healthy, Richard 
  • wufuturawufutura Member Posts: 38 Learner II
    it is, yes.  how much are we talking to get this going?
  • wufuturawufutura Member Posts: 38 Learner II
    sorry - didn't see the request to communicate via email.  my bad.  richard    wufutura@protonmail.com
    415-816-2737
    (i don't are if anybody else sees this, actually)
  • wufuturawufutura Member Posts: 38 Learner II
    interested in pursuing the correct mode of communication er this topic.
Sign In or Register to comment.