Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
599 commits
Select commit Hold shift + click to select a range
786b422
Bump jupyterlab from 4.0.3 to 4.0.11 in /classification_analysis
dependabot[bot] Jan 19, 2024
5c219eb
Bump jupyterlab from 4.0.3 to 4.0.11 in /household_electric_consumption
dependabot[bot] Jan 19, 2024
aeaee91
Bump jupyterlab from 4.0.3 to 4.0.11 in /california_housing_prices
dependabot[bot] Jan 19, 2024
4c62ae1
Bump jupyterlab from 3.3.4 to 3.6.7 in /book_genre_comparison
dependabot[bot] Jan 19, 2024
e79ade2
Bump pillow from 10.0.0 to 10.3.0 in /goodreads_recomender
dependabot[bot] Apr 3, 2024
8dd9c91
Bump pillow from 9.3.0 to 10.3.0 in /book_genre_comparison
dependabot[bot] Apr 3, 2024
0d8742b
Bump transformers from 4.30.0 to 4.38.0 in /book_genre_comparison
dependabot[bot] Apr 10, 2024
f26defa
Bump idna from 3.3 to 3.7 in /book_genre_comparison
dependabot[bot] Apr 12, 2024
7b1a731
Bump idna from 3.4 to 3.7 in /goodreads_recomender
dependabot[bot] Apr 12, 2024
10f3cfc
Merge pull request #188 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Jun 3, 2024
ac33c1b
Merge pull request #187 from GaelGil/dependabot/pip/book_genre_compar…
GaelGil Jun 3, 2024
8de1e6e
Merge pull request #186 from GaelGil/dependabot/pip/book_genre_compar…
GaelGil Jun 3, 2024
7a2f810
Merge pull request #168 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Jun 3, 2024
01f8f15
Bump jinja2 from 3.1.1 to 3.1.4 in /book_genre_comparison
dependabot[bot] Jun 3, 2024
e15d12a
Bump tqdm from 4.64.0 to 4.66.3 in /book_genre_comparison
dependabot[bot] Jun 3, 2024
147bc6a
Merge pull request #172 from GaelGil/dependabot/pip/linear_regression…
GaelGil Jun 3, 2024
1a962bc
Bump requests from 2.31.0 to 2.32.2 in /goodreads_recomender
dependabot[bot] Jun 3, 2024
d9fd217
Bump requests from 2.31.0 to 2.32.2 in /book_genre_comparison
dependabot[bot] Jun 3, 2024
b24e356
Merge pull request #184 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Jun 3, 2024
093f807
Merge pull request #169 from GaelGil/dependabot/pip/convolutions/jupy…
GaelGil Jun 3, 2024
d223305
Merge pull request #170 from GaelGil/dependabot/pip/back-propagation/…
GaelGil Jun 3, 2024
f26cdbe
Merge pull request #177 from GaelGil/dependabot/pip/who_life_expectan…
GaelGil Jun 3, 2024
561b24f
Merge pull request #175 from GaelGil/dependabot/pip/probability_theor…
GaelGil Jun 3, 2024
9ac1991
Merge pull request #174 from GaelGil/dependabot/pip/binomial-theorum/…
GaelGil Jun 3, 2024
fe7cad8
Merge pull request #178 from GaelGil/dependabot/pip/classification_an…
GaelGil Jun 3, 2024
40f89f9
Merge pull request #176 from GaelGil/dependabot/pip/ecommerce_sales/j…
GaelGil Jun 3, 2024
5e1c5dd
Merge pull request #190 from GaelGil/dependabot/pip/book_genre_compar…
GaelGil Jun 3, 2024
e097df9
Merge pull request #179 from GaelGil/dependabot/pip/household_electri…
GaelGil Jun 3, 2024
676346a
Merge pull request #181 from GaelGil/dependabot/pip/book_genre_compar…
GaelGil Jun 3, 2024
ae08cf8
Merge pull request #180 from GaelGil/dependabot/pip/california_housin…
GaelGil Jun 3, 2024
ae13390
Merge pull request #185 from GaelGil/dependabot/pip/book_genre_compar…
GaelGil Jun 3, 2024
7c428e3
Merge pull request #173 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Jun 3, 2024
d18aea3
Merge pull request #171 from GaelGil/dependabot/pip/spam_analysis/jup…
GaelGil Jun 3, 2024
1818d99
Merge pull request #189 from GaelGil/dependabot/pip/book_genre_compar…
GaelGil Jun 3, 2024
bbddd14
Merge pull request #191 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Jun 3, 2024
86e0df3
Merge pull request #192 from GaelGil/dependabot/pip/book_genre_compar…
GaelGil Jun 3, 2024
b7c0da5
cleaning repo
GaelGil Jun 4, 2024
a00e676
Bump urllib3 from 2.0.3 to 2.2.2 in /goodreads_recomender
dependabot[bot] Jun 17, 2024
13ea522
Bump scikit-learn from 1.3.2 to 1.5.0 in /classification_analysis
dependabot[bot] Jun 18, 2024
bfc0a98
Bump certifi from 2023.5.7 to 2024.7.4 in /goodreads_recomender
dependabot[bot] Jul 6, 2024
216880a
Bump zipp from 3.16.1 to 3.19.1 in /goodreads_recomender
dependabot[bot] Jul 9, 2024
af6b42c
Bump setuptools from 58.0.4 to 70.0.0 in /probability_theory
dependabot[bot] Jul 15, 2024
c021d32
update notebook
GaelGil Aug 8, 2024
362b89f
Bump jupyterlab from 4.0.11 to 4.2.5 in /linear_regression
dependabot[bot] Aug 29, 2024
84594f4
exploring data
GaelGil Nov 25, 2024
8e36461
made small changes
GaelGil Nov 25, 2024
ea51bc9
continuing notebook projects
GaelGil Jan 16, 2025
9acf2ea
updated notebook
GaelGil Jan 17, 2025
68c6ded
updaing notebook
GaelGil Jan 17, 2025
475729f
working on notebook
GaelGil Jan 17, 2025
920989b
working on notebook
GaelGil Jan 17, 2025
2879d7c
working on missing datae
GaelGil Jan 23, 2025
795d9fa
filling missing values
GaelGil Feb 13, 2025
6624294
working on notebook
GaelGil Feb 13, 2025
7363fbe
working on solution
GaelGil Feb 14, 2025
db0f733
finished notebook for now
GaelGil Feb 25, 2025
edda740
working on notebook
GaelGil Feb 25, 2025
9f3e3fb
updaing notebook
GaelGil Feb 26, 2025
bce5748
updating notebook
GaelGil Mar 6, 2025
74c9033
updated notebook
GaelGil Mar 7, 2025
17dc98a
working on notebook
GaelGil Mar 10, 2025
997a345
working on data visulisation and exploration
GaelGil Mar 10, 2025
3e5caf5
did some visualizations
GaelGil Mar 10, 2025
1675b8b
graphing other things now
GaelGil Mar 10, 2025
6d3f2f1
working on notebook
GaelGil Mar 11, 2025
8d99b9d
working on improving score for kaggle
GaelGil Mar 12, 2025
6dfa1a5
working on cleaning up notebook
GaelGil Mar 13, 2025
7f4197e
added function to get age average by title
GaelGil Mar 13, 2025
188318a
currently offertiting
GaelGil Mar 13, 2025
4dbb0b6
working on finishing notebook
GaelGil Mar 14, 2025
f76a24e
finished the notebook for now
GaelGil Mar 14, 2025
caf57a1
working on data exploration
GaelGil Mar 14, 2025
a676caf
working on stuff
GaelGil Mar 16, 2025
3d5e256
working on notebook
GaelGil Mar 17, 2025
5e9b6fd
working on notebook still
GaelGil Mar 18, 2025
06208ba
working on the math
GaelGil Mar 18, 2025
8398464
working on adding math
GaelGil Mar 19, 2025
9ef4540
working on updating math
GaelGil Mar 21, 2025
57e28d3
working on math stuff
GaelGil Mar 21, 2025
66aacc0
working on math explanation
GaelGil Mar 21, 2025
6d5e46b
working on math
GaelGil Mar 21, 2025
3eb7061
working on math
GaelGil Mar 24, 2025
fcae250
working on naive bayes example
GaelGil Mar 25, 2025
77938f1
cleaned up math explanation
GaelGil Mar 25, 2025
56df0dd
working on notebook
GaelGil Mar 25, 2025
bde0503
cleaned up math explanation
GaelGil Mar 25, 2025
edf7c95
working on math
GaelGil Mar 25, 2025
e9504d0
working on example
GaelGil Mar 26, 2025
5117ae8
started on model building section
GaelGil Mar 26, 2025
9c10ab0
finished model building
GaelGil Mar 26, 2025
cfed2f0
finished notebook for now
GaelGil Mar 26, 2025
a89c100
working on filling missing values
GaelGil Mar 26, 2025
9681ac6
Merge pull request #199 from GaelGil/dependabot/pip/linear_regression…
GaelGil Mar 26, 2025
e92d08b
Merge pull request #198 from GaelGil/dependabot/pip/probability_theor…
GaelGil Mar 26, 2025
553a76a
Merge pull request #197 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Mar 26, 2025
8f4547e
Merge pull request #196 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Mar 26, 2025
0230ec0
Bump jinja2 from 3.1.2 to 3.1.6 in /goodreads_recomender
dependabot[bot] Mar 26, 2025
87f8712
Bump tornado from 6.3.2 to 6.4.2 in /goodreads_recomender
dependabot[bot] Mar 26, 2025
a93687f
Merge pull request #195 from GaelGil/dependabot/pip/classification_an…
GaelGil Mar 26, 2025
44afa73
Merge pull request #201 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Mar 26, 2025
50cf1ba
Merge pull request #200 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Mar 26, 2025
32e7be0
Bump setuptools from 58.0.4 to 70.0.0 in /binomial_distribution
dependabot[bot] Mar 26, 2025
6042e87
Merge pull request #194 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Mar 26, 2025
9fd0594
Merge pull request #202 from GaelGil/dependabot/pip/binomial_distribu…
GaelGil Mar 26, 2025
ba3d382
Bump jupyterlab from 4.0.11 to 4.2.5 in /binomial_distribution
dependabot[bot] Mar 26, 2025
8fb92a7
updated graphs
GaelGil Mar 26, 2025
d8793b9
updated another set of graphs
GaelGil Mar 26, 2025
729d45d
working on new filling values
GaelGil Mar 26, 2025
f5b353d
working on stuff
GaelGil Mar 27, 2025
4b58e0b
working on data proccessing
GaelGil Mar 27, 2025
3e43bda
fixed error
GaelGil Apr 1, 2025
aa9d8d6
started model building section
GaelGil Apr 1, 2025
de190a2
edited paragraph
GaelGil Apr 1, 2025
07c3a3b
working on modeling
GaelGil Apr 1, 2025
71b4d3f
working on updating stuff
GaelGil Apr 1, 2025
5beaa07
updating linear regression text
GaelGil Apr 2, 2025
242e1e4
working on stuff
GaelGil Apr 3, 2025
9f4eeaa
updating model building
GaelGil Apr 3, 2025
0e2f001
working on polynomial regression
GaelGil Apr 3, 2025
639e2f6
wrapping up neural network evaluation
GaelGil Apr 3, 2025
4a1f881
wrapped up model eval for neural network
GaelGil Apr 3, 2025
f1447e6
finished conclusion
GaelGil Apr 3, 2025
99b700e
added graph explanation
GaelGil Apr 3, 2025
d56eb1c
starting notebook
GaelGil Apr 10, 2025
561f566
starting this notebook
GaelGil Apr 14, 2025
f848224
starting notebook
GaelGil Apr 14, 2025
737c5a9
working on project overview
GaelGil Apr 14, 2025
11e592d
finished proejct overview
GaelGil Apr 14, 2025
d8ce6c8
working on data exploration
GaelGil Apr 14, 2025
8ce1b16
working on explaining features
GaelGil Apr 16, 2025
d86a014
working on stuff
GaelGil Apr 16, 2025
13dbf6b
working on notebook
GaelGil Apr 23, 2025
6146ec3
working on data exploration
GaelGil Apr 23, 2025
969a9ab
created notebook
GaelGil Apr 25, 2025
45aaf0e
started working on notebook
GaelGil Apr 25, 2025
8894523
formated proejct
GaelGil Apr 25, 2025
1ff74a3
updating requirements.txt
GaelGil Apr 26, 2025
8d07d28
updated requirements.txt
GaelGil Apr 26, 2025
ccc325e
updated requirements.txt
GaelGil Apr 26, 2025
268ebd9
working on cnn
GaelGil Apr 26, 2025
a2751b7
working on markdown
GaelGil Apr 29, 2025
d041306
working on content
GaelGil Apr 29, 2025
be39a9e
working on graph breakdown
GaelGil Apr 30, 2025
26dda0e
working on missing values
GaelGil May 1, 2025
d8b5608
worked on stuff
GaelGil May 2, 2025
c03a51c
updated requirements.txt
GaelGil May 2, 2025
07c74d5
working on makrdown
GaelGil May 5, 2025
52a477e
implemented wsconv2d
GaelGil May 5, 2025
131f0f0
implemented convbloc
GaelGil May 5, 2025
cd9cb8f
implemented generator
GaelGil May 5, 2025
6315a42
working on discriminagtor
GaelGil May 5, 2025
a91291b
working on functions
GaelGil May 6, 2025
717ddb5
finished implementing the discriminator
GaelGil May 6, 2025
4f678d1
trying to fix bugs
GaelGil May 9, 2025
86e23f8
found error in the code and fixed it
GaelGil May 9, 2025
7e1b3d7
implementing utils
GaelGil May 9, 2025
4fa27a3
implemented utils
GaelGil May 9, 2025
221cc0c
implemented train.py
GaelGil May 9, 2025
e9aa899
restructured project
GaelGil May 9, 2025
e827b4c
cleaned up project
GaelGil May 9, 2025
e395650
working on notebook content
GaelGil May 9, 2025
0bd09ea
space
GaelGil May 14, 2025
6a1aef3
added headers
GaelGil May 18, 2025
fc745cf
Bump setuptools from 65.5.0 to 78.1.1 in /convolutions
dependabot[bot] May 19, 2025
e27a973
Bump setuptools from 65.5.1 to 78.1.1 in /goodreads_recomender
dependabot[bot] May 19, 2025
91727c7
Bump setuptools from 58.0.4 to 78.1.1 in /household_electric_consumption
dependabot[bot] May 19, 2025
15873d9
Bump tornado from 6.4.2 to 6.5.1 in /goodreads_recomender
dependabot[bot] May 23, 2025
2295a23
updating structure
GaelGil Jun 4, 2025
98995c4
updated project structure
GaelGil Jun 4, 2025
cce38eb
updated project structure
GaelGil Jun 4, 2025
7e1b6db
updated project
GaelGil Jun 5, 2025
7a5dc98
updating model
GaelGil Jun 5, 2025
e249453
added file for checking accuray
GaelGil Jun 5, 2025
c594392
updated file
GaelGil Jun 5, 2025
464945c
updated main
GaelGil Jun 5, 2025
95f5e74
upadted config
GaelGil Jun 5, 2025
3b6115c
updated config for data
GaelGil Jun 5, 2025
52c1105
Merge pull request #203 from GaelGil/dependabot/pip/binomial_distribu…
GaelGil Jun 5, 2025
6366cd9
Merge pull request #208 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Jun 5, 2025
1c46b4e
Merge pull request #207 from GaelGil/dependabot/pip/household_electri…
GaelGil Jun 5, 2025
cb1c29b
Merge pull request #206 from GaelGil/dependabot/pip/goodreads_recomen…
GaelGil Jun 5, 2025
2a402e3
Merge pull request #205 from GaelGil/dependabot/pip/convolutions/setu…
GaelGil Jun 5, 2025
8a557bb
modified train.py
GaelGil Jun 6, 2025
bd10e22
updating main
GaelGil Jun 6, 2025
2655e67
updating comments
GaelGil Jun 6, 2025
5ef5916
updating structure
GaelGil Jun 6, 2025
746aa1a
updating comments
GaelGil Jun 6, 2025
aed73e0
updated gitignore
GaelGil Jun 6, 2025
65993f5
updated requirements.txt
GaelGil Jun 6, 2025
f7e0253
updating notebook
GaelGil Jun 6, 2025
c730249
added content
GaelGil Jun 6, 2025
bd77f03
updated more comments
GaelGil Jun 6, 2025
343effa
updaitng markdown
GaelGil Jun 6, 2025
5755ead
updateing
GaelGil Jun 6, 2025
8c4d898
updating convolutions/kernel explanation
GaelGil Jun 7, 2025
c4e3057
working on content
GaelGil Jun 7, 2025
8e900da
updating to numpy
GaelGil Jun 7, 2025
abdc8a8
adding more numpy
GaelGil Jun 7, 2025
7319544
updating markdown
GaelGil Jun 7, 2025
65fe470
updated notebook
GaelGil Jun 7, 2025
b3b1127
updated requirements.txt
GaelGil Jun 7, 2025
9345efd
added content
GaelGil Jun 7, 2025
29abba8
updated notebook
GaelGil Jun 9, 2025
3cf82c2
updated stride and pooling part
GaelGil Jun 9, 2025
b0a2670
updating the content
GaelGil Jun 9, 2025
5f4595d
updating model architecture stuff
GaelGil Jun 9, 2025
a30bdb9
adding model architecture
GaelGil Jun 10, 2025
e2b11fa
updating notebook
GaelGil Jun 10, 2025
ac62696
notebook content
GaelGil Jun 10, 2025
f178839
updated comments
GaelGil Jun 10, 2025
daaf3cc
updated comments
GaelGil Jun 10, 2025
78e1119
comments
GaelGil Jun 10, 2025
1cc6806
updating stuff
GaelGil Jun 10, 2025
d264a53
updated content
GaelGil Jun 10, 2025
6f48935
updated requierments.txt
GaelGil Jun 10, 2025
6135e70
updated first layer
GaelGil Jun 11, 2025
0897bb8
updating architecture
GaelGil Jun 11, 2025
65e7008
removed line
GaelGil Jun 11, 2025
2f418a5
updating content
GaelGil Jun 11, 2025
5e67d36
updating model
GaelGil Jun 11, 2025
eeee6a7
updating notebook
GaelGil Jun 11, 2025
3a100dc
updated the content
GaelGil Jun 11, 2025
62c7680
updated convolution exampole
GaelGil Jun 11, 2025
33d245d
updating notebook
GaelGil Jun 11, 2025
6bb0126
added a image
GaelGil Jun 11, 2025
4c02b7f
updated content
GaelGil Jun 11, 2025
b96a836
updated cnn explanation
GaelGil Jun 11, 2025
2c73fec
updated notebook
GaelGil Jun 11, 2025
8bddf63
explaning the model outputs
GaelGil Jun 12, 2025
6510357
updating to inculde max pooling
GaelGil Jun 12, 2025
7012092
updating max pool
GaelGil Jun 12, 2025
7b517f6
updated pooling infpo
GaelGil Jun 12, 2025
39fa5c9
updated archutecture
GaelGil Jun 12, 2025
b2f4dfd
updated notebook
GaelGil Jun 12, 2025
c9c39c6
upated the init function
GaelGil Jun 12, 2025
3cb79dd
updated config
GaelGil Jun 12, 2025
92a0b92
updated to use config
GaelGil Jun 12, 2025
d191170
updated to use config
GaelGil Jun 12, 2025
12458e2
updated typos
GaelGil Jun 12, 2025
e4bcf29
updated repo
GaelGil Jun 12, 2025
a01b9e2
requirements.txt
GaelGil Jun 12, 2025
109ed7b
updating notebook
GaelGil Jun 13, 2025
db23491
working on notebook
GaelGil Jun 13, 2025
ac460fe
updates
GaelGil Jun 13, 2025
94789f1
updating markdowj
GaelGil Jun 13, 2025
b9aaa04
updated notebook
GaelGil Jun 13, 2025
9f5f4af
removed a project
GaelGil Jun 13, 2025
a762897
adding a pivot table
GaelGil Jun 13, 2025
e7fcbea
updating stuff
GaelGil Jun 13, 2025
deb9ddd
Bump zipp from 3.17.0 to 3.19.1 in /back-propagation
dependabot[bot] Jun 13, 2025
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ __pycache__/

# C extensions
*.so


/drug_alcohol_relation
*.csv
household_power_consumption.txt

*build_opencv
*knn
Expand Down
105 changes: 105 additions & 0 deletions amazon_sales/amazon_sales.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"cells": [
{
"cell_type": "markdown",
"id": "ea6617bc-b4c9-4cc7-a32d-4131298f249f",
"metadata": {},
"source": [
"# Introduction/Project Overview:\n",
"\n",
"In this notebook, I will present my solution and analysis of the Titanic dataset. This is a very famous dataset that can be found on kaggle. The dataset contains demographics of the Titanc passengers, incluiding who survived and who did not. The goal is to build a model that can correctly classify new examples (check who will survive or not). Throughout this notebook I will visualize the data, explain some data preprocessing techniques, construct and evaluate models and analyze the results.\n",
"Data Exploration & Preprocessing:\n",
"\n",
"I will go over the dataset, analyzing its various features, checking for missing values, and gaining insights into the distribution of variables. Prior to building the models, I will preprocess the data by handling missing values, encoding categorical variables, and scaling numerical features to ensure good model performance.\n",
"Model Building & Evaluation:\n",
"\n",
"In this notebook I will try implement several models to try and correctly classify passengers who survied. This is a supervised learning task as we are given the labels of who survived and who did not. For this project the models I chose is random forests. Ideally I would test several to see which one performs best but to keep this simple as a practice example I will just use one model.\n",
"Conclusion:\n",
"\n",
"Finally, I will interpret the results of the models, identifying significant factors that contribute to passenger survival prediction and discussing potential areas for model improvement. The Titanic dataset is a good challange to test your knowledege on machine learning. This will serve as a good test for me to keep learning and testing my skills. The submission will be posted on kaggle to get a score.\n"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "96e40bf7-b76b-459e-82a1-dff4b680b7a3",
"metadata": {},
"outputs": [],
"source": [
"import pandas as pd\n",
"import numpy as np\n",
"import seaborn as sns \n",
"import matplotlib.pyplot as plt"
]
},
{
"cell_type": "markdown",
"id": "15589cc0-4461-48e1-afed-29711bf7bbdf",
"metadata": {},
"source": [
"# Data Exploration & Preprocessing:\n",
"As mentioned earlier I got the dataset from kaggle. The link to that can be found above. The download came with two csv files. One for the training set and one for the test set. Since I have it locally on my computer I can eassily access the data as shown below. Some of the first steps we will do before creating a model is to see what our data looks like."
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "5b185670-1f27-406f-b70f-124d600890e8",
"metadata": {},
"outputs": [
{
"ename": "UnicodeDecodeError",
"evalue": "'utf-8' codec can't decode byte 0xa3 in position 79780: invalid start byte",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mUnicodeDecodeError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[3], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m data \u001b[38;5;241m=\u001b[39m \u001b[43mpd\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mread_csv\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43m./data.csv\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m)\u001b[49m\n",
"File \u001b[0;32m~/git-repos/notebooks/ecommerce_sales/env/lib/python3.9/site-packages/pandas/io/parsers/readers.py:1026\u001b[0m, in \u001b[0;36mread_csv\u001b[0;34m(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, skipfooter, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, date_format, dayfirst, cache_dates, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, doublequote, escapechar, comment, encoding, encoding_errors, dialect, on_bad_lines, delim_whitespace, low_memory, memory_map, float_precision, storage_options, dtype_backend)\u001b[0m\n\u001b[1;32m 1013\u001b[0m kwds_defaults \u001b[38;5;241m=\u001b[39m _refine_defaults_read(\n\u001b[1;32m 1014\u001b[0m dialect,\n\u001b[1;32m 1015\u001b[0m delimiter,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 1022\u001b[0m dtype_backend\u001b[38;5;241m=\u001b[39mdtype_backend,\n\u001b[1;32m 1023\u001b[0m )\n\u001b[1;32m 1024\u001b[0m kwds\u001b[38;5;241m.\u001b[39mupdate(kwds_defaults)\n\u001b[0;32m-> 1026\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43m_read\u001b[49m\u001b[43m(\u001b[49m\u001b[43mfilepath_or_buffer\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mkwds\u001b[49m\u001b[43m)\u001b[49m\n",
"File \u001b[0;32m~/git-repos/notebooks/ecommerce_sales/env/lib/python3.9/site-packages/pandas/io/parsers/readers.py:626\u001b[0m, in \u001b[0;36m_read\u001b[0;34m(filepath_or_buffer, kwds)\u001b[0m\n\u001b[1;32m 623\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m parser\n\u001b[1;32m 625\u001b[0m \u001b[38;5;28;01mwith\u001b[39;00m parser:\n\u001b[0;32m--> 626\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43mparser\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mread\u001b[49m\u001b[43m(\u001b[49m\u001b[43mnrows\u001b[49m\u001b[43m)\u001b[49m\n",
"File \u001b[0;32m~/git-repos/notebooks/ecommerce_sales/env/lib/python3.9/site-packages/pandas/io/parsers/readers.py:1923\u001b[0m, in \u001b[0;36mTextFileReader.read\u001b[0;34m(self, nrows)\u001b[0m\n\u001b[1;32m 1916\u001b[0m nrows \u001b[38;5;241m=\u001b[39m validate_integer(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mnrows\u001b[39m\u001b[38;5;124m\"\u001b[39m, nrows)\n\u001b[1;32m 1917\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 1918\u001b[0m \u001b[38;5;66;03m# error: \"ParserBase\" has no attribute \"read\"\u001b[39;00m\n\u001b[1;32m 1919\u001b[0m (\n\u001b[1;32m 1920\u001b[0m index,\n\u001b[1;32m 1921\u001b[0m columns,\n\u001b[1;32m 1922\u001b[0m col_dict,\n\u001b[0;32m-> 1923\u001b[0m ) \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_engine\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mread\u001b[49m\u001b[43m(\u001b[49m\u001b[43m \u001b[49m\u001b[38;5;66;43;03m# type: ignore[attr-defined]\u001b[39;49;00m\n\u001b[1;32m 1924\u001b[0m \u001b[43m \u001b[49m\u001b[43mnrows\u001b[49m\n\u001b[1;32m 1925\u001b[0m \u001b[43m \u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 1926\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mException\u001b[39;00m:\n\u001b[1;32m 1927\u001b[0m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mclose()\n",
"File \u001b[0;32m~/git-repos/notebooks/ecommerce_sales/env/lib/python3.9/site-packages/pandas/io/parsers/c_parser_wrapper.py:234\u001b[0m, in \u001b[0;36mCParserWrapper.read\u001b[0;34m(self, nrows)\u001b[0m\n\u001b[1;32m 232\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m:\n\u001b[1;32m 233\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;28mself\u001b[39m\u001b[38;5;241m.\u001b[39mlow_memory:\n\u001b[0;32m--> 234\u001b[0m chunks \u001b[38;5;241m=\u001b[39m \u001b[38;5;28;43mself\u001b[39;49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43m_reader\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mread_low_memory\u001b[49m\u001b[43m(\u001b[49m\u001b[43mnrows\u001b[49m\u001b[43m)\u001b[49m\n\u001b[1;32m 235\u001b[0m \u001b[38;5;66;03m# destructive to chunks\u001b[39;00m\n\u001b[1;32m 236\u001b[0m data \u001b[38;5;241m=\u001b[39m _concatenate_chunks(chunks)\n",
"File \u001b[0;32mparsers.pyx:838\u001b[0m, in \u001b[0;36mpandas._libs.parsers.TextReader.read_low_memory\u001b[0;34m()\u001b[0m\n",
"File \u001b[0;32mparsers.pyx:905\u001b[0m, in \u001b[0;36mpandas._libs.parsers.TextReader._read_rows\u001b[0;34m()\u001b[0m\n",
"File \u001b[0;32mparsers.pyx:874\u001b[0m, in \u001b[0;36mpandas._libs.parsers.TextReader._tokenize_rows\u001b[0;34m()\u001b[0m\n",
"File \u001b[0;32mparsers.pyx:891\u001b[0m, in \u001b[0;36mpandas._libs.parsers.TextReader._check_tokenize_status\u001b[0;34m()\u001b[0m\n",
"File \u001b[0;32mparsers.pyx:2053\u001b[0m, in \u001b[0;36mpandas._libs.parsers.raise_parser_error\u001b[0;34m()\u001b[0m\n",
"\u001b[0;31mUnicodeDecodeError\u001b[0m: 'utf-8' codec can't decode byte 0xa3 in position 79780: invalid start byte"
]
}
],
"source": [
"data = pd.read_csv('./data.csv')"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "82d6f85a-f0e1-4428-95f2-208ab9e8d6d1",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
10 changes: 10 additions & 0 deletions amazon_sales/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
fqdn==1.5.1
isoduration==20.11.0
jsonpointer==3.0.0
jupyterlab==4.4.3
pipdeptree==2.26.1
scikit-learn==1.6.1
seaborn==0.13.2
tinycss2==1.4.0
uri-template==1.3.0
webcolors==24.11.1
92 changes: 0 additions & 92 deletions back-propagation/back_progpagation_notes.ipynb

This file was deleted.

Loading