Comment

Comment by jerjerjer

> In this case, I included the post title, author, date, and content. All of those factors could be relevant to the chance a story gets voted up.

> Even if the model gets extremely good at predicting final_score_if_it_hits_front_page, there’s still the inherent randomness of probability_of_hitting_front_page that is fundamentally unpredictable.

In addition to date, you might want to include three fields:

- day of week (categorical)

- is weekend/holiday (boolean)

- hour or time of the day (categorical, you can have 24 of them or morning/afternoon/etc.).

The probability of a post hitting the front page is usually affected by these things so it can really help the model.

parent jerjerjer 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton