Machine Learning -- 2

Befejezett Kiadva: 2 évvel ezelőtt Kiszállításkor fizetve
Befejezett Kiszállításkor fizetve

Implement Logistic Regression from scratch

using a programming language of your choice. As part of your

implementation of logistic regression (LR), you will code the Gradient

Descent Algorithm that we discussed in class to find out the parameters

for Θ. One way to verify gradient descent is working as expected is to

monitor the value of J(Θ) whether it is decreasing with each training

iteration.

Please address the subparts in each section to receive full credit and

justify what you did in your implementation as well as the results you

obtained.

You will use observational data collected from caregivers of people with

dementia on their sleep quality. There are 20 independent variables and 1

dependent variable in the dataset and you will be specified which

variables to use (as source and target) to train your model. The dataset is

included in the Assignment with filename sleepQualityFinal.csv. You may

use any train/val/test split ratio and/or K-Fold cross-validation as you

see fit. Note that your model should never be exposed to your testing

(hold-out) data at train time.

1. Logistic Regression using One Feature

a. Train your Logistic Regression (LR) model to predict sleep_quality

using the amount of sleep (amountAsleep) as input feature.

b. Evaluate the performance of your model on the training set and

hold-out (testing) set using a metric discussed in class (e.g.,

precision, recall, F1 score, and confusion matrix). Discuss your

results.

2. Logistic Regression with multiple variables and training

samples

a. Train your LR model to predict the sleep_quality using the 12

features below:

swsLengthHR, swsTimeHR, swsLengthT, swsTimeT, decreasePercentageT,

swsTimeM, swsLengthM, decreasePercentageM, amountAsleep,

amountAwake, sleepEfficiency, epochPeakCounter.

b. Train your LR model to predict sleep_quality using forward selection

to select the most significant features in the dataset as input

variables. Which subset of features gave you the best performance?

What are your thoughts on these features getting selected?

c. Compare the performance of the model built using all of the

features in (2a) with the model trained using the selected features

(2b) . Which set of features performed better?

d. Train your LR model using training sample size within the range

{50, 100, 150} and the features selected in (2b) and compute

cross-entropy loss (log loss) on the same hold-out set and plot your

results (log-loss on y-axis and train sample size on x-axis). What is

the impact of increasing training sample size? Justify why the

log-loss decreases, increases or doesn’t change at all.

Regularization and Feature Scaling:

i. For the best performing model in Q 2 (Model from 2c), does

regularization improve the performance?

ii. Does Feature Scaling improve the performance for the model

in Q 3a?

Python C++ Programozás

Projektazonosító: #31865530

A projektről

8 ajánlat Távolról teljesíthető projekt Utoljára aktív: 2 évvel ezelőtt

Odaítélve:

loyidandrews

Hi, How are you? Very happy to bid your project because my skills are fitted in your project. I have 12 years experience in Machine learning ,Deep learning ,NLP and AI. I am very familiar with CNN, RNN, LSTM, SVM , Re Továbbiak

$100 USD 3 napon belül
(7 értékelés)
3.7

8 szabadúszó tett átlagosan 151$ összegű árajánlatot erre a munkára

nibeditad007

Hi, Hope you are doing well. I have over 6 years of rich experience in data science and machine learning. I have worked hands on in Python with different datasets for data wrangling, data manipulation, data analysis Továbbiak

$200 USD 3 napon belül
(11 vélemény)
4.5
freelancerIrvan

Hi there, I am a talented python dev, and I suppose I can handle this task successfully. Please let me know more details, and Please give me your chance. I look forward to hearing from you. Továbbiak

$139 USD 7 napon belül
(3 vélemény)
3.9
ArtemStakheev

How are you, Deeply interested in your project~ As a Python/Machine Learning/Web Scraping/Data Mining developer, fully capable with not only the AI model, Python script part but also the Backend RestAPI integration, Da Továbbiak

$140 USD 5 napon belül
(7 vélemény)
4.3
jamesdobbs11

Hi Dear! I already check your description with carefully and very interesting your project. Also I have a development experience of project like your project. Specially I have more than 10 years of experience in softwa Továbbiak

$135 USD 3 napon belül
(3 vélemény)
1.9
dmycheshko

Hello, How are you today? Thank you for posting this project, and I'm very happy to bid on your project. I've read carefully your project details. I have rich experiences related to your project. Your satisfaction with Továbbiak

$230 USD 7 napon belül
(0 vélemény)
0.0
temaural

Hi I just saw your job description and understood your demand clearly. As a super developer, I have 8+ years of experience in deep learning development using python For your project, I'm going to use the tensorflow fo Továbbiak

$140 USD 7 napon belül
(0 vélemény)
0.0