-
Notifications
You must be signed in to change notification settings - Fork 2
/
tennis.ts
52 lines (49 loc) · 1.69 KB
/
tennis.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
const first = {
_label: '1', outlook: 'Sunny', temp: 'Hot', humidity: 'High', wind: 'Weak', _class: 'No'
};
/**
* simple dataset - decide if you want to go to play tennis based on weather
*/
export const tennisSet = [
{
_label: '1', outlook: 'Sunny', temp: 'Hot', humidity: 'High', wind: 'Weak', _class: 'No'
},
{
_label: '2', outlook: 'Sunny', temp: 'Hot', humidity: 'High', wind: 'Strong', _class: 'No'
},
{
_label: '3', outlook: 'Overcast', temp: 'Hot', humidity: 'High', wind: 'Weak', _class: 'Yes'
},
{
_label: '4', outlook: 'Rain', temp: 'Mild', humidity: 'High', wind: 'Weak', _class: 'Yes'
},
{
_label: '5', outlook: 'Rain', temp: 'Cool', humidity: 'Normal', wind: 'Weak', _class: 'Yes'
},
{
_label: '6', outlook: 'Rain', temp: 'Cool', humidity: 'Normal', wind: 'Strong', _class: 'No'
},
{
_label: '7', outlook: 'Overcast', temp: 'Cool', humidity: 'Normal', wind: 'Strong', _class: 'Yes'
},
{
_label: '8', outlook: 'Sunny', temp: 'Mild', humidity: 'High', wind: 'Weak', _class: 'No'
},
{
_label: '9', outlook: 'Sunny', temp: 'Cool', humidity: 'Normal', wind: 'Weak', _class: 'Yes'
},
{
_label: '10', outlook: 'Rain', temp: 'Mild', humidity: 'Normal', wind: 'Weak', _class: 'Yes'
},
{
_label: '11', outlook: 'Sunny', temp: 'Mild', humidity: 'Normal', wind: 'Strong', _class: 'Yes'
},
{
_label: '12', outlook: 'Overcast', temp: 'Mild', humidity: 'High', wind: 'Strong', _class: 'Yes'
},
{
_label: '13', outlook: 'Overcast', temp: 'Hot', humidity: 'Normal', wind: 'Weak', _class: 'Yes'
},
{
_label: '14', outlook: 'Rain', temp: 'Mild', humidity: 'High', wind: 'Strong', _class: 'No'
}] as (typeof first)[];