/** Machine Learning Web Service - returns the all Tweets */ @WebMethod(operationName = "updateUnclassifiedCountryTweet") public String updateUnclassifiedCountryTweet( @WebParam(name = "tweet_id") int tweet_id, @WebParam(name = "content") String content, @WebParam(name = "sentiment_relevance") String sentiment_relevance, @WebParam(name = "is_english") String is_english, @WebParam(name = "relevant") String relevant, @WebParam(name = "subjectivity") String subjectivity, @WebParam(name = "is_neutral") String is_neutral, @WebParam(name = "sentiment") String sentiment, @WebParam(name = "growth_recession") String growth_recession, @WebParam(name = "political_stability") String political_stability) throws NamingException, SQLException { DBMachineLearningOperations.updateUnclassifiedCountryTweet( tweet_id, content, sentiment_relevance, is_english, relevant, subjectivity, is_neutral, sentiment, growth_recession, political_stability); return "Updated Successfully"; }
/** Machine Learning Web Service - returns the all Tweets */ @WebMethod(operationName = "getAllClassifiedCountryTweets") public Vector<MachineLearningItem> getAllClassifiedCountryTweets() throws NamingException, SQLException { return DBMachineLearningOperations.getAllClassifiedCountryTweets(); }
/** Machine Learning Web Service - returns the count of all the different labels */ @WebMethod(operationName = "getTotalsForMachineLearningCompanyData") public SentimentRow getTotalsForMachineLearningCompanyData() throws NamingException, SQLException { return DBMachineLearningOperations.getTotalsForMachineLearningCompanyData(); }