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

Feature/business understanding #151

Open
wants to merge 69 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
02f5aa4
Importing modules
Sandrakiptumm Apr 27, 2024
9939288
Update student.ipynb
Cdasilver29 Apr 27, 2024
dc953c2
Business-understanding
Cdasilver29 Apr 27, 2024
94c04b3
Update student.ipynb
Cdasilver29 Apr 27, 2024
a0708a0
Data-understanding
Cdasilver29 Apr 27, 2024
27b7de9
Update student.ipynb
Cdasilver29 Apr 27, 2024
5dca9f8
Update student.ipynb
Cdasilver29 Apr 27, 2024
39a544a
Update student.ipynb
Cdasilver29 Apr 27, 2024
516f422
Update student.ipynb
Cdasilver29 Apr 27, 2024
602cb32
import module and read data
Apr 28, 2024
a5f1a60
deleting importations in main
Sandrakiptumm Apr 28, 2024
02bc896
Merge pull request #1 from Sandrakiptumm/feature/data-preparation
Sandrakiptumm Apr 28, 2024
77c916b
Update student.ipynb
Sandrakiptumm Apr 28, 2024
8ca69ac
Revert "added additional information"
Sandrakiptumm Apr 28, 2024
9a13fdc
Update student.ipynb
Sandrakiptumm Apr 28, 2024
32ee66d
Update student.ipynb
Sandrakiptumm Apr 28, 2024
8b8b1c9
check columns and missing values
Apr 28, 2024
5cb2038
check data info and statistical summary
Apr 28, 2024
7b42ab7
added additional information on the statistical summary
Apr 28, 2024
ca3a1af
Reverting student.ipynb
Sandrakiptumm Apr 28, 2024
b776935
Update student.ipynb
Cdasilver29 Apr 28, 2024
b000ae3
Merge branch 'main' into Business-understanding
Sandrakiptumm Apr 28, 2024
6049c33
Merge pull request #2 from Sandrakiptumm/Business-understanding
Sandrakiptumm Apr 28, 2024
eb06736
added additional information
Apr 28, 2024
a1aaf43
Merge branch 'main' into feature/data-preparation
Sandrakiptumm Apr 28, 2024
a69da16
import module and read data
Apr 29, 2024
020c531
check data columns and missing values
Apr 29, 2024
03d3e03
check data info and statistical summary
Apr 29, 2024
c781d8b
added statistical summary
Apr 29, 2024
32101f6
added additional info
Apr 29, 2024
381e3fb
added explanatory data analysis
Apr 29, 2024
5a1639e
added additional information
Apr 29, 2024
384bf4d
added EDA
Apr 29, 2024
6642192
Merge pull request #3 from Sandrakiptumm/feature/data-preparation-final
Sandrakiptumm Apr 29, 2024
0a45fe9
simple linear regregression
Sandrakiptumm Apr 30, 2024
d530e93
Merge pull request #4 from Sandrakiptumm/feature/simple_linear_regres…
Sandrakiptumm Apr 30, 2024
7503689
plotting Multiple linear Regression
Salahudin654 Apr 30, 2024
9f6ec02
module 2 done
Salahudin654 Apr 30, 2024
4250d06
completing multiple regression
Salahudin654 Apr 30, 2024
097303f
Merge pull request #5 from Sandrakiptumm/feature/multiple_linear_regr…
Sandrakiptumm Apr 30, 2024
37a1792
Update README.md
samuelhellen May 1, 2024
792d9bd
title
samuelhellen May 1, 2024
4292b68
Update README.md
samuelhellen May 1, 2024
5fb6b8b
Update README.md
samuelhellen May 1, 2024
061d03d
updated readme
samuelhellen May 1, 2024
c4c6e8f
updated readme
samuelhellen May 1, 2024
094e891
Update README.md
samuelhellen May 1, 2024
a6916f8
images
samuelhellen May 1, 2024
adf6c9d
image
samuelhellen May 1, 2024
8f9d199
Pdf slides
samuelhellen May 1, 2024
76bff26
slides in pdf
samuelhellen May 1, 2024
d98996a
Merge pull request #6 from Sandrakiptumm/phase-2-project-hellen
Sandrakiptumm May 2, 2024
3e2f936
"Fixes"
Sandrakiptumm May 2, 2024
5492d0d
Merge pull request #8 from Sandrakiptumm/Reccomendations
Sandrakiptumm May 2, 2024
7aa3ba5
slides
samuelhellen May 2, 2024
72535e0
pdf slides
samuelhellen May 2, 2024
d798a38
Merge pull request #9 from Sandrakiptumm/phase-2-project-hellen
Sandrakiptumm May 2, 2024
f5f282a
Update student.ipynb
Cdasilver29 May 2, 2024
22faa80
Merge branch 'Business-understanding' of https://github.com/Sandrakip…
Cdasilver29 May 2, 2024
7a14aa6
updating business understanding
Cdasilver29 May 2, 2024
a1ab02c
Data understanding
Cdasilver29 May 2, 2024
2b01a1d
Added info
May 2, 2024
c18538a
update
Cdasilver29 May 2, 2024
7cdba0a
Updated info
May 2, 2024
9da9798
Merge pull request #10 from Sandrakiptumm/Reccomendations
May 2, 2024
2a3a462
Merge branch 'main' into feature/Business-understanding
Cdasilver29 May 2, 2024
5fef4cd
Update student.ipynb
Cdasilver29 May 2, 2024
74269e7
Update student.ipynb
Cdasilver29 May 2, 2024
7a82d54
Update student.ipynb
Cdasilver29 May 3, 2024
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
Binary file added Pdf presentation.pdf
Binary file not shown.
314 changes: 108 additions & 206 deletions README.md

Large diffs are not rendered by default.

Binary file removed halfway-there.gif
Binary file not shown.
Binary file added images/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions my_functions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
def building_model(formula, data_frame):
"""
takes in formula eg "y ~ x" and your data then outputs a model using the data
"""
return (sm.formula.ols(formula= formula, data = data_frame))



def plotting_regression_plots(your_model, independent_variable):
"""
Plots all necessary regression plots
"""
fig, ax = plt.subplots(figsize=(8, 6)) # Create a figure and axis
sm.graphics.plot_regress_exog(your_model, independent_variable, fig=fig) # Plot regression plots on the axis
ax.set_xlabel(independent_variable, color='orange') # Set x-axis label color to orange
ax.tick_params(axis='x', colors='orange') # Set x-axis tick color to orange

452 changes: 444 additions & 8 deletions student.ipynb

Large diffs are not rendered by default.