Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Is my linear regression accuracy zero because of my small data set?
Post Body

Here is the data from my CSV file before running it through regression https://pastebin.com/UMfEzfmT

So now, I'm trying to predict ERA with only 4 data points. Here is my code https://pastebin.com/ZpBZTd2k

print(predict_era) gives me 1 and print(accuracy) gives me 0

So essentially is my code saying we think the next ERA will be 1 with an accuracy of 0? I know I need a lot more data but I wanted to get a working model before I started scraping for it. Does my code at least make sense? Thanks in advance!

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
16,177
Link Karma
3,901
Comment Karma
12,188
Profile updated: 15 hours ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
7 years ago