The code below is an example of developing a linear regression ML model using scikit-Learn to create a model of the catapult data in the file 'catapult.csv'. For instructions on how to load the file onto your Google Drive and call it from the program with a given path, see the slides. Explore and become familiar with this code. This graph is in cm!
The following code shows how to modify the previous linear regression model and instead use a neural network model
The next thing we are going to do is use a decision tree to be able to see the most important aspects of our catapult construction. We have two features, number of sticks and setting in cm, and will see how to make a catapult go farther than 100 cm.
Find some public domain data and use ML to model the data in whatever way you want! This website from UC Irvine provides 650+ datasets for use in ML projects. Look for one that you find interesting!!