Determine an appropriate termination condition (e.g., when cost function is less than a threshold, and/or after a given number of iterations).

 In this problem, we write a program to find the coefficients for a linear regression model for the dataset provided (data2.txt). Assume a linear model: y = w0 + w1*x. You need to

1) Plot the data (i.e., x-axis for 1 st column, y-axis for 2 nd column), and use Python to implement the following methods to find the coefficients:

2) Normal equation, and

3) Gradient Descent using batch AND stochastic modes respectively:

a) Determine an appropriate termination condition (e.g., when cost function is less than a threshold, and/or after a given number of iterations).

b) Print the cost function vs. iterations for each mode; compare and discuss batch and stochastic modes in terms of the accuracy and the speed of convergence.

c) Choose a best learning rate. For example, you can plot cost function vs. learning rate to determine the best learning rate.

Please implement the algorithms by yoursef and do NOT use the fit() function of the library

find the cost of your paper

select your top three ethics topics (in order of preference) from the list below and email your choices to me

CSCI 415 TERM PAPER TOPICS SELECTION – Spring 2020 Due Monday, February 7, 2021 (11:59pm)   Please select your top three ethics topics (in order of preference) from the list below and email your choices to me by Monday, February….

Identify products or systems on the Web that help organizations accomplish knowledge management.

Paper Section 1: Reflection and Literature Review Using Microsoft Word and Professional APA format, prepare a professional written paper supported with three sources of research that details what you have….

Which of the following is not an appropriate metadata element for a university Registrar’s Office?

1.The first step in the SDLC: Group of answer choices analysis design testing define goals and scope of the system 2.Any structure an organisation uses for organising, accessing, retrieving, storing and….