July 2017
Beginner to intermediate
420 pages
10h 56m
English
Let's create a little test candidate we can use, so we can use our model to actually predict whether someone new would be hired or not. What we're going to do is create a test candidate that consists of an array of the same values for each field as we had in the CSV file:
testCandidates = [ array([10, 1, 3, 1, 0, 0])]
Let's quickly compare that code with the Excel document so you can see the array mapping:

Again, we need to map these back to their original column representation, so that 10, 1, 3, 1, 0, 0 means 10 years of prior experience, currently employed, three previous employers, ...
Read now
Unlock full access