LFD Book Forum  

Go Back   LFD Book Forum > General > General Discussion of Machine Learning

Reply
 
Thread Tools Display Modes
  #1  
Old 08-29-2012, 06:20 AM
invis invis is offline
Senior Member
 
Join Date: Jul 2012
Posts: 50
Question Weather prediction

I have a dataset with ~1500 data points that looks like:
1922 / 2 / -3
year / month / average temperature.

And I want to make a predict the temperature by year and month. What the technique is the better to choose here ? Almost all what we learn in this class is about classification, not to predict, so I am confusing a bit.
Reply With Quote
  #2  
Old 08-29-2012, 08:42 AM
magdon's Avatar
magdon magdon is offline
RPI
 
Join Date: Aug 2009
Location: Troy, NY, USA.
Posts: 595
Default Re: Weather prediction

This is an interesting problem. You can use the regression techniques discussed in the book or the classification techniques. You have to first determine carefully what you want to predict, and what is the information you will use to predict it. You should use all information available to you about the nature of the problem when doing so. Here are two suggestions.

1. Predict the average temperature for the next month given all prior history. This is a regression problem. You might choose as your inputs to your regression the average temperature of the current month; and the historical average temperature for the month that you are trying to predict. The target is ofcourse the next months temperature. If you choose your inputs carefully, a linear regression might suffice.

2. Predict whether the average temperature for the next month will be above or below its historical average. This is a classification problem. You could use the same inputs as in 1, and if the inputs are chosen carefully enough, a linear classification might suffice.

So depending on how you define your problem it is classification or regression. I suspect the success of your solution will depend heavily on how you choose your inputs on which to base the prediction (using as much information about the problem as possible before looking at the data, such as the 12-month periodicity of weather, etc.)

Quote:
Originally Posted by invis View Post
I have a dataset with ~1500 data points that looks like:
1922 / 2 / -3
year / month / average temperature.

And I want to make a predict the temperature by year and month. What the technique is the better to choose here ? Almost all what we learn in this class is about classification, not to predict, so I am confusing a bit.
__________________
Have faith in probability
Reply With Quote
  #3  
Old 08-29-2012, 04:31 PM
invis invis is offline
Senior Member
 
Join Date: Jul 2012
Posts: 50
Default Re: Weather prediction

Thanks for answer, will try
Reply With Quote
  #4  
Old 08-31-2012, 05:43 AM
vksheilds vksheilds is offline
Banned
 
Join Date: Aug 2012
Posts: 2
Default Re: Weather prediction

That was nice answered about weather predication this is general rule but hard to implement but it has become easy with your answered
Reply With Quote
Reply

Tags
weather prediction

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:57 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
The contents of this forum are to be used ONLY by readers of the Learning From Data book by Yaser S. Abu-Mostafa, Malik Magdon-Ismail, and Hsuan-Tien Lin, and participants in the Learning From Data MOOC by Yaser S. Abu-Mostafa. No part of these contents is to be communicated or made accessible to ANY other person or entity.