Machine Learning for Beginners: An Introduction to Artificial Intelligence and Machine Learning by John Slavio

Machine Learning for Beginners: An Introduction to Artificial Intelligence and Machine Learning by John Slavio

Author:John Slavio [Slavio, John]
Language: eng
Format: azw3
Published: 2017-08-20T04:00:00+00:00


This function is a complete “open and shut case” because we know exactly how many possibilities there are for each of the variables. The main variables will never change and thus we will never need any more than the empty arrays we have created to contain the result. We could easily double it like so:

var ethnicityArray = [7,6,9,10,3,10,5,6,2,5,9,6,9,10,3,10,5,6,2,5,9]

var origins = [2,2,1,2,1,1,1,2,1,1,1,2,1,2,1,1,1,2,1,1,1]

var fieldOfStudy = [6,1,3,1,2,3,4,1,2,3,3,1,3,1,2,3,4,1,2,3,3]

This will still produce a result:

It is likely that the next student will be a 5 with a 1 and they will study the field of 3.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.