DataScience Classroomnotes 13/Feb/2022

Activity: Finding Best Fitted Model (contd)

  • Narrowing down on best fitted models w.r.t intercept and slope (a1,a2)
    Preview
  • Now lets create all the possible values using expand grid and find the top 10 on the basis of distance
    Preview
  • Now lets plot the line and all the data from sim1 to find how top 10 models are behaving
    Preview
  • Finding the best model using optim
    Preview
  • Now lets use base r to find the model
    Preview
    Preview
  • Now lets find the predictions using base R
    Preview
  • Lets view the analysis
    Preview
  • Measure Accuracy
    Preview
  • Refer Here for the changes made

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner