Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcodeforce committed May 30, 2024
2 parents 99107c8 + 0d6401c commit 2b09e95
Show file tree
Hide file tree
Showing 3,374 changed files with 496,856 additions and 73 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
16 changes: 16 additions & 0 deletions .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build & Push docs
on:
push:
branches:
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1
- name: Deploy docs
uses: jbcodeforce/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**/__pycache__/
data/17flowers/
**/.ipynb_checkpoints/*
DataScience-Python3/.ipynb_checkpoints/
site/
env/
**/.venv/
**/.pytorch/
.conda/
.vscode/
**/logs/
**/chroma_db/
**/.ipynb_checkpoints/
deep-neural-net/data/
llm-langchain/dependencies/**
llm-langchain/my_feature_repo/**
llm-langchain/**/data/**
llm-langchain/featureform/.featureform/
llm-langchain/openAI/agent_domain_store/
deep-neural-net/d2l-en/
**/*.pth
pytorch/computer-vision/data/
**/models/
**/.env
**/.taipy/
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

FROM python:3.11.6
ENV PATH=/root/.local/bin:$PATH

ENV PYTHONPATH=/app

RUN pip install --upgrade pip \
&& pip install wget requests numpy pandas xlrd scikit-learn keras matplotlib
USER $USER

# install NLP packages:
RUN pip install -U nltk gensim pixiedust

WORKDIR /app
16 changes: 16 additions & 0 deletions Jupyter-Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM jupyter/scipy-notebook

USER $USER

# Update pip
RUN pip install --upgrade pip
# install TensorFlow
RUN conda install --quiet --yes 'tensorflow=1.0*'

# install tflearn and keras:
RUN pip install tflearn && pip install keras


# install NLP packages:
RUN pip install -U PySide2 nltk gensim wget pixiedust

27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# [Machine Learning Studies - Basics](https://jbcodeforce.github.io/ML-studies/)

Read this ML study content in [book format](https://jbcodeforce.github.io/ML-studies/).

## Building this booklet locally

The content of this repository is written with markdown files, packaged with [MkDocs](https://www.mkdocs.org/) and can be built into a book-readable format by MkDocs build processes.

1. Install MkDocs locally following the [official documentation instructions](https://www.mkdocs.org/#installation).
1. Install Material plugin for mkdocs: `pip install -r requirements.txt `
2. `git clone https://github.com/jbcodeforce/ML-studies.git` _(or your forked repository if you plan to edit)_
3. `cd ML-studies`
4. `mkdocs serve`
5. Go to `http://127.0.0.1:8000/` in your browser.

### Building this booklet locally but with docker

In some cases you might not want to alter your Python setup and rather go with a docker image instead. This requires docker is running locally on your computer though.

* docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
* Go to http://127.0.0.1:8000/ in your browser.

### Pushing the book to GitHub Pages

1. Ensure that all your local changes to the `master` branch have been committed and pushed to the remote repository. `git push origin code`
1. Run `mkdocs gh-deploy --remote-branch main` from the root directory.

200 changes: 200 additions & 0 deletions data/cat-sport-data.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
walking,running,color,distance_walked,dogs_cats
1,1,red,1,1
1,1,blue,2,1
1,1,green,3,1
1,1,blue,4,1
1,1,blue,5,1
1,1,red,6,1
1,1,green,7,1
1,1,green,8,1
1,1,blue,9,1
1,1,red,1,1
1,1,blue,2,1
1,1,blue,3,1
1,1,red,4,1
1,1,blue,5,1
1,1,green,6,1
1,1,red,7,1
1,1,green,8,1
1,1,blue,9,1
1,1,red,1,1
1,1,red,2,1
1,1,green,3,1
1,1,green,4,1
1,1,green,5,1
1,1,blue,6,1
1,1,green,7,1
1,1,blue,8,1
1,1,red,9,1
1,1,green,1,1
1,1,blue,2,0
1,1,red,3,0
1,1,red,4,0
1,1,red,5,0
1,1,red,6,0
1,1,red,7,0
1,1,green,8,0
1,1,red,9,0
1,1,blue,1,0
1,1,green,2,0
1,1,green,3,0
1,1,blue,4,0
1,1,red,5,0
1,1,blue,6,0
1,1,green,7,0
1,1,blue,8,0
1,1,blue,9,0
1,1,blue,1,0
1,1,green,2,0
1,1,red,3,0
1,0,blue,4,0
1,0,blue,5,0
1,0,green,6,0
1,0,red,7,0
1,0,green,8,0
1,0,red,9,0
1,0,green,1,0
1,0,green,2,0
1,0,blue,3,1
1,0,red,4,1
1,0,red,5,1
1,0,blue,6,1
1,0,red,7,1
1,0,green,8,1
1,0,blue,9,1
1,0,red,1,1
1,0,red,2,1
1,0,blue,3,1
1,0,red,4,1
1,0,red,5,1
1,0,blue,6,1
1,0,blue,7,1
1,0,red,8,1
1,0,blue,9,1
1,0,red,1,1
1,0,red,2,1
1,0,red,3,1
1,0,red,4,0
1,0,blue,5,0
1,0,red,6,0
1,0,green,7,0
1,0,blue,8,0
1,0,green,9,0
1,0,blue,1,0
1,0,blue,2,0
1,0,green,3,0
1,0,red,4,0
1,0,blue,5,0
1,0,green,6,0
1,0,blue,7,0
1,0,green,8,0
1,0,blue,9,0
1,0,green,1,0
1,0,blue,2,0
1,0,red,3,0
1,0,green,4,0
1,0,blue,5,0
1,0,red,6,0
1,0,green,7,0
1,0,green,8,0
1,1,green,9,1
0,1,blue,1,1
0,1,blue,2,1
0,1,red,3,1
0,1,green,4,1
0,1,green,5,1
0,1,red,6,1
0,1,red,7,1
0,1,green,8,1
0,1,blue,9,1
0,1,blue,1,1
0,1,blue,2,1
0,1,red,3,1
0,1,blue,4,1
0,1,blue,5,1
0,1,green,6,1
0,1,red,7,1
0,1,blue,8,0
0,1,red,9,0
0,1,green,1,0
0,1,blue,2,0
0,1,green,3,0
0,1,green,4,0
0,1,blue,5,0
0,1,blue,6,0
0,1,blue,7,0
0,1,blue,8,0
0,1,red,9,0
0,1,green,1,0
0,1,green,2,0
0,1,green,3,0
0,1,green,4,0
0,1,blue,5,0
0,1,blue,6,0
0,1,blue,7,0
0,1,green,8,0
0,1,green,9,0
0,1,blue,1,0
0,1,green,2,0
0,1,green,3,0
0,1,blue,4,0
0,1,blue,5,0
0,1,blue,6,0
0,1,red,7,0
0,1,red,8,0
0,1,red,9,0
0,1,green,1,0
0,1,red,2,0
0,1,blue,3,0
0,1,green,4,0
0,1,blue,5,0
0,0,green,6,0
0,0,red,7,0
0,0,blue,8,0
0,0,green,9,0
0,0,blue,1,0
0,0,green,2,0
0,0,green,3,0
0,0,green,4,0
0,0,red,5,0
0,0,green,6,0
0,0,blue,7,0
0,0,red,8,0
0,0,blue,9,0
0,0,green,1,0
0,0,red,2,0
0,0,red,3,0
0,0,blue,4,0
0,0,blue,5,0
0,0,red,6,0
0,0,blue,7,0
0,0,red,8,0
0,0,green,9,0
0,0,blue,1,0
0,0,blue,2,0
0,0,red,3,0
0,0,green,4,0
0,0,green,5,0
0,0,green,6,0
0,0,blue,7,0
0,0,blue,8,0
0,0,green,9,0
0,0,green,1,0
0,0,green,2,0
0,0,red,3,0
0,0,green,4,0
0,0,blue,5,0
0,0,green,6,0
0,0,blue,7,0
0,0,green,8,0
0,0,red,9,0
0,0,green,1,0
0,0,blue,2,0
0,0,green,3,0
0,0,blue,4,0
0,0,red,5,0
0,0,red,6,0
0,0,green,7,0
0,0,green,8,0
0,0,red,9,0
0,0,blue,1,0
14 changes: 14 additions & 0 deletions data/device-trainSet.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
my phone battery is not holding charge,battery
my battery is not holding charge,battery
my battery is not holding charge,battery
my battery life is not what I expected,battery
my device runs out of battery after one or more hours,battery
less battery life than before,battery
clock battery hold well the charge,other
lithium batteries hold well the charge,other
need to replace my batteries,other
I break my device screen,other
my device could not power on anymore,other
battery drains quickly,battery
my iphone is not holding the charge,battery
my ipad runs out of battery quickly,battery
15 changes: 15 additions & 0 deletions data/females.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
julie
laure
annie
anna
kendhal
eva
sophia
jordan
karen
michelle
rachelle
lucy
brigitt
jennifer
nicoll
Loading

0 comments on commit 2b09e95

Please sign in to comment.