1 . Linear Regression
In this problem, we will implement least squares linear regression to predict density of wine based on its
acidity.
a) Implement batch gradient descent method for optimizing J(θ). Choose an appropriate
learning rate and the stopping criteria (as a function of the change in the value of J(θ)). You can
initialize the parameters as θ = ~0 (the vector of all zeros). Do not forget to include the intercept
term. Report your learning rate, stopping criteria and the final set of parameters obtained by your
algorithm
2. Sampling and Stochastic Gradient Descent
In this problem, we will introduce the idea of sampling by adding Gaussian noise to the prediction of a
hypothesis and generate synthetic training data. Consider a given hypothesis hθ (i.e. known θ0, θ1, θ2) for
a data point x =
"
x0
x1
x2
#
. Note that x0 = 1 is the intercept term.
y = hθ(x) = θ0 + θ1x1 + θ2x2
Adding Gaussian noise, equation becomes
y = θ0 + θ1x1 + θ2x2 +
where ∼ N (0, σ2
)
3. Logistic Regression
4. Gaussian Discrmimant Analysis
In this problem, we will implement GDA for separating out salmons from Alaska and Canada. Each salmon
is represented by two attributes x1 and x2 depicting growth ring diameters in 1) fresh water, 2) marine
water, respectively. File [login to view URL] stores the two attribute values with one entry on each row. File [login to view URL]
contains the target values (y
(i)
’s ∈ {Alaska, Canada}) on respective rows.
More details and documents will share upon confirmation
Hi,
I am ibrahim and I am a data scientist, I can help you with ML in python, you mentioned linear regression, do you have the dataset.
Regards,
Ibrahim Anjum
Hello, I am Masud Rana currently pursuing a PhD in Bioinformatics at CAS, Beijing. I completed bachelor's and master’s degrees in Statistics. Due to the pandemic of COVID-19, I am staying home and planning to work as a freelancer. Although I am new here but having 10+ years of experience in the area of statistical and machine learning algorithms and models. I am an advanced R programmer also have additional knowledge of other language platform. However, I have completed several training workshop on R in university and research institute as an invited trainer. Recently, i have finished 2 project related to parametric distribution & bayesian analysis and second one is just finished all about regression with R for a distancing-learning course. I have carefully read your project details which is also related to regression and classification problem with Gradient Descent optimization. I am well experienced with your project details in some of my PhD work. So, As a statistician I can ensure you to solve your problems within your budget and short period of time. Hope you will contract with me soon.
Thanks
Hi !
I am a Data Scientist with expertise in Machine Learning using Python.
I was going through your task description. Do you need these tasks to be done in Jupyter notebook?
Regards.