Prediction and classification in data mining
5 views (last 30 days)
Show older comments
I would like to predict my mood in four categories -- Happy, Sad, Angry and Exhausted -- based on weather, humidity, temperature, wind, stock price and is getting up late. A sample table is shown below
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160242/image.png)
As seen, 'weather' has a few categories; 'humidity', 'temperature' and 'stock price' are numeric numbers; 'get up late' is a binary score. With the parameters of day 6 presented, what could my mood be?
Could you please suggest what kind of method I shall apply in such data mining task? Also is it possible to point out which parameter of a day has the major contribution to the mood? For example, in day 1 I'm happy maybe because majorly the weather is sunny, while in day 5 I feel exhausted possible due to the super wind!
Please suggest the method in such study, thanks!
0 Comments
Answers (1)
Sean de Wolski
on 29 Jan 2017
I would recommend using the classification learner app. You will need to import the data and transpose it so columns are variables and rows are observations.
0 Comments
See Also
Categories
Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!