Fix typo. Edit sentences.

This commit is contained in:
2025-04-23 18:06:25 -07:00
parent 259e19f2ac
commit 02067139e6

View File

@@ -23,11 +23,15 @@ The motivation for project is satisfying a class assignment. Eventually, an inte
## Summary of Analysis
*(Data) scientists and researchers are also considered developers.*
The models generated by the notebook become less reliable with years of experience greater than 10 or annual incomes greater than $200,000.
The models generated by the notebook become less reliable for incomes greater than $200,000 per year and years of experience after 10.
Each chart comes with two regression lines. Red is the default regression line that has not been tuned. The other is an attempt to better fit the data by either transforming or shifting x.
The red regression line is a default linear regression model with no tuning or transformation. The second line given is an attempt to better fit the data.
The transformation is typically
y = m * log(x) + b
Each model has had different changes of base applied to the log function.
### C
@@ -56,9 +60,9 @@ The red regression line is a default linear regression model with no tuning or t
[ 64985.1549115 ]]
+----------------------+
For C programmers, a linear model fits well but not great having an r2 score of 0.57. Entry and junior level positions earn roughly $54,776. This income progresses $11,973 as they progress into their careers.
For C programmers, a linear model fits well but not great having an r2 score of 0.57. Junior level positions earn roughly $54,776. This income progresses $11,973 with each year of experience.
However, there are more outliers among C programmrs (earning >$200,000 per year where the model becomes unreliable, especially early to middle career). Among the game developers, they may have created an indie game.
However, there are more outliers among C programmers (earning >$200,000 per year where the model becomes unreliable, especially early to middle career).
### Python
@@ -91,3 +95,8 @@ For data scientists, analysts, or engineers, a linear model is a moderate fit at
Entry or junior level professionals generally have an income of $82,957 or $123,479. Their annual income increases by $10,378 or $2573 each year.
## Acknowledgements
* "Udacity AI" (ChatGPT), the idea to transform x values to appropriate a linear regression into a logarithmic regression.
* ChatGPT, clarification on logarithmic regression results and interpretation.