20:22 9. < Ceren Küçükbakan Seç 5 Fotograf Q3: Write a function that splits the elements of a vector into three arrays w
Posted: Sat May 14, 2022 6:51 pm
20:22 9. < Ceren Küçükbakan Seç 5 Fotograf Q3: Write a function that splits the elements of a vector into three arrays with different ranges: (0-10). [10-100) and [100, 1000). For instance, a=[ 229 65 814 165 3 ) wil become x [9 3]. y=[22 653 and 2-[814 165]. 18-35 Q4: Consider the following Rocket Propellant Data: Firstly, draw scatter plot of shear strength versus age of propellant. Then, obtain the least squares regression line by solving system of linear equation, by using MATLAB function fithm and by using MATLAB function polfi (response variable should be shear strength and input variable should be age of propellant). Check the results. Are the parameters of each model same? Calculate MAE (mean absolute error) and MAPE (mean absolute percentage error) for the simple linear regression model that you obtain 18-35 Q5: Consider the following Delivery Time Data: Firstly, randomly divide this data into two sets: Train Data set (% 80 of all data) and Test Data set (% 20 of all data) Construct multiple linear regresion for Train Data set and then test your model on Test Data sct. Calculate the following measures MSE (mean squared crror) and RMSE (root mean squared crror) both for Tarin and Test Data sets. 18:35