Answered step by step
Verified Expert Solution
Question
1 Approved Answer
CYSE 2 0 0 3 AI for Smarter Cyber - Security Assignment 2 Given x = [ 1 , 2 , 3 , 4 ]
CYSE AI for Smarter CyberSecurity
Assignment
Given x and y please find a line of best fit that satisfies y B Bx Your task is to solve the values of B and B using the least squares approach and applying the partial derivatives.
Please use Python but do not use Scikit learn, Scipy, etc libraries where you can solve this in a black box approach. Your task here will be to implement this yourself in Python. You may use Numpy but not any solver functions in Numpy and Sympy libraries. If you would like to use another library please ask first.
Submit your code in a Google Colab notebook. You may submit a PDF in Moodle with just a shared link to Colab.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started