Optional Practical Checkpoint

Save 1. Simple_predict.py As a new file. Change the y data to y = [11,12,28,29,40,52,63,75,86,90,101] and run the program. What is the predicted value of y in month 12, to the nearest integer

 

56

98

110

34

298

 

Save 2. SVC starter.py As a new file. Change ‘predx’ to 1.5 and ‘predy’ to 1.1 and run the program. What is the predicted classification –

 

0

1

1.5

2

3

 

Which of the following combinations gives a score of [1]. Select all that apply –

 

cs1 = 4, cs2 = 6

cs1 = 1, cs2 = 1

cs1 = 8, cs2 = 1

cs1 = 2, cs2 = 9

cs1 = 5, cs2 = 4

 

In 5.3 Credit Scoring, 5. Non-linear data.py which gamma setting gives you the lowest number of ‘defaults’ within the ‘non-default’ boundary

 

2  

10 

12 

 

Complete and Continue