Skip to content

Commit de4b541

Browse files
authored
Merge pull request #109 from sanskritilabroo/main
Fixing Issue #107 Learn.md File Index Not Linked, Make sure to close the respective issue.
2 parents 2af73f2 + 16778cd commit de4b541

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Learn.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -417,9 +417,9 @@ In 2019, the top three countries which have a highest mean annual salary of a da
417417

418418
<img src="Data/Images/top paying countries.png">
419419

420-
# <a name="6 Machine Learning">6 Machine Learning</a>
420+
<h1 id="6 Machine Learning">6 Machine Learning</h1>
421421

422-
### <a name="6.1 Predicting the growth of the language">6.1) Predicting the growth of the language</a>
422+
<h2 id="6.1 Predicting the growth of the language">6.1) Predicting the growth of the language</h2>
423423

424424
### Predicting the growth of languages for upcoming years based on survey answers of previous years
425425

@@ -437,8 +437,7 @@ Unfortunately, we have only 3 years of dataset, there is not enough data to use
437437
With a very small number of observations, there is insufficient data to split the observations into training and testing.
438438
More observations are needed to build the predictive model. **Further exploration in future projects may be needed to explain this question**
439439

440-
441-
### <a name="6.2 Predicting the salary of data scientist">6.2) Predicting the salary of data scientist</a>
440+
<h2 id="6.2 Predicting the salary of data scientist">6.2) Predicting the salary of data scientist</h2>
442441

443442
To predict the salary of data scientists, the target SalaryUSD is divided into 2 groups: SalaryUSD < median and SalaryUSD >= median, and which are converted to a categorical variable by label encoding.
444443

@@ -460,7 +459,8 @@ The best model is Logistic Regression with R2 just approximately 0.4.
460459
It is not confidently said that Logistic Regression is a good fit to predict the salary of Data Scientists.
461460

462461

463-
#### <a name="6.2.1 Computing Hamming Loss and Jacard Score on the above models">6.2.1) Computing Hamming Loss and Jacard Score on the above models</a>
462+
463+
<h2 id="6.2.1 Computing Hamming Loss and Jacard Score on the above models">6.2.1) Computing Hamming Loss and Jacard Score on the above models</h2>
464464

465465
- Hamming loss is the fraction of labels that are incorrectly predicted ( evaluation metrics for a classifier model.)<br>
466466
Hamming loss value range between 0 and 1, Having HL less is the best.
@@ -479,7 +479,8 @@ It is not confidently said that Logistic Regression is a good fit to predict the
479479
It has been found that better Hamming loss has been found in Logistic Regression and Linear SVC which is 0.14815
480480
Jaccard similarity scores gives us the distribution of label sets when using the models.
481481

482-
### <a name="6.3 Predicting what causing Job Satisfaction">6.3) Predicting what causing Job Satisfaction</a>
482+
<h2 id="6.3 Predicting what causing Job Satisfaction">6.3) Predicting what causing Job Satisfaction</h2>
483+
483484
An examination of work satisfaction variables based on Stack Over Flow survey data from 2020.
484485
Job satisfaction can be defined by factors such as compensation, benefits, work environment, team members, work-life balance, education level, place, and so on.
485486
- Best mean cross-validation score: -0.262

0 commit comments

Comments
 (0)