Questions tagged [trending]

88 questions
2
votes
2 answers

Is there a MongoDB Trending Topics Gem?

I have a group of documents in MongoDB with a "description" value about the size of a tweet. I need to generate a trending topics list from this. Clearly this is a solved problem but I can't find a definitive answer/gem for getting the job done…
chrishomer
  • 4,900
  • 5
  • 38
  • 52
2
votes
2 answers

Defining Trending Topics in a specific collection of tweets

Im doing a Java application where I'll have to determine what are the Trending Topics from a specific collection of tweets, obtained trough the Twitter Search. While searching in the web, I found out that the algorithm defines that a topic is…
2
votes
1 answer

Mongoose query for "hot" posts

I want to show a list of posts from the database based on likes and date, think of the basic "trending" items page. I want to use a formula like score = likes / daysSinceCreation and then get the first 10 posts based on this score. How can I add…
XCS
  • 27,244
  • 26
  • 101
  • 151
2
votes
3 answers

Oracle SQL Trending MTD Data

I am trying to solve a trending problem at work very similar to the below example. I think I have a method but don't know how to do it in SQL. The input data is: MTD LOC_ID RAINED 1-Apr-16 1 Y 1-Apr-16 2 N 1-May-16 1 …
Ryan Barker
  • 113
  • 2
  • 11
2
votes
2 answers

Working out a trending query - Laravel Eloquent

Hey guys I'm trying to develop a query which returns the trending articles from the database. The trending articles are based on the most views over the last 24 hours. Here is the code so far: $trending = Article::whereHas('view', function ($query)…
Josh
  • 2,430
  • 4
  • 18
  • 30
2
votes
1 answer

Plot multiple scales on a single axis

I'm trying to plot some data on a webpage. I have 4+ series with a common Xaxis but the scaling on the Yaxis should be unique for each series. Something like the below picture (you can see multiple scales on both Y and Y2 axis) I've been testing…
Matt
  • 213
  • 1
  • 8
2
votes
1 answer

How to remove status 203 error in parsing Google-trends html response?

I am getting Google-trends data through html response after hitting on a URL. I managed to parse that response through Jsoup library. I got the data but only for 3-4 times. After that it started to giving Status-203 error.Each day i run this code…
Amit Das
  • 1,077
  • 5
  • 17
  • 44
2
votes
2 answers

MySQL "Trending"

I'm selecting "ideas" from my database currently, but another requirement is to be able to grab "trending ideas", that is, the top 10 most-up-voted ideas within the last 7 days. My query for selecting "ideas" is this: SELECT t.id AS 'id', …
ahren
  • 16,803
  • 5
  • 50
  • 70
2
votes
1 answer

Running trend or no trend Twitter rumor project

I'm learning about algorithms "trending topic", I have read the article by Stanislav Nikolov, Trend or No Trend: A Novel Nonparametric Method for Classifying Time Series. I tried downloading his project in here. When I tried to run, an error…
Giang
  • 2,384
  • 2
  • 25
  • 26
2
votes
1 answer

Need help building hash tag trending query in mysql

I'm trying to build a query that measures "trending" hash tags like tweets. I have a table tweets and a column message (varchar) Basically I just want to group the messages by a hash tag but it breaks down if there is more than 1 hash tag in the…
Brian
  • 4,328
  • 13
  • 58
  • 103
1
vote
0 answers

Popular Articles Algorithm w/ Decay

Building a feature of top of existing site w/ articles and videos (posts) that allows people to see what is popular on the site. I have the following fields for each post: Number of seconds since post was published Number of comments made on…
phirschybar
  • 8,357
  • 12
  • 50
  • 66
1
vote
1 answer

How to calculate numerical trend lines in python

I have a monitoring application in python 2.6 that calculates the number of entries in a queue (queue_len). I want to create a simple function that can use these queue_len rate of change values over time and extract a trend from them. The goal is to…
David Kierans
  • 1,599
  • 1
  • 16
  • 24
1
vote
1 answer

Trending Search Help

My site acts like a search engine where people enter search queries on the main page. I wanted to make a trending / recent feature where each query gets recorded into a mysql database, then from that data, calculates which searches are being…
Michael
  • 55
  • 5
1
vote
1 answer

Trying to make an trending page with mongo and php, need some thoughts about how to update documents and query them

We have a big database. We collect newsletters and I want to make a trending page. The goal is to make the page realtime and fast! We want to display trending newsletters from the past 2 hours, 4 hours, 24 hours, past week, and past month. I've…
Mad
  • 71
  • 1
  • 8
1
vote
1 answer

Web service that ranks importance of words in a string?

Is there a web service out there that ranks the importance of words in an arbitrary string taking into account, for example, hot words or phrases that are currently trending? For example, let's say a user types in: "Charlie Sheen has a major drug…
Armchair Bronco
  • 2,367
  • 4
  • 31
  • 44