Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print a scatter plot of truth versus predicted % male #16

Closed
aronwc opened this issue Mar 12, 2014 · 8 comments
Closed

Print a scatter plot of truth versus predicted % male #16

aronwc opened this issue Mar 12, 2014 · 8 comments

Comments

@aronwc
Copy link
Member

aronwc commented Mar 12, 2014

Matplotlib is good for this.

@cyril94440
Copy link
Contributor

Plot

@cyril94440
Copy link
Contributor

Best is with alpha = 0.1 :
0 1

@aronwc
Copy link
Member Author

aronwc commented Apr 15, 2014

I was thinking more something like this (points instead of bars):

http://www.cawcr.gov.au/projects/verification/scatterplot.gif

On Tue, Apr 15, 2014 at 6:47 AM, Cyril Trosset notifications@github.comwrote:

[image: Plot]https://cloud.githubusercontent.com/assets/2829562/2706571/96c779c2-c493-11e3-94f9-7d3efa372a2b.png


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-40472349
.

@cyril94440
Copy link
Contributor

With alpha = 0.1

capture decran 2014-04-16 a 11 47 37

@cyril94440
Copy link
Contributor

With another representation :
capture decran 2014-04-16 a 12 26 22

it seems that the predicted values are pretty good, but I still get a mean square error of : -161.830505549

@aronwc
Copy link
Member Author

aronwc commented Apr 16, 2014

Cyril,

Can you please generate a graph where the x-axis is the predicted %male and
the y-axis is the true %male?

-Aron

On Wed, Apr 16, 2014 at 5:27 AM, Cyril Trosset notifications@github.comwrote:

With another representation :
[image: capture decran 2014-04-16 a 12 26 22]https://cloud.githubusercontent.com/assets/2829562/2718627/9dd401c2-c551-11e3-801a-9424ca0c9a43.png

it seems that the predicted values are pretty good, but I still get a mean
square error of : -161.830505549


Reply to this email directly or view it on GitHubhttps://github.com//issues/16#issuecomment-40584336
.

@cyril94440
Copy link
Contributor

Alpha = 1

capture decran 2014-04-16 a 20 05 32

Alpha = 0.1

capture decran 2014-04-16 a 20 03 01

@cyril94440
Copy link
Contributor

Alpha = 0.02

capture decran 2014-04-16 a 20 12 55

@aronwc aronwc closed this as completed Apr 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants