Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test #16

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Test #16

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 18 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
<div align="center">
<img src="https://stackoverflow.design/assets/img/logos/so/logo-stackoverflow.svg" alt="Stackoverflow Logo" width="155" style="margin-right: 10px;">
<br><br>
<img src="https://www.udacity.com/images/svgs/udacity-tt-logo.svg" alt="Udacity Logo" width="150" style="margin-left: 10px;">
<h1 style="color: #006241; font-size: 20px;"></h1>
</div>

- *This project basically testing fork repository during my first time learn at [Udacity](https://www.udacity.com/), and thanks to [jjrunner](https://github.com/jjrunner) for sharing his knowledge.*

### Table of Contents

1. [Installation](#installation)
2. [Project Motivation](#motivation)
3. [File Descriptions](#files)
4. [Results](#results)
5. [Licensing, Authors, and Acknowledgements](#licensing)
- **1.** [Installation](#installation)
- **2.** [Project Motivation](#motivation)
- **3.** [File Descriptions](#files)
- **4.** [Results](#results)
- **5.** [Licensing, Authors, and Acknowledgements](#licensing)

## Installation <a name="installation"></a>
## 1. Installation <a name="installation"></a>

There should be no necessary libraries to run the code here beyond the Anaconda distribution of Python. The code should run with no issues using Python versions 3.*.

## Project Motivation<a name="motivation"></a>
## 2. Project Motivation<a name="motivation"></a>

For this project, I was interestested in using Stack Overflow data from 2017 to better understand:

Expand All @@ -24,17 +32,17 @@ For this project, I was interestested in using Stack Overflow data from 2017 to
The full set of files related to this course are owned by Udacity, so they are not publicly available here. However, you can see pieces of the analysis here. This README also serves as a template for students to follow in creating their own project README files.


## File Descriptions <a name="files"></a>
## 3. File Descriptions <a name="files"></a>

There are 3 notebooks available here to showcase work related to the above questions. Each of the notebooks is exploratory in searching through the data pertaining to the questions showcased by the notebook title. Markdown cells were used to assist in walking through the thought process for individual steps.

There is an additional `.py` file that runs the necessary code to obtain the final model used to predict salary.

## Results<a name="results"></a>
## 4. Results<a name="results"></a>

The main findings of the code can be found at the post available [here](https://medium.com/@josh_2774/how-do-you-become-a-developer-5ef1c1c68711).

## Licensing, Authors, Acknowledgements<a name="licensing"></a>
## 5. Licensing, Authors, Acknowledgements<a name="licensing"></a>

Must give credit to Stack Overflow for the data. You can find the Licensing for the data and other descriptive information at the Kaggle link available [here](https://www.kaggle.com/stackoverflow/so-survey-2017/data). Otherwise, feel free to use the code here as you would like!

2 changes: 1 addition & 1 deletion Salary_ML.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def clean_data(df):
X = df
return X, y

def find_optimal_lm_mod(X, y, cutoffs, test_size = .30, random_state=42, plot=True):
def find_optimal_lm_mod(X, y, cutoffs, test_size = .25, random_state=42, plot=True):
'''
INPUT
X - pandas dataframe, X matrix
Expand Down