{"id":18869391,"url":"https://github.com/codersales/machine-learning-classification","last_synced_at":"2026-03-07T00:02:06.728Z","repository":{"id":185423019,"uuid":"594518874","full_name":"CoderSales/machine-learning-classification","owner":"CoderSales","description":"machine learning jupyter notebooks | data-science | priority | relevant | significant | green-light | 1 | may-2023-filtered | may-2023-filtered-2 | may-2023-filtered-3 | filtered-4 | frequent","archived":false,"fork":false,"pushed_at":"2026-02-11T18:02:07.000Z","size":132694,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-12T01:54:04.166Z","etag":null,"topics":["authorized","classification","current","decision-tree","ensemble-techniques","jupyter","machine-learning","more-than-100-commits","more-than-300-commits","numpy","pandas","python3","ranked","repository-5","seaborn","sklearn","stacking","sub-critical","supervised-learning","workstation"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoderSales.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-28T19:50:45.000Z","updated_at":"2026-02-11T18:02:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"80ff0707-e1a7-4708-986d-e0e7ab165ebb","html_url":"https://github.com/CoderSales/machine-learning-classification","commit_stats":null,"previous_names":["codersales/machine-learning-classification"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CoderSales/machine-learning-classification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fmachine-learning-classification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fmachine-learning-classification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fmachine-learning-classification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fmachine-learning-classification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoderSales","download_url":"https://codeload.github.com/CoderSales/machine-learning-classification/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoderSales%2Fmachine-learning-classification/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30204109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authorized","classification","current","decision-tree","ensemble-techniques","jupyter","machine-learning","more-than-100-commits","more-than-300-commits","numpy","pandas","python3","ranked","repository-5","seaborn","sklearn","stacking","sub-critical","supervised-learning","workstation"],"created_at":"2024-11-08T05:16:37.179Z","updated_at":"2026-03-07T00:02:06.704Z","avatar_url":"https://github.com/CoderSales.png","language":"Jupyter Notebook","readme":"# machine-learning-classification\r\n\r\n# primary source for this README: jupyter-6-Supervised-Learning\r\nRepository for running jupyter notebooks and keeping relevant files in one place\r\n\r\n\r\nUpdates from \r\n\r\n# ML-logistic-regression-notes\r\n- [CoderSales/ML-logistic-regression-notes](https://github.com/CoderSales/ML-logistic-regression-notes/blob/main/README.md)\r\n\r\n# All content below this point from documentation repository:\r\n- [CoderSales/documentation](https://github.com/CoderSales/documentation)\r\n\r\n# documentation\r\ndocumentation for different repositories\r\n\r\n# assembling:\r\n# part 1:\r\n\r\n[closed], W., Wencel, W. and Agrawal, S. (2016) What is the difference between a feature and a label?, Stack Overflow. Available at: https://stackoverflow.com/questions/40898019/what-is-the-difference-between-a-feature-and-a-label#:~:text=Briefly%2C%20feature%20is%20input%3B%20label,region%2C%20family%20income%2C%20etc. (Accessed: 9 February 2023).\r\n\r\n# part 2: Repos used to compile this README.md :\r\n## ML-logistic-regression-notes\r\n## machine-learning-classification\r\n\r\n\r\n# part 3: README from Repo 1\r\n# ML-logistic-regression-notes\r\n\r\n# files\r\nQUICKSTART-WIN-VSC-BASH.md\r\nfrom \r\n- [CoderSales/machine-learning-classification](https://github.com/CoderSales/machine-learning-classification)\r\n\r\n# primary source for this README: machine-learning-classification\r\nRepository for running jupyter notebooks and keeping relevant files in one place\r\n# secondary source for this README: jupyter-6-Supervised-Learning\r\nRepository for running jupyter notebooks and keeping relevant files in one place\r\n\r\n\r\n# notes\r\n## notes made for previous plan to remove null values\r\ncheck how to remove null values from dataframe\r\n\r\n### notes\r\npandas \r\n.iloc() - locate by row, col indices\r\n.loc() - locate by row index and col NAME\r\n\r\n### how to run python files from terminal\r\n- [python3 main.py](https://realpython.com/run-python-scripts/)\r\n \r\n### Data Cleaning\r\n### 2.13 Lecture\r\ndf.drop('Column name', axis=1)\r\n    - where axies = 0 for rows, 1 for columns\r\n    - drops referenced column from data frame\r\n    - inplace=True argument to ensure column stays dropped.\r\ndf.drop(1,axis=0).reset_index()\r\n    - new col with old indices\r\ndf.drop(1,axis=0).reset_index(drop=True,inplace=True)\r\n\r\ndf.copy\r\n\r\n### 4.1 Lecture Data Sanity Checks - Part 1\r\ndf['columnname'].apply(type).value_counts()\r\n    - this looks at and notes the values by type and then counts them\r\n\r\ndf['colname'] = df['colname'].replace('missing','inf'],np.nan)\r\n    - replaces our specified strings 'missing' and 'inf' \r\n    -  with np.nan\r\n\r\ndf['colname'] = df['colname'].astype(float)\r\n    - convert values to float\r\n\r\nReview note: when we substitute np.nan in for strings the resulting data type is (if all the other entries are say float) float.\r\n\r\ndf.info()\r\n    - rerunning this after data cleaning may result in cleaned columns type changing to, say, float.\r\n\r\nCheck length of each column \r\nColumns shorter than max col length means missing values as empty cells\r\n\r\n#### Alternative approach - clean while loading:\r\n##### using na_values to tell python which values it should consider as NaN\r\ndata_new = pd.read_csv('/content/drive/MyDrive/Python Course/Melbourne_Housing.csv',na_values=['missing','inf'])\r\n- on load, above line automatically converts all missing and inf to nan so, running:\r\ndata_new['BuildingArea'].dtype\r\n- gives \r\ndtype('float64')\r\nas only float (and nan which seems to be treated as whatever the rest of the data types are)\r\n\r\n#### Review note\r\ndata['BuildingArea'].unique()\r\n- above line run before cleaning gives unique values in column as a numpy array\r\n- so can inspect to find out which strings to remove.\r\n# setup steps\r\npython3 -m venv .venv\r\n    - in bash\r\n    - and on Windows\r\nsource .venv/bin/activate\r\n    - in bash\r\nsource .venv/Scripts/activate\r\n    - on Windows\r\n    - on VSCode Windows bash\r\n/workspace/machine-learning-classification/.venv/bin/python -m pip install --upgrade pip\r\n    - in GitPod\r\npython3 -m pip install --upgrade pip\r\n    - on Windows\r\n\r\n.venv/Scripts/python.exe -m pip install --upgrade pip\r\n    - in .venv\r\n\r\npip install --upgrade pip\r\npip install jupyter notebook\r\npip install matplotlib\r\npip install pandas\r\npip install seaborn\r\npip install numpy\r\npip install scipy\r\npip install statsmodels\r\npip install -U scikit-learn\r\npip install ipykernel\r\npip install nb-black\r\n\r\n\r\nCtrl Shift P\r\nCreate New Jupyter Notebook\r\nSave and name notebook\r\nPaste in necessary code\r\n\r\nCtrl Shift P\r\nPython: Select Interpreter\r\nuse Python version in ./.venv/bin/python\r\n\r\npip freeze \u003e requirements.txt\r\n\r\npip install -r requirements.txt\r\n\r\n## Add required files\r\npima-indians-diabetes.csv\r\n## Extensions\r\nExtension: Excel Viewer\r\n    - for  viewing csv files in VSCode\r\n\r\n## Debug\r\n\r\n### jupyter cannot find modules\r\n\r\n- [install modules from jupyter notebook](https://discourse.jupyter.org/t/python-in-terminal-finds-module-jupyter-notebook-does-not/2262/7)\r\n### prelim\r\nper above\r\nPython:Select Interpreter\r\n3.10.9 (.venv)\r\n### ipykernel bug\r\nafter running\r\npip install ipykernel\r\non running LinearRegression_HandsOn-1.ipynb\r\nmessage appears saying:\r\nit is necessary to install ipykernel\r\nOK\r\ninstalling ipykernel\r\nRerun\r\nLinearRegression_HandsOn-1.ipynb\r\n\r\n### pandas bug\r\nafter running\r\npip install pandas \r\npandas not found\r\n\r\n### Fix for previous 2 bugs\r\ncreate new jupyter notebook using \r\nCtrl Shift P\r\nCreate New Jupyter Notebook\r\n\r\n# Files\r\n## summary\r\n- summary-income.md\r\n    - high level summary of steps in income.ipynb notebook\r\n# References\r\n## previous repositories\r\njupyter-test\r\njupyter-repo-2\r\njupyter-3\r\n- [CoderSales/jupyter-5](https://github.com/CoderSales/jupyter-5)\r\n- [CoderSales/jupyter-6-Supervised-Learning](https://github.com/CoderSales/jupyter-6-Supervised-Learning)\r\n- [CoderSales/machine-learning-project](https://github.com/CoderSales/machine-learning-project)\r\n\r\n\r\n# References Part2 / (MyGreatLearning, Colab, modules)\r\n#### MyGreatLearning\r\n##### pre scikit-learn\r\n- [LMS - Hands_on_Notebook_Week3.ipynb](https://www.mygreatlearning.com/)\r\n- [LMS - ENews_Express_Learner_Notebook%5BLow_Code_Version%5D.ipynb](https://www.mygreatlearning.com/)\r\n- [LMS - abtest.csv](https://www.mygreatlearning.com/)\r\n- [2.13 Pandas - Accessing and Modifying DataFrames (condition-based indexing)](https://www.mygreatlearning.com/)\r\n#### scikit-learn\r\n- [Supervised Learning - Foundations / Week 1 - Lecture Video Materials](https://www.mygreatlearning.com/)\r\n    - [auto-mpg.csv used in 1.9 Linear Regression Hands-on](https://www.mygreatlearning.com/)\r\n\r\n#### Colab\r\n- Google Colab [mount drive](https://colab.research.google.com/notebooks/io.ipynb#scrollTo=RWSJpsyKqHjH)\r\n\r\n#### modules\r\n##### matplotlib\r\n###### matplotlib figure dimentions\r\n- [Set plot dimensions matplotlib](https://stackoverflow.com/questions/332289/how-do-i-change-the-size-of-figures-drawn-with-matplotlib)\r\n\r\n##### scipy\r\n- [scipy - check version](https://blog.finxter.com/how-to-check-scipy-package-version-in-python/)\r\n\r\n\r\n# References Part3 / (StackOverflow, Git, Tutorials and Repositories)\r\n## StackOverflow\r\nhttps://stackoverflow.com/questions/46419607/how-to-automatically-install-required-packages-from-a-python-script-as-necessary\r\n\r\n## Git\r\n### git\r\n#### gitignore\r\n- [How to stop tracking and ignore changes to a file in Git?](https://stackoverflow.com/questions/936249/how-to-stop-tracking-and-ignore-changes-to-a-file-in-git)\r\n### Gitpod\r\n- [Gitpod docs prebuilds](https://www.gitpod.io/docs/configure/projects/prebuilds)\r\n- [Gitpod docs workspaces](https://www.gitpod.io/docs/configure/workspaces/tasks)\r\n- [Gitpod Prebuild](https://youtu.be/ZtlJ0PakUHQ?t=54)\r\n### Git in VSCode\r\n- search string: [pause git tracking](https://www.google.com/search?q=pause+git+tracking\u0026oq=pause+git+tracking\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTILCAEQABgWGB4Y8QQyCwgCEAAYFhgeGPEEMgsIAxAAGBYYHhjxBDILCAQQABgWGB4Y8QQyCwgFEAAYFhgeGPEEMggIBhAAGBYYHjIICAcQABgWGB4yCwgIEAAYFhgeGPEEMgsICRAAGBYYHhjxBNIBCDM2NjNqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [Git source control in VS Code](https://code.visualstudio.com/docs/sourcecontrol/overview)\r\n\r\n## Tutorials and Repositories\r\n\r\n# References Part4 / (environments, Packages, Statistics, python, ML, Stats for ML)\r\n## environments\r\n### local\r\n- [Getting Full Directory Path in Python](https://www.youtube.com/watch?v=DQRSvg54bhM\u0026ab_channel=Analyst%27sCorner)\r\n\r\nWindows\r\nAnaconda\r\nconda create --name .cenv\r\ny\r\nconda activate .cenv\r\n\r\npython3\r\n\r\nnot installed so Windows store opens\r\ninstall Python 3.10\r\n\r\n#### conda\r\n##### virtual environment\r\n- [conda.io](https://conda.io/projects/conda/en/latest/user-guide/getting-started.html)\r\n\r\n#### python environment\r\n`python3 -m venv .venv`\r\ncommand was slow at first  but self-resolved\r\n- search string: stuck on $ python3 -m venv .venv [setting up environment in virtaulenv using python3 stuck on ...](https://discuss.dizzycoding.com/setting-up-environment-in-virtaulenv-using-python3-stuck-on-setuptools-pip-wheel/)\r\n- search string: installing collected packages stuck [why is the pip install process stuck on ''Installing collected packages\" step?](https://stackoverflow.com/questions/54699197/why-is-the-pip-install-process-stuck-on-installing-collected-packages-step)\r\n\r\n## Packages\r\n### NumPy\r\n- search string: [np.clip](https://www.google.com/search?q=np.clip\u0026oq=np.clip\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiABDIHCAIQABiABDIHCAMQABiABDIHCAQQABiABDIHCAUQABiABDIHCAYQABiABNIBBzk0N2owajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [numpy.clip | numpy.org | Documentation](https://numpy.org/doc/stable/reference/generated/numpy.clip.html)\r\n- search string: [np broadcast against dataframe python](https://www.google.com/search?q=np+broadcast+against+dataframe+python\u0026newwindow=1\u0026sxsrf=AJOqlzVs5XFBfTGYuALitoPd-H-QfsrAUA%3A1676106129272\u0026ei=kVnnY-miEJCP8gKjgaIo\u0026oq=np+broadcast+against+datafra\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAxgBMgcIIRCgARAKMgcIIRCgARAKMgcIIRCgARAKOgoIABBHENYEELADOgUIABCiBDoFCCEQoAFKBAhBGABKBAhGGABQ2xRYkkBg9FBoAnABeACAAXuIAcwGkgEDNy4ymAEAoAEByAEIwAEB\u0026sclient=gws-wiz-serp)\r\n- [Q/ What does the term \"broadcasting\" mean in Pandas documentation? | A/ the term broadcasting comes from numpy | stackoverflow](https://stackoverflow.com/questions/29954263/what-does-the-term-broadcasting-mean-in-pandas-documentation)\r\n- [broadcasting examples in pandas documentaton | linked to by previous reference on broadcasting | pandas.org | Documentation](https://pandas.pydata.org/pandas-docs/stable/user_guide/basics.html)\r\n- [Broadcasting | definition: | The term broadcasting describes how NumPy treats arrays with different shapes during arithmetic operations. | NumPy | numpy.org | Documentation](https://numpy.org/doc/stable/user/basics.broadcasting.html)\r\n- [Universal functions (ufunc) | NumPy | numpy.org | Documentation](https://numpy.org/doc/stable/reference/ufuncs.html#ufuncs-kwargs)\r\n### Pandas\r\n- [EDA: from is_categorical def | Check if dataframe column is Categorical | print(is_categorical(data[col])) | stackoverflow](https://stackoverflow.com/questions/26924904/check-if-dataframe-column-is-categorical)\r\n- [pandas.get_dummies | Pandas | pandas.pydata.org | Documentation](https://pandas.pydata.org/docs/reference/api/pandas.get_dummies.html)\r\n- search string: [pd.get_dummies](https://www.google.com/search?q=pd.get_dummies\u0026oq=pd.get_dummies\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQIxgnMgcIAhAAGIAEMgcIAxAAGIAEMgcIBBAAGIAEMgcIBRAAGIAEMgcIBhAAGIAEMgcIBxAAGIAEMgcICBAAGIAEMgcICRAAGIAE0gEHNDUzajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n### matplotlib\r\n- search string: [plotting fig from subplot returns Figure(1500x1000)](https://www.google.com/search?q=plotting+fig+from+subplot+returns+Figure(1500x1000)\u0026oq=plotting+fig+from+subplot+returns+Figure(1500x1000)\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiiBDIHCAIQABiiBDIHCAMQABiiBDIHCAQQABiiBDIHCAUQABiiBNIBCTEyMzgzajFqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [fig, ax = plt.subplots()](https://stackoverflow.com/questions/34162443/why-do-many-examples-use-fig-ax-plt-subplots-in-matplotlib-pyplot-python)\r\n- matplotlib docs [fig, ax = plt.subplots()](https://matplotlib.org/stable/plot_types/basic/plot.html)\r\n- search string: [subplot](https://www.google.com/search?q=subplot\u0026oq=subplot\u0026gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgYIARAjGCcyCggCEAAYsQMYgAQyDQgDEAAYgwEYsQMYgAQyBggEEEUYPDIGCAUQRRg8MgYIBhBFGDwyBggHEEUYQdIBBzg2NWowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [matplotlib.pyplot.subplot](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.subplot.html)\r\n#### subplots\r\n##### colors\r\n- search string: [fig.patch.set_facecolor('xkcd:blue')](https://www.google.com/search?q=fig.patch.set_facecolor(%27xkcd%3Ablue%27)\u0026oq=fig.patch.set_facecolor(%27xkcd%3Ablue%27)\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBBzU3NGowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [xkcd.com/color/rgb/](https://xkcd.com/color/rgb/)\r\n- search string: [fig, axs = plt.subplots(2, 2)](https://www.google.com/search?q=fig%2C+axs+%3D+plt.subplots(2%2C+2)\u0026oq=fig%2C+axs+%3D+plt.subplots(2%2C+2)\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiABDIICAIQABgWGB4yBwgDEAAYhgPSAQc4MjRqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [Creating multiple subplots using plt.subplots \u003e\u003e Stacking subplots in two directions](https://matplotlib.org/stable/gallery/subplots_axes_and_figures/subplots_demo.html)\r\n#### other matplotlib\r\n##### boxplot\r\n- [matplotlib.pyplot.boxplot](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.boxplot.html)\r\n- [matplotlib.pyplot.boxplot [deprecated]](https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.boxplot.html)\r\n- search string [boxplot pyplot](https://www.google.com/search?q=boxplot+pyplot\u0026oq=boxplot+pyplot\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTILCAEQABgWGB4Y8QQyCAgCEAAYFhgeMggIAxAAGBYYHjIICAQQABgWGB4yCwgFEAAYFhgeGPEEMgsIBhAAGBYYHhjxBDILCAcQABgWGB4Y8QQyCwgIEAAYFhgeGPEEMgsICRAAGBYYHhjxBNIBCDY2NDZqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n##### histplot\r\n- [matplotlib.pyplot.hist](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.hist.html)\r\n- search string [matplotlib.pyplot histogram](https://www.google.com/search?q=matplotlib.pyplot+histogram\u0026newwindow=1\u0026sxsrf=AJOqlzVGsD20ZAypbaqD47k1A9gAJNR0ug%3A1675939330927\u0026ei=As7kY52cOOW58gKh-Z7oBw\u0026oq=matplotlib.pyplot+\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQARgAMgoIABCABBAUEIcCMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEOg4IABCABBCxAxCDARCwAzoNCAAQgAQQFBCHAhCwAzoICAAQgAQQsAM6CQgAEAcQHhCwA0oECEEYAUoECEYYAFCYB1iYB2DWEWgBcAB4AIABTYgBTZIBATGYAQCgAQHIAQrAAQE\u0026sclient=gws-wiz-serp)\r\n- [Histogram with Boxplot above in Python](https://stackoverflow.com/questions/33381330/histogram-with-boxplot-above-in-python)\r\n- search string [histogram_boxplot matplotlib](https://www.google.com/search?q=histogram_boxplot+matplotlib\u0026newwindow=1\u0026sxsrf=AJOqlzWw29as3Nymo_ZtGfRt-TMyNd9yAA%3A1675938211495\u0026ei=o8nkY5vzHZPD8gK2yb2AAw\u0026ved=0ahUKEwjb0IuunIj9AhWToVwKHbZkDzAQ4dUDCA8\u0026uact=5\u0026oq=histogram_boxplot+matplotlib\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIJCAAQFhAeEPEEMgUIABCGAzIFCAAQhgM6CggAEEcQ1gQQsAM6BwgAEA0QgAQ6BwgAEB4Q8QQ6BggAEB4QDzoJCAAQCBAeEPEEOgYIABAIEB46CAgAEBYQHhAPOgYIABAWEB46CwgAEAgQHhANEPEESgQIQRgASgQIRhgAULYRWKdCYMNEaAJwAXgAgAGgAYgB_AiSAQM5LjOYAQCgAQHIAQjAAQE\u0026sclient=gws-wiz-serp)\r\n### error\r\n- search string [Non-default argument follows default argumentPylance](https://www.google.com/search?q=Non-default+argument+follows+default+argumentPylance\u0026oq=Non-default+argument+follows+default+argumentPylance\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIJCAEQABgKGIAEMgoIAhAAGAoYFhgeMgcIAxAAGIYDMgcIBBAAGIYDMgcIBRAAGIYDMgcIBhAAGIYD0gEHNjcyajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [SyntaxError: non-default argument follows default argument](https://stackoverflow.com/questions/24719368/syntaxerror-non-default-argument-follows-default-argument)\r\n### scipy\r\n### scipy.stats\r\n### statsmodels\r\n- [statsmodels.stats.proportion.proportions_ztest](https://www.statsmodels.org/dev/generated/statsmodels.stats.proportion.proportions_ztest.html)\r\n- search string: [what are model predictors statsmodels](https://www.google.com/search?q=add+color+using+nb+black\u0026oq=add+color+using+nb+black\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiiBDIHCAIQABiiBDIHCAMQABiiBNIBCDU5NjhqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [Prediction (out of sample) | statsmodels.org | statsmodels | Documentation](https://www.statsmodels.org/dev/examples/notebooks/generated/predict.html)\r\n### scikit-learn\r\n#### Documentation\r\n- [search string: sklearn](https://www.google.com/search?q=sklearn\u0026oq=sklearn\u0026gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgYIARAjGCcyBggCEAAYQzIGCAMQABhDMgYIBBAAGEMyBggFEAAYQzIGCAYQRRg8MgYIBxBFGDzSAQc3MzVqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [scikit-learn | Machine Learning in Python](https://scikit-learn.org/stable/)\r\n- [Getting Started -- skikit-learn](https://scikit-learn.org/stable/getting_started.html)\r\n- [Citing scikit-learn](https://scikit-learn.org/stable/about.html#citing-scikit-learn)\r\n- [User Guide](https://scikit-learn.org/stable/user_guide.html#user-guide)\r\n- [Installing scikit-learn](https://scikit-learn.org/stable/install.html)\r\n- Scikit-learn: Machine Learning in Python [Scikit-learn: Machine Learning in Python, Pedregosa et al., JMLR 12, pp. 2825-2830, 2011.](https://jmlr.csail.mit.edu/papers/v12/pedregosa11a.html)\r\n- redirects to https://scikit-learn.org/stable/ (link 2 in this section, above) [Source code, binaries, and documentation](http://scikit-learn.sourceforge.net)\r\n### ipykernel\r\n- [search string: ipykernel](https://www.google.com/search?q=ipykernel\u0026oq=ipykernel\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiABDIHCAIQABiABDIHCAMQABiABDIHCAQQABiABDIHCAUQABiABDIHCAYQABiABDIHCAcQABiABDIMCAgQABgUGIcCGIAEMgcICRAAGIAE0gEHNDUzajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- pip install ipykernel [ipykernel 6.19.2](https://pypi.org/project/ipykernel/)\r\n## colors for jupyter notebook charts\r\n- search string: [pandas plot frame color -matplotlib](https://www.google.com/search?q=pandas+plot+frame+color+-matplotlib\u0026newwindow=1\u0026sxsrf=AJOqlzWPmi_tMpOW7pQfQRSNTlnG2AeQsQ%3A1676033565587\u0026ei=HT7mY6-_I8vzgAa4iKuYDg\u0026ved=0ahUKEwjvwbvK_4r9AhXLOcAKHTjECuMQ4dUDCA8\u0026uact=5\u0026oq=pandas+plot+frame+color+-matplotlib\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzoKCAAQRxDWBBCwAzoJCAAQFhAeEPEEOgUIABCGA0oECEEYAEoECEYYAFDIBlj9GWCPG2gBcAF4AIABX4gBvQaSAQIxMpgBAKABAcgBCMABAQ\u0026sclient=gws-wiz-serp)\r\n- [Pandas - Plotting](https://www.w3schools.com/python/pandas/pandas_plotting.asp)\r\n- [pandas.DataFrame.plot](https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.plot.html)\r\n- search string: [pandas plot](https://www.google.com/search?q=pandas+plot\u0026oq=pandas+plot\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIMCAEQABgUGIcCGIAEMgcIAhAAGIAEMgcIAxAAGIAEMgcIBBAAGIAEMgcIBRAAGIAEMgcIBhAAGIAEMgYIBxBFGEHSAQgyNzU5ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [pandas.crosstab](https://pandas.pydata.org/docs/reference/api/pandas.crosstab.html)\r\n- search string [pd crosstab](https://www.google.com/search?q=pd+crosstab\u0026oq=pd+crosstab\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQIxgnMgYIAhAjGCcyCQgDEAAYChiABDIOCAQQABgKGBQYhwIYgAQyCQgFEAAYChiABDIGCAYQRRg8MgYIBxBFGEHSAQg2ODU2ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- ANSWER to color: [seaborn.set_style()](https://stackoverflow.com/questions/30729473/seaborn-legend-with-background-color)\r\n- search string: [sns seaborn color frame facecolor](https://www.google.com/search?q=sns+seaborn+color+frame+facecolor\u0026newwindow=1\u0026sxsrf=AJOqlzVAs2RY94np7bRieSF4g4kEWQelZw%3A1676027522466\u0026ei=gibmY-iQHISg8gKG-om4Bg\u0026ved=0ahUKEwjo2fCI6Yr9AhUEkFwKHQZ9AmcQ4dUDCA8\u0026uact=5\u0026oq=sns+seaborn+color+frame+facecolor\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIKCAAQ8QQQHhCiBDIFCAAQogQyBQgAEKIEMgUIABCiBDoKCAAQRxDWBBCwAzoFCCEQoAE6BwghEKABEApKBAhBGABKBAhGGABQ6QFY5xZguRpoAXABeACAAYMBiAHfB5IBAzYuNJgBAKABAcgBCMABAQ\u0026sclient=gws-wiz-serp)\r\n- [seaborn.set_theme](https://seaborn.pydata.org/generated/seaborn.set_theme.html)\r\n- search string: [sns.set_theme(style=\"whitegrid\")](https://www.google.com/search?q=sns.set_theme(style%3D%22whitegrid%22)\u0026oq=sns.set_theme(style%3D%22whitegrid%22)\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiABNIBBzU1OWowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [seaborn.countplot | sns.set_theme(style=\"whitegrid\")](https://seaborn.pydata.org/generated/seaborn.countplot.html)\r\n- search string: [countplot sns perc](https://www.google.com/search?q=countplot+sns+perc\u0026oq=countplot+sns+perc\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTILCAEQABgWGB4Y8QQyCggCEAAYChgWGB4yCwgDEAAYFhgeGPEEMgcIBBAAGIYDMgcIBRAAGIYDMgcIBhAAGIYDMgcIBxAAGIYD0gEIODM0N2owajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [Actually, really change all of the background color | fig, ax = plt.subplots(facecolor='lightslategray'); | df.plot(ax=ax, color='white')](https://jonathansoma.com/lede/data-studio/matplotlib/changing-the-background-of-a-pandas-matplotlib-graph/)\r\n\r\n- [Change the facecolor of boxplot in pandas | stackoverflow](https://stackoverflow.com/questions/39297093/change-the-facecolor-of-boxplot-in-pandas)\r\n- search string: [pandas facecolor](https://www.google.com/search?q=pandas+facecolor\u0026oq=pandas+facecolor\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTILCAEQABgWGB4Y8QQyCwgCEAAYFhgeGPEEMggIAxAAGBYYHjIHCAQQABiGAzIHCAUQABiGAzIHCAYQABiGA9IBCDUzOTVqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [jsfiddle | iterate through object properties](https://jsfiddle.net/tbynA/1/)\r\n- [Recursively looping through an object to build a property list | stackoverflow](https://stackoverflow.com/questions/15690706/recursively-looping-through-an-object-to-build-a-property-list)\r\n- search string: [how to recursively return all levels of an object](https://www.google.com/search?q=how+to+recursively+return+all+levels+of+an+object\u0026oq=how+to+recursively+return+all+levels+of+an+object\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRhA0gEIODMwM2owajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- search string: [is matplotlib. pyplot an object?](https://www.google.com/search?q=is+matplotlib.+pyplotan+object%3F\u0026oq=is+matplotlib.+pyplotan+object%3F\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRhA0gEIMzgxNmowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- search string: [matplotlib pyplot plt](https://www.google.com/search?q=matplotlib+pyplot+plt\u0026oq=matplotlib+pyplot+plt\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIICAEQABgWGB4yCAgCEAAYFhgeMggIAxAAGBYYHjIICAQQABgWGB4yCAgFEAAYFhgeMggIBhAAGBYYHjIGCAcQRRg80gEINjg5MGowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [pandas.crosstab | pandas | Documentation](https://pandas.pydata.org/docs/reference/api/pandas.crosstab.html)\r\n- search string: [pd.crosstab color](https://www.google.com/search?q=pd.crosstab+color\u0026newwindow=1\u0026bih=575\u0026biw=1097\u0026hl=en\u0026sxsrf=AJOqlzUEG9wlmJQdqdCH5QwYBcOICwkOEw%3A1676030036392\u0026ei=VDDmY-XQF8mpgQbX3q2QAQ\u0026ved=0ahUKEwjlys638or9AhXJVMAKHVdvCxIQ4dUDCA8\u0026uact=5\u0026oq=pd.crosstab+color\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIFCAAQgAQyBQgAEIYDMgUIABCGAzIFCAAQhgMyBQgAEIYDOgcIIxCwAxAnOgoIABBHENYEELADOgcIIxCwAhAnOgcIABANEIAEOgYIABAHEB46CQgAEAcQHhDxBDoHCCMQsQIQJzoECCMQJzoFCAAQkQI6BggAEBYQHjoJCAAQFhAeEPEESgQIQRgASgQIRhgAUNIdWPlcYPNeaARwAXgAgAGaAYgBowiSAQQxMS4xmAEAoAEByAEKwAEB\u0026sclient=gws-wiz-serp)\r\n- saved search string: (autocomplete) [pd.crosstab df normalize='index').plot(kind=\"bar\", figsize=(6,8),stacked=True)](\u003ca href=\"https://www.google.com/search?q=pd.crosstab+df+normalize%3D%27index%27).plot(kind%3D%22bar%22%2C+figsize%3D(6%2C8)%2Cstacked%3DTrue)\u0026oq=pd.crosstab+df+normalize%3D%27index%27).plot(kind%3D%22bar%22%2C+figsize%3D(6%2C8)%2Cstacked%3DTrue)\u0026gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg70gEIMTYxOGowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8\"\u003elink\u003c/a\u003e)\r\n-[Creating Links in Markdown](https://anvilproject.org/guides/content/creating-links)\r\n\r\n- [[deprecated] | matplotlib.pyplot.figure | matplotlib | Documentation](https://matplotlib.org/2.1.1/api/_as_gen/matplotlib.pyplot.figure.html)\r\n- [Elegantly changing the color of a plot frame in matplotlib | fig, axes = plt.subplots(nrows=2); | axes[0].plot(range(10), 'r-'); | axes[1].plot(range(10), 'bo-'); | stackoverflow](https://stackoverflow.com/questions/7778954/elegantly-changing-the-color-of-a-plot-frame-in-matplotlib)\r\n- search string: [ply.figure frame color](https://www.google.com/search?q=ply.figure+frame+color\u0026oq=ply.figure+frame+color\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIJCAEQIRgKGKABMgkIAhAhGAoYoAEyCQgDECEYChigAdIBCDg1NDFqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [How to change plot background color?](https://stackoverflow.com/questions/14088687/how-to-change-plot-background-color)\r\n\r\n- [How do I plot two countplot graphs side by side in seaborn? | fig, ax =plt.subplots(1,2); | sns.countplot(df['batting'], ax=ax[0]); | sns.countplot(df['bowling'], ax=ax[1]); | fig.show() | stackoverflow](https://stackoverflow.com/questions/43131274/how-do-i-plot-two-countplot-graphs-side-by-side-in-seaborn)\r\n- [countplot sns subplot](https://www.google.com/search?q=countplot+sns+subplot\u0026oq=countplot+sns+subplot\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTILCAEQABgWGB4Y8QQyBwgCEAAYhgMyBwgDEAAYhgMyBwgEEAAYhgMyBwgFEAAYhgPSAQg1MTc5ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [How to prevent overlapping x-axis labels in sns.countplot | code: | plt.figure(figsize=(15,10)) #adjust the size of plot; | ax=sns.countplot(x=df['Location'],data=df,hue='label',palette='mako'); | stackoverflow](https://stackoverflow.com/questions/42528921/how-to-prevent-overlapping-x-axis-labels-in-sns-countplot)\r\n- search string: [countplot | recursively unpacck ax in sns countplot](https://www.google.com/search?q=recursively+unpacck+ax+in+sns+countplot\u0026oq=recursively+unpacck+ax+in+sns+countplot\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTE2MDAzajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [Countplot using seaborn in Python | geeksforgeeks](https://www.geeksforgeeks.org/countplot-using-seaborn-in-python/)\r\n- search string: [countplot sns ax frame](https://www.google.com/search?q=countplot+sns+ax+frame\u0026oq=countplot+sns++ax+frame\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigAdIBCDcwNzBqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [seaborn.countplot | content: | kwargs : key, value mappings | Other keyword arguments are passed through to matplotlib.axes.Axes.bar(). | Returns: | axmatplotlib Axes | Returns the Axes object with the plot drawn onto it. | seaborn | Documentation](https://seaborn.pydata.org/generated/seaborn.countplot.html)\r\n- search string: [countplot sns](https://www.google.com/search?q=countplot+sns\u0026oq=\u0026gs_lcrp=EgZjaHJvbWUqBggAEEUYOzIGCAAQRRg7MgYIARBFGDsyBwgCEAAYgAQyBwgDEAAYgAQyBwgEEAAYgAQyBwgFEAAYgAQyBwgGEAAYgAQyBggHEEUYPNIBCDI0NDhqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n\r\n## .venv error [Resolved]\r\n- find in page: | your path [PermissionError: [Errno 13] Permission denied | terminal error trying to install preinstalled .venv | stackoverflow](https://stackoverflow.com/questions/36434764/permissionerror-errno-13-permission-denied)\r\n- search string: [Error: [Errno 13] Permission denied: 'C:\\\\Users\\\\OneDrive\\\\Documents\\\\.venv\\\\Scripts\\\\python.exe'](https://www.google.com/search?q=Error%3A+%5BErrno+13%5D+Permission+denied%3A+%27C%3A%5C%5CUsers%5C%5COneDrive%5C%5CDocuments%5C%5C.venv%5C%5CScripts%5C%5Cpython.exe%27\u0026oq=Error%3A+%5BErrno+13%5D+Permission+denied%3A+%27C%3A%5C%5CUsers%5C%5COneDrive%5C%5CDocuments%5C%5C.venv%5C%5CScripts%5C%5Cpython.exe%27\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRg60gEHNzMwajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n\r\n## 0 Axes error [Resolved]\r\n- to remove with 0 Axes: comment line: | plt.figure(facecolor='blue').set_facecolor('xkcd:cerulean blue')\r\n[I used matplotlib, but the error message '\u003cFigure size 720x576 with 0 Axes\u003e' appeared with graph](https://stackoverflow.com/questions/52834616/i-used-matplotlib-but-the-error-message-figure-size-720x576-with-0-axes-app) \r\n\r\n## save Pandas dataframe/series data to figure then to file\r\n- [fig.savefig('asdf.png')](https://stackoverflow.com/questions/19726663/how-to-save-the-pandas-dataframe-series-data-as-a-figure)\r\n- [How to save the Pandas dataframe from pd.crosstab as a figure (with render_mpl_table)? | stackoverflow](https://stackoverflow.com/questions/72039213/how-to-save-the-pandas-dataframe-from-pd-crosstab-as-a-figure-with-render-mpl-t)\r\n- search string: [pd.crosstab \"set_facecolor\"](https://www.google.com/search?newwindow=1\u0026sxsrf=AJOqlzW3SDsHl3u-1f9e3ewMZHbuZa-q5Q:1676028618400\u0026q=pd.crosstab+%22set_facecolor%22\u0026sa=X\u0026ved=2ahUKEwjkmbuT7Yr9AhXZHcAKHdikA_gQ5t4CegQIHBAB\u0026biw=1097\u0026bih=575\u0026dpr=1.75)\r\n- [ResidentMario / missingno | Issue | Matplotlib error: 'AxesSubplot' object has no attribute 'set_facecolor' #25 | GitHub](https://github.com/ResidentMario/missingno/issues/25)\r\n- search string: [AttributeError: 'DataFrame' object has no attribute 'set_facecolor'](https://www.google.com/search?q=AttributeError%3A+%27DataFrame%27+object+has+no+attribute+%27set_facecolor%27\u0026oq=AttributeError%3A+%27DataFrame%27+object+has+no+attribute+%27set_facecolor%27\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRg60gEHNzU5ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [scikit-learn/scikit-learn | Issue| 'AxesSubplot' object has no attribute 'set_axis_bgcolor' #10762 | GitHub](https://github.com/scikit-learn/scikit-learn/issues/10762)\r\n- search string: [AttributeError: 'DataFrame' object has no attribute 'set_axis_bgcolor'](https://www.google.com/search?q=AttributeError%3A+%27DataFrame%27+object+has+no+attribute+%27set_axis_bgcolor%27\u0026oq=AttributeError%3A+%27DataFrame%27+object+has+no+attribute+%27set_axis_bgcolor%27\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRg60gEHNzY3ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n## Statistics\r\n\r\n## pandas print statement\r\n- [turn off automatic pandas data type output on print statment](https://stackoverflow.com/questions/29645153/remove-name-dtype-from-pandas-output-of-dataframe-or-series)\r\n\r\n## python\r\n### main.py (files 1 to 4) and script.sh in CoderSales/machine-learning-classification (repository reference below)\r\n- repository reference [CoderSales/machine-learning-classification](https://github.com/CoderSales/machine-learning-classification)\r\n- [slice strings in python](https://www.w3schools.com/python/gloss_python_string_slice.asp)\r\n- [Check if Python Package is installed](https://stackoverflow.com/questions/1051254/check-if-python-package-is-installed)\r\n- [pip install notebook](https://jupyter.org/install)\r\n- [How to Execute Shell Commands with Python](https://janakiev.com/blog/python-shell-commands/)\r\n- [How to print a string literally in Python](https://stackoverflow.com/questions/6903551/how-to-print-a-string-literally-in-python)\r\n- [4 ways to add variables or values into Python strings](https://medium.com/analytics-vidhya/4-ways-to-add-variables-or-values-into-python-strings-860082cf8461)\r\n- search string: [percentage symbol pip bash](https://www.google.com/search?q=percentage+symbol+pip+bash\u0026newwindow=1\u0026sxsrf=AJOqlzWVNEAC2sWl-_Fd1EM9HLo8UPFV4Q%3A1676309809136\u0026ei=MXXqY4WBCJqTgQb0oIrgDQ\u0026ved=0ahUKEwjF3dPVhJP9AhWaScAKHXSQAtwQ4dUDCA8\u0026uact=5\u0026oq=percentage+symbol+pip+bash\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIFCCEQoAEyBQghEKABOgcIIxCwAxAnOgoIABBHENYEELADOgQIIxAnSgQIQRgASgQIRhgAULsHWNgPYLIRaAFwAXgAgAGWAYgB_QOSAQM0LjGYAQCgAQHIAQnAAQE\u0026sclient=gws-wiz-serp)\r\n- search string: [python access \"Option -c 4\"](https://www.google.com/search?q=python+access+%22Option+-c+4%22\u0026newwindow=1\u0026sxsrf=AJOqlzWfGXa5nLwxEAeDtoihI2XQhYCEow%3A1676309333868\u0026ei=VXPqY_K9NNWM8gK7rocI\u0026ved=0ahUKEwiyvIPzgpP9AhVVhlwKHTvXAQEQ4dUDCA8\u0026uact=5\u0026oq=python+access+%22Option+-c+4%22\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzoKCAAQRxDWBBCwA0oECEEYAEoECEYYAFDGCFjGCGC2C2gBcAF4AIABOogBOpIBATGYAQCgAQHIAQjAAQE\u0026sclient=gws-wiz-serp)\r\n- [How to Execute Shell Commands with Python](https://janakiev.com/blog/python-shell-commands/)\r\n- import subprocess | subprocess.run('/path/to/script.sh', check=True) [os.system() | run all shell commands with a single call](https://stackoverflow.com/questions/53151899/python-how-to-script-virtual-environment-building-and-activation)\r\n### storing variables\r\n#### naming arbitrary number of variables\r\n- [used for first attempt at naming arbitrary number of variables](https://stackoverflow.com/questions/48372808/create-an-unknown-number-of-programmatically-defined-variables)\r\n- [second attempt at naming arbitrary number of variables](https://pythonprinciples.com/ask/how-do-you-create-a-variable-number-of-variables/)\r\n\r\n#### append\r\n- [.append()](https://realpython.com/python-append/#:~:text=Python%20provides%20a%20method%20called,list%20using%20a%20for%20loop.)\r\n\r\n### pass multiple variables into string\r\n- [pass multiple variables into string](https://stackoverflow.com/questions/10112614/how-do-i-create-a-multiline-python-string-with-inline-variables)\r\n\r\n### multiline string python\r\n- [Python Multiline Strings](https://www.w3schools.com/python/gloss_python_multi_line_strings.asp)\r\n\r\n### How do you add value to a key in Python?\r\n- 'a':'0' [How do you add value to a key in Python?](https://www.mygreatlearning.com/blog/python-dictionary-append/#:~:text=How%20do%20you%20add%20value,new%20values%20to%20the%20keys.)\r\n\r\n### pass variable into string variable \r\n- [pass variable into string variable](https://matthew-brett.github.io/teaching/string_formatting.html)\r\n\r\n### turn off pandas index output\r\n- [Remove name, dtype from pandas output of dataframe or series](https://stackoverflow.com/questions/29645153/remove-name-dtype-from-pandas-output-of-dataframe-or-series)\r\n- [2ndary source for turning off index on pandas dataframe print out](https://stackoverflow.com/questions/24644656/how-to-print-pandas-dataframe-without-index)\r\n\r\n### concatenate\r\n- [concatenate with +](https://www.digitalocean.com/community/tutorials/python-string-concatenation)\r\n\r\n### String into variable\r\n- [String Into Variable Name in Python Using the vars() Function](https://www.pythonforbeginners.com/basics/convert-string-to-variable-name-in-python#:~:text=is%20pythonforbeginners.com-,String%20Into%20Variable%20Name%20in%20Python%20Using%20the%20vars(),like%20the%20globals()%20function.)\r\n- [Convert string to variable name in python [duplicate]](https://stackoverflow.com/questions/19122345/convert-string-to-variable-name-in-python)\r\n\r\n- option used [Python Template String Formatting Method](https://towardsdatascience.com/python-template-string-formatting-method-df282510a87a)\r\n\r\n### .update() a dictionary\r\n- [Python dictionary append: How to add Key-value Pair?](https://www.mygreatlearning.com/blog/python-dictionary-append/)\r\n- [Python Dictionary update() Method](https://www.w3schools.com/python/ref_dictionary_update.asp)\r\n- [EDA: def is_categorical | Update dictionary items with a for loop | stackoverflow](https://stackoverflow.com/questions/31069955/update-dictionary-items-with-a-for-loop)\r\n\r\n### print separate with no spaces\r\n- [Print without space in python 3](https://stackoverflow.com/questions/12700558/print-without-space-in-python-3)\r\n\r\n### function\r\n- [anatomy of a function in python](https://www.google.com/search?q=anatomy+of+a+function+in+python\u0026oq=anatomy+of+a+function+in++python\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiiBDIHCAIQABiiBDIHCAMQABiiBDIJCAQQABgeGKIE0gEJMTQ1MjJqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [Functions](https://geo-python.github.io/2017/lessons/L4/functions.html#:~:text=Anatomy%20of%20a%20function\u0026text=The%20function%20definition%20opens%20with,indented%20below%20the%20definition%20line.)\r\n## ML\r\n### Linear Regression\r\n\r\n### Logistic Regression\r\n\r\n## Statistics for ML (Logistic Regression)\r\n- detailed confusion matrix [Precision and recall](https://en.wikipedia.org/wiki/Precision_and_recall#:~:text=Recall%20in%20this%20context%20is%20also%20referred%20to%20as%20the,rate%20is%20also%20called%20specificity.)\r\n - used for calculation of F1 score [Harmonic mean](https://en.wikipedia.org/wiki/Harmonic_mean#Harmonic_mean_of_two_numbers)\r\n - image [Geometric proof without words that max (a,b) \u003e root mean square (RMS) or quadratic mean (QM) \u003e arithmetic mean (AM) \u003e geometric mean (GM) \u003e harmonic mean (HM) \u003e min (a,b) of two distinct positive numbers a and b](https://en.wikipedia.org/wiki/Harmonic_mean#/media/File:QM_AM_GM_HM_inequality_visual_proof.svg)\r\n - image [QM_AM_GM_HM_inequality_visual_proof.svg/2560px-QM_AM_GM_HM_inequality_visual_proof.svg.png](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a1/QM_AM_GM_HM_inequality_visual_proof.svg/2560px-QM_AM_GM_HM_inequality_visual_proof.svg.png)\r\n ### F-beta score: sklearn documentation\r\n - Search string: [F-beta score](https://www.google.com/search?q=F-beta+score\u0026oq=F-beta+score\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRg7MggIAhAAGBYYHjIICAMQABgWGB4yCAgEEAAYFhgeMggIBRAAGBYYHjIICAYQABgWGB4yBggHEEUYPNIBCDE4ODFqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n - Search string: [F-beta score is the weighted harmonic mean of precision and recall](https://www.google.com/search?q=F-beta+score+is+the+weighted+harmonic+mean+of+precision+and+recall,\u0026source=lmns\u0026bih=808\u0026biw=1552\u0026hl=en\u0026sa=X\u0026ved=2ahUKEwiOlv2ZqYT9AhU4nCcCHcS_COMQ_AUoAHoECAEQAA)\r\n - Search string: [f2 ml sklearn](https://www.google.com/search?q=f2+ml+sklearn\u0026newwindow=1\u0026sxsrf=AJOqlzX0pT5Uc4oPuqHgd-hjnAFUNKH-WQ%3A1675622250460\u0026ei=avffY7fnG9WEhbIPrdqIyAw\u0026ved=0ahUKEwi3xJCog__8AhVVQkEAHS0tAskQ4dUDCBA\u0026uact=5\u0026oq=f2+ml+sklearn\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzIFCAAQogQyBQgAEKIEMgUIABCiBDoLCAAQsQMQsAMQkQI6BwgAELADEEM6DQgAELEDEIMBELADEEM6CAgAELADEJECOg0IABDkAhDWBBCwAxgBOg8ILhDUAhDIAxCwAxBDGAI6DAguEMgDELADEEMYAjoECAAQQzoHCAAQsQMQQzoFCAAQgAQ6CwguEIAEEMcBEK8BOgYIABAWEB46BQgAEIYDOgUIIRCgAToHCAAQDRCABDoGCAAQHhANOgQIIRAVOgcIIRCgARAKSgQIQRgBSgQIRhgBUJm6Alir_gNgwIIEaAFwAHgAgAFfiAHzBpIBAjExmAEAoAEByAETwAEB2gEGCAEQARgJ2gEGCAIQARgI\u0026sclient=gws-wiz-serp)\r\n - fbeta_score [sklearn.metrics.fbeta_score](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.fbeta_score.html#:~:text=The%20F%2Dbeta%20score%20is,recall%20in%20the%20combined%20score.)\r\n - fbeta_score [sklearn.metrics.fbeta_score](https://scikit-learn.org/stable/modules/generated/sklearn.metrics.fbeta_score.html)\r\n ### F score\r\n - [F score](https://en.wikipedia.org/wiki/F-score)\r\n \r\n# References Part5 / (other, VSCODE workflow window views, HTML, CSS, IMG)\r\n## VSCODE workflow window views\r\n- Keyboard Shortcuts \u003e workbench.action.duplicateWorkspaceInNewWindow Ctrl Shift Alt N (modified from suggested on site) [VSCODE workflow window views](https://stackoverflow.com/questions/43362133/visual-studio-code-open-tab-in-new-window)\r\n\r\n## font\r\n## HTML\r\n\r\n## CSS\r\n- not used [box-shadow: red](https://stackoverflow.com/questions/61476773/how-to-add-a-background-square-behind-the-image)\r\n- used [change body tag background color behind image](https://stackoverflow.com/questions/7415872/change-color-of-png-image-via-css)\r\n- search string: [css font color](https://www.google.com/search?q=css+font+color\u0026oq=css+font+color\u0026gs_lcrp=EgZjaHJvbWUqCggAEAAYsQMYgAQyCggAEAAYsQMYgAQyBwgBEAAYgAQyBwgCEAAYgAQyBwgDEAAYgAQyBwgEEAAYgAQyBwgFEAAYgAQyBwgGEAAYgAQyBggHEEUYQdIBCDIwODFqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [CSS Text](https://www.w3schools.com/css/css_text.asp)\r\n\r\n## nb-black / jupyter notebook formatting\r\n- search string: [add color using nb black](https://www.google.com/search?q=add+color+using+nb+black\u0026oq=add+color+using+nb+black\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiiBDIHCAIQABiiBDIHCAMQABiiBNIBCDU5NjhqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- \u003cfont color='red'\u003ebar\u003c/font\u003e [How to change color in markdown cells ipython/jupyter notebook? | stackoverflow](https://stackoverflow.com/questions/19746350/how-to-change-color-in-markdown-cells-ipython-jupyter-notebook)\r\n\r\n## Images\r\n## IMG\r\n- not used [to crop images in css](https://www.digitalocean.com/community/tutorials/css-cropping-images-object-fit)\r\n## SVG\r\n- [harmonic mean .svg file](https://upload.wikimedia.org/wikipedia/commons/f/f7/MathematicalMeans.svg)\r\n- [harmonic mean .svg file page 2](https://en.wikipedia.org/wiki/File:MathematicalMeans.svg)\r\n- [means visual proof](https://en.wikipedia.org/wiki/Harmonic_mean#/media/File:QM_AM_GM_HM_inequality_visual_proof.svg)\r\n- [How to edit color via code of svg file with: open svg file in explorer \u003e inspect element \u003e Elements \u003e edit circle tag fill attribute](https://medium.com/@nick.cqx/illustrate-your-project-without-any-graphic-design-software-using-svg-and-your-browser-20e9a73b53a3)\r\n\r\n## Repositories\r\n- [ResidentMario/matplotlib](https://github.com/ResidentMario/matplotlib)\r\n# References Part 6 / (bash, shell scripting)\r\n- import subprocess [Python: How to script virtual environment building and activation?](https://stackoverflow.com/questions/53151899/python-how-to-script-virtual-environment-building-and-activation)\r\n- Put this in main.py: | import yoursubfile | Treat it like a module: import file.[How can I make one python file run another? [duplicate] | Get one python file to run another, using python 2.7.3 and Ubuntu 12.10:](https://stackoverflow.com/questions/7974849/how-can-i-make-one-python-file-run-another)\r\n## subprocess file calls\r\n- [How to add images to README.md on GitHub?](https://stackoverflow.com/questions/14494747/how-to-add-images-to-readme-md-on-github)\r\n![wireframe](https://github.com/CoderSales/machine-learning-classification/blob/main/img/wireframe-bash-py-scripts-2.png)\r\n- The error is pretty clear. The file hello.py is not an executable file. You need to specify the executable: subprocess.call(['python.exe', 'hello.py', 'htmlfilename.htm'])\r\n[OSError: [WinError 193] %1 is not a valid Win32 application](https://stackoverflow.com/questions/25651990/oserror-winerror-193-1-is-not-a-valid-win32-application)\r\n- [Python Exception \u003cTypeError\u003e: bufsize must be an integer](https://community.safe.com/s/question/0D54Q00009jkcMHSAY/python-exception-typeerror-bufsize-must-be-an-integer)\r\n- Using the subprocess Module | python 3.11.2 [subprocess — Subprocess management | Using the subprocess Module | python 3.11.2 ](https://docs.python.org/3/library/subprocess.html)\r\n- [How can I make one python file run another? [duplicate]](https://stackoverflow.com/questions/7974849/how-can-i-make-one-python-file-run-another)\r\n- [How to call a shell script from python code?](https://stackoverflow.com/questions/3777301/how-to-call-a-shell-script-from-python-code)\r\n- Your best option would be to do it in a function\r\n\r\n- activate () {  . ../.env/bin/activate} [How to source virtualenv activate in a Bash script](https://stackoverflow.com/questions/13122137/how-to-source-virtualenv-activate-in-a-bash-script)\r\n- def my_function(): [Python Functions](https://www.w3schools.com/python/python_functions.asp)\r\n- Main result: If you want to ignore a file that you've committed in the past, you'll need to delete the file from your repository and then add a .gitignore rule for it. | search string: [how to add files to gitignore](https://www.google.com/search?q=how+to+add+files+to+gitignore\u0026oq=how+to+add+files+to+gitignore\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiABDIHCAIQABiABDIHCAMQABiABDIHCAQQABiABDIHCAUQABiABDIHCAYQABiABDIMCAcQABgUGIcCGIAEMgcICBAAGIAEMgcICRAAGIYD0gEINTA3N2owajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [Ignoring a previously committed file](https://www.atlassian.com/git/tutorials/saving-changes/gitignore#:~:text=If%20you%20want%20to%20ignore,directory%20as%20an%20ignored%20file.)\r\n- JavaScript function definition syntax (uses curly brackets like bash syntax)[Function.prototype.apply()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply)\r\n- [site to find out which language code is written in](https://dpaste.com/)\r\n- [Is there a website that can recognize and identify what programming language is being input (pasted)?](https://www.quora.com/Is-there-a-website-that-can-recognize-and-identify-what-programming-language-is-being-input-pasted)\r\n- search string: ['.' is not recognized as an internal or external command,](https://www.google.com/search?q=%27.%27+is+not+recognized+as+an+internal+or+external+command%2C\u0026oq=%27.%27+is+not+recognized+as+an+internal+or+external+command%2C\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiABDIHCAIQABiABDIHCAMQABiABDIHCAQQABiABDIHCAUQABiABDIGCAYQRRhBMgYIBxBFGEHSAQgxMDk0ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [5 Ways to Fix the \"Not Recognized as an Internal or External Command\" Error in Windows](https://www.makeuseof.com/windows-not-recognized-as-an-internal-or-external-command-error/#:~:text=You%20can%20resolve%20this%20issue,files%20to%20the%20System32%20folder.)\r\n- search string: [subprocess.Popen() documentation](https://www.google.com/search?q=subprocess.Popen()+documentation\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [TypeError: got multiple values for argument](https://stackoverflow.com/questions/21764770/typeerror-got-multiple-values-for-argument)\r\n- [Python Exception \u003cTypeError\u003e: bufsize must be an integer](https://community.safe.com/s/question/0D54Q00009jkcMHSAY/python-exception-typeerror-bufsize-must-be-an-integer)\r\n### venv location\r\n- [Python Virtual Environments: A Primer](https://realpython.com/python-virtual-environments-a-primer/#:~:text=You%20can%20find%20the%20base,is%20one%20folder%20level%20up.)\r\n- [How Does a Virtual Environment Work?](https://realpython.com/python-virtual-environments-a-primer/#how-does-a-virtual-environment-work)\r\n- [The VIRTUAL_ENV environment variable is only available if the virtual environment is activated.\r\nFor instance:\r\n$ python3 -m venv myapp\r\n$ source myapp/bin/activate\r\n(myapp) $ python  -c \"import os; print(os.environ['VIRTUAL_ENV'])\"\r\n/path/to/virtualenv/myapp](https://stackoverflow.com/questions/22003769/get-virtualenvs-bin-folder-path-from-script)\r\n- [What is the difference between executing a Bash script vs sourcing it?](https://superuser.com/questions/176783/what-is-the-difference-between-executing-a-bash-script-vs-sourcing-it)\r\n- [How to activate python virtualenv through shell script?](https://superuser.com/questions/1547228/how-to-activate-python-virtualenv-through-shell-script)\r\n- search string: [run python3 -m venv from shell script](https://www.google.com/search?q=run+python3+-m+venv+from+shell+script\u0026oq=run+python3+-m+venv+from+shell+script\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTUwOTU2ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- search string: [Error: [Errno 13] Permission denied: 'C:\\\\Users\\](https://www.google.com/search?q=Error%3A+%5BErrno+13%5D+Permission+denied%3A+%27C%3A%5C%5CUsers%5C\u0026newwindow=1\u0026sxsrf=AJOqlzWirByzwKUkHddqGQt9p_WYB-8a3Q%3A1676448744989\u0026ei=6JPsY66GPOGx8gK9_6_YCQ\u0026ved=0ahUKEwiumrefipf9AhXhmFwKHb3_C5sQ4dUDCA8\u0026uact=5\u0026oq=Error%3A+%5BErrno+13%5D+Permission+denied%3A+%27C%3A%5C%5CUsers%5C\u0026gs_lcp=Cgxnd3Mtd2l6LXNlcnAQAzoKCAAQRxDWBBCwA0oECEEYAEoECEYYAFDsBVjsBWCTCWgBcAF4AIABN4gBN5IBATGYAQCgAQHIAQjAAQE\u0026sclient=gws-wiz-serp)\r\n### shell\r\n- search string: [chmod executable shell script](https://www.google.com/search?q=chmod+executable+shell+script\u0026oq=chmod+executable+shell+script\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIKCAEQABgPGBYYHjILCAIQABgWGB4Y8QQyCggDEAAYDxgWGB4yCwgEEAAYFhgeGPEEMgcIBRAAGIYDMgcIBhAAGIYDMgcIBxAAGIYDMgcICBAAGIYD0gEINjAxMGowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- chmod +x \u003cfileName\u003e [Steps to write and execute a script](https://www.javatpoint.com/steps-to-write-and-execute-a-shell-script)\r\n- search string: [how to start shell script](https://www.google.com/search?q=how+to+start+shell+script\u0026oq=how+tostart+shell\u0026gs_lcrp=EgZjaHJvbWUqCQgBEAAYDRiABDIGCAAQRRg5MgkIARAAGA0YgAQyCQgCEAAYDRiABDIJCAMQABgNGIAEMgkIBBAAGA0YgAQyCQgFEAAYDRiABDIJCAYQABgNGIAEMgkIBxAAGA0YgAQyCQgIEAAYDRiABDIJCAkQABgNGIAE0gEJNTUxMjdqMWo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- search string: [run shell using source](https://www.google.com/search?q=run+shell+using+source\u0026oq=run+shell+using+source\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIJCAEQABgeGKIEMgkIAhAAGB4YogQyBwgDEAAYogQyBwgEEAAYogTSAQkxMTM0MGowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- The first line in Bash scripts is a character sequence known as the \"shebang.\" The shebang is the program loader's first instruction when executing the file, and the characters indicate which interpreter to run when reading the script. | Add the following line to the file to indicate the use of the Bash interpreter: | #!/bin/bash [How to Write a Bash Script with Examples | Writing a Bash Script | Adding the \"shebang\" | #!/usr/bin/env \u003cinterpreter\u003e | Uses the env program to locate the interpreter. Use this shebang for other scripting languages, such as Perl, Python, etc.](https://phoenixnap.com/kb/write-bash-script#:~:text=The%20first%20line%20in%20Bash,run%20when%20reading%20the%20script.)\r\n- search string: [what does comment do at top of shell script](https://www.google.com/search?q=what+does+comment+do+at+top+of+shell+script\u0026oq=what+does+comment+do+at+top+of+shell+script\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigAdIBCTEwMDc2ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [How to activate a Python virtual environment from a script file](https://www.a2hosting.com/kb/developer-corner/python/activating-a-python-virtual-environment-from-a-script-file)\r\n- search string: [python file to start venv](https://www.google.com/search?q=python+file+to+start+venv\u0026oq=python+file+to+start+venv\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRhA0gEIODQ2M2owajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- search string: [pass raw strings from shell or py file to terminal to run command in terminal](https://www.google.com/search?q=pass+raw+strings+from+shell+or+py+file+to+terminal+to+run+command+in+terminal\u0026oq=pass+raw+strings+from+shell+or+py+file+to+terminal+to+run+command+in+terminal\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCTIxNjc3ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- search string: [Taking Linux Command as Raw String in Python](https://stackoverflow.com/questions/22230294/taking-linux-command-as-raw-string-in-python)\r\n- [Taking Linux Command as Raw String in Python](https://stackoverflow.com/questions/22230294/taking-linux-command-as-raw-string-in-python/22230442#comment33755480_22230442)\r\n- search string: [how to pass raw code to terminal](https://www.google.com/search?q=how+to+pass+raw+codee+to+terminal\u0026oq=how+to+pass+raw+codee+to+terminal\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRhA0gEINjY1N2owajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [What are some ways to pass raw bytes to a program via the Linux terminal?](https://reverseengineering.stackexchange.com/questions/24755/what-are-some-ways-to-pass-raw-bytes-to-a-program-via-the-linux-terminal)\r\n- [Pass bash argument to python script](https://stackoverflow.com/questions/14340822/pass-bash-argument-to-python-script)\r\n- search string: [pass arg to function python through bash call](https://www.google.com/search?q=pass+arg+to+function+python+through+bash+call\u0026oq=pass+arg+to+function+python+through+bash+call\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQABiiBDIHCAIQABiiBDIHCAMQABiiBDIHCAQQABiiBDIHCAUQABiiBNIBCTE1NjgwajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [venv — Creation of virtual environments | An example of extending EnvBuilder](https://docs.python.org/3/library/venv.html)\r\n- search string: [try catch shell python venv](https://www.google.com/search?q=try+catch+shell+python+venv\u0026oq=try+catch+shell+python+venv\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigAdIBCDU3NzhqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [PermissionError: [Errno 13] Permission denied](https://stackoverflow.com/questions/36434764/permissionerror-errno-13-permission-denied)\r\n- [How to assign the output of a Bash command to a variable? [duplicate]](https://stackoverflow.com/questions/2314750/how-to-assign-the-output-of-a-bash-command-to-a-variable)\r\n- search string: [#!/bin/bash -x PWD=`pwd`](https://www.google.com/search?q=%23!%2Fbin%2Fbash+-x+PWD%3D%60pwd%60\u0026oq=%23!%2Fbin%2Fbash+-x+PWD%3D%60pwd%60\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBBzU0MmowajeoAgCwAgA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- search string: [how to activate venv in existing shell](https://www.google.com/search?q=how+to+activate+venv+in+existing+shell\u0026oq=how+to+activate+venv+in+existing+shell\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIGCAEQRRhA0gEJMTE0ODBqMGo3qAIAsAIA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- search string: [use shell to activate venv](https://www.google.com/search?q=use+shell+to+activate+venv\u0026oq=use+shell+to+activate+venv\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigATINCAQQIRgWGB0YHhjxBDINCAUQIRgWGB0YHhjxBNIBCTEwMTMyajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)\r\n- [Learn X in Y minutes](https://learnxinyminutes.com/docs/bash/)\r\n- [Writing shell scripts](https://infinum.com/handbook/qa/automation/general/writing-shell-scripts)\r\n- search string: [automate virtual env](https://www.google.com/search?q=automate+virtual+env\u0026oq=automate+virtual+env\u0026gs_lcrp=EgZjaHJvbWUyBggAEEUYOTILCAEQABgWGB4Y8QQyCwgCEAAYFhgeGPEEMgsIAxAAGBYYHhjxBDILCAQQABgWGB4Y8QQyCAgFEAAYFhgeMgsIBhAAGBYYHhjxBDIICAcQABgWGB4yCggIEAAYDxgWGB4yCggJEAAYDxgWGB7SAQg5ODk1ajBqN6gCALACAA\u0026sourceid=chrome\u0026ie=UTF-8)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodersales%2Fmachine-learning-classification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodersales%2Fmachine-learning-classification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodersales%2Fmachine-learning-classification/lists"}