-1
$\begingroup$

Some time ago I was reading a book on machine learning in which they had an example that would take some data and try to determine based on weather, temperature, humidity and Wind if a sports team would play or not.

It looked similar to this example and I was wondering if anyone could name this famous example so I can find a Python library that does the same thing.

$\endgroup$
1
  • $\begingroup$ it is a basic binary classification problem, where the inputs are weather measurements and the output is one of two classes ie: play, no-play $\endgroup$ – Nikos M. Jan 15 at 16:17
2
$\begingroup$

As far as I know, the dataset has not an official or a common name. In their text book "Data Mining" Witten et al. refer to it as "The Weather Problem". The example is based in on a dataset described in "Induction of Decision Trees" by Quinlan in 1986. Accordingly, it has been used in many books as an example to illustrate decision trees.

Using key words such as "weather", "weather problem", "decision tree" or "play tennis" might still lead to what you are looking for.

$\endgroup$
1
$\begingroup$

This specific example is trying to predict a variable which can have two values, either yes or no. In data science terms this would be a classification problem. Part a asks to use a naive bayes classifier for this data, which can easily be done using the scikit-learn library.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.