Spaces:
Running
Running
add prompt enginnering
Browse files
README.md
CHANGED
|
@@ -1,133 +1,195 @@
|
|
| 1 |
# π DataScience Learning Hub
|
| 2 |
|
| 3 |
-
Welcome
|
| 4 |
-
|
| 5 |
-
## π― Live
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
- π Interactive Statistics Course
|
| 10 |
-
- π€ Machine Learning Guide
|
| 11 |
-
- π Data Visualization
|
| 12 |
-
- π’ Mathematics for Data Science
|
| 13 |
-
- βοΈ Feature Engineering Guide
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
-
|
| 22 |
-
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
-
|
| 33 |
-
-
|
| 34 |
-
-
|
| 35 |
-
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
```bash
|
| 49 |
-
#
|
| 50 |
python3 -m http.server 8000
|
| 51 |
|
| 52 |
-
#
|
| 53 |
-
http
|
| 54 |
-
http://localhost:8000/ml_complete-all-topics/
|
| 55 |
-
http://localhost:8000/Visualization/
|
| 56 |
-
http://localhost:8000/math-ds-complete/
|
| 57 |
-
http://localhost:8000/feature-engineering/
|
| 58 |
```
|
| 59 |
|
| 60 |
-
|
| 61 |
|
| 62 |
-
##
|
| 63 |
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
|
| 68 |
-
|
| 69 |
|
| 70 |
-
## π Project
|
| 71 |
|
|
|
|
|
|
|
| 72 |
complete-statistics/
|
| 73 |
-
βββ index.html
|
| 74 |
-
βββ style.css
|
| 75 |
-
βββ app.js
|
|
|
|
| 76 |
|
|
|
|
|
|
|
| 77 |
ml_complete-all-topics/
|
| 78 |
-
βββ index.html
|
| 79 |
-
βββ style.css
|
| 80 |
-
βββ app.js
|
|
|
|
| 81 |
|
|
|
|
|
|
|
| 82 |
Visualization/
|
| 83 |
-
βββ index.html
|
| 84 |
-
βββ style.css
|
| 85 |
-
βββ app.js
|
|
|
|
| 86 |
|
|
|
|
|
|
|
| 87 |
math-ds-complete/
|
| 88 |
-
βββ index.html
|
| 89 |
-
βββ style.css
|
| 90 |
-
βββ app.js
|
|
|
|
| 91 |
|
|
|
|
|
|
|
| 92 |
feature-engineering/
|
| 93 |
-
βββ index.html
|
| 94 |
-
βββ style.css
|
| 95 |
-
βββ app.js
|
| 96 |
-
|
| 97 |
-
## βοΈ Deploying (GitHub Pages)
|
| 98 |
-
|
| 99 |
-
1. Push the `main` branch to GitHub (already done for this repo).
|
| 100 |
-
2. In the repository on GitHub -> Settings -> Pages, set the source to `main` branch and `/ (root)` or use `docs/` if you prefer.
|
| 101 |
-
3. Wait a few minutes; the site will be available at `https://<username>.github.io/<repo>/` (e.g. the links at the top of this README).
|
| 102 |
-
|
| 103 |
-
Note: the sites use relative paths (`style.css`, `app.js`), so they work fine when served from a subpath such as `/DataScience/complete-statistics/`.
|
| 104 |
|
| 105 |
-
##
|
| 106 |
|
| 107 |
-
|
| 108 |
|
| 109 |
```
|
| 110 |
._*
|
| 111 |
.DS_Store
|
| 112 |
-
__MACOSX/
|
| 113 |
```
|
| 114 |
|
| 115 |
-
If you
|
| 116 |
|
| 117 |
-
##
|
| 118 |
|
| 119 |
-
|
| 120 |
-
- Add an automated verification script that scans all `index.html` files and confirms local assets exist. I can create a small `scripts/verify_assets.py`.
|
| 121 |
-
- Split very long single-page projects into per-topic pages (if you want better maintainability).
|
| 122 |
-
- Add a small 'demo index' page that lists live links and embeds screenshots.
|
| 123 |
|
| 124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
|
| 126 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
|
| 128 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 129 |
|
| 130 |
-
|
| 131 |
|
| 132 |
-
|
| 133 |
|
|
|
|
|
|
| 1 |
# π DataScience Learning Hub
|
| 2 |
|
| 3 |
+
Welcome to a comprehensive collection of educational web projects for learning data science! This repository contains multiple interactive courses and resources covering statistics, machine learning, visualization, mathematics, and feature engineering.
|
| 4 |
+
|
| 5 |
+
## π― Live Demos
|
| 6 |
+
|
| 7 |
+
Visit our courses directly in your browser:
|
| 8 |
+
|
| 9 |
+
- [π Interactive Statistics Course](https://aashishgarg13.github.io/DataScience/complete-statistics/)
|
| 10 |
+
- [π€ Machine Learning Guide](https://aashishgarg13.github.io/DataScience/ml_complete-all-topics/)
|
| 11 |
+
- [π Data Visualization](https://aashishgarg13.github.io/DataScience/Visualization/)
|
| 12 |
+
- [π’ Mathematics for Data Science](https://aashishgarg13.github.io/DataScience/math-ds-complete/)
|
| 13 |
+
- [βοΈ Feature Engineering Guide](https://aashishgarg13.github.io/DataScience/feature-engineering/)
|
| 14 |
+
- [π€ Prompt Engineering Guide](https://learnprompting.org/) - Interactive AI prompting course
|
| 15 |
+
|
| 16 |
+
## π Prompt Engineering Resources
|
| 17 |
+
|
| 18 |
+
Essential resources for mastering AI prompt engineering:
|
| 19 |
+
|
| 20 |
+
- [Learn Prompting](https://learnprompting.org/) - Comprehensive interactive guide
|
| 21 |
+
- [Prompt Engineering Guide](https://github.com/dair-ai/Prompt-Engineering-Guide) - Community-maintained resource
|
| 22 |
+
- [Anthropic's Claude Guide](https://www.anthropic.com/index/constitutional-ai-the-basics) - Advanced prompting techniques
|
| 23 |
+
- [OpenAI Best Practices](https://platform.openai.com/docs/guides/prompt-engineering) - Official guidelines
|
| 24 |
+
|
| 25 |
+
## π Contents
|
| 26 |
+
|
| 27 |
+
### π Complete Statistics Course
|
| 28 |
+
- **Location:** `complete-statistics/`
|
| 29 |
+
- **Features:**
|
| 30 |
+
- 40+ Interactive Topics
|
| 31 |
+
- Descriptive Statistics
|
| 32 |
+
- Probability & Distributions
|
| 33 |
+
- Hypothesis Testing
|
| 34 |
+
- Interactive Visualizations & Canvas
|
| 35 |
+
- Hands-on Learning Experience
|
| 36 |
+
|
| 37 |
+
### π€ Machine Learning Guide
|
| 38 |
+
- **Location:** `ml_complete-all-topics/`
|
| 39 |
+
- **Features:**
|
| 40 |
+
- Comprehensive ML Topics
|
| 41 |
+
- Interactive Demonstrations
|
| 42 |
+
- Visual Learning Aids
|
| 43 |
+
- Step-by-Step Explanations
|
| 44 |
+
|
| 45 |
+
### π Data Visualization
|
| 46 |
+
- **Location:** `Visualization/`
|
| 47 |
+
- **Features:**
|
| 48 |
+
- Interactive Data Visualization Examples
|
| 49 |
+
- Chart Types and Best Practices
|
| 50 |
+
- Dynamic Visualization Techniques
|
| 51 |
+
- Data Presentation Guidelines
|
| 52 |
+
|
| 53 |
+
### π’ Mathematics for Data Science
|
| 54 |
+
- **Location:** `math-ds-complete/`
|
| 55 |
+
- **Features:**
|
| 56 |
+
- Linear Algebra Fundamentals
|
| 57 |
+
- Calculus for Machine Learning
|
| 58 |
+
- Statistical Mathematics
|
| 59 |
+
- Optimization Theory
|
| 60 |
+
|
| 61 |
+
### βοΈ Feature Engineering Guide
|
| 62 |
+
- **Location:** `feature-engineering/`
|
| 63 |
+
- **Features:**
|
| 64 |
+
- Data Preprocessing Techniques
|
| 65 |
+
- Feature Selection Methods
|
| 66 |
+
- Feature Transformation
|
| 67 |
+
- Dimensionality Reduction
|
| 68 |
+
|
| 69 |
+
> π‘ All projects are pure static websites - no server needed! Open directly in your browser or use a simple static server.
|
| 70 |
+
|
| 71 |
+
## π Auto-Update & Integration
|
| 72 |
+
|
| 73 |
+
The repository supports automatic updates for:
|
| 74 |
+
- New AI prompting techniques and best practices
|
| 75 |
+
- Interactive visualization improvements
|
| 76 |
+
- Additional learning resources and examples
|
| 77 |
+
- Community contributions and fixes
|
| 78 |
+
|
| 79 |
+
## π Quick Start
|
| 80 |
+
|
| 81 |
+
### Option A: View Online
|
| 82 |
+
Visit our GitHub Pages hosted versions:
|
| 83 |
+
1. [Statistics Course](https://aashishgarg13.github.io/DataScience/complete-statistics/)
|
| 84 |
+
2. [Machine Learning Guide](https://aashishgarg13.github.io/DataScience/ml_complete-all-topics/)
|
| 85 |
+
|
| 86 |
+
### Option B: Run Locally (Recommended for Development)
|
| 87 |
+
|
| 88 |
+
#### Simple Browser Opening:
|
| 89 |
+
1. Clone this repository
|
| 90 |
+
2. Navigate to either project folder
|
| 91 |
+
3. Double-click `index.html`
|
| 92 |
+
|
| 93 |
+
#### Using Local Server (Recommended to avoid CORS issues):
|
| 94 |
+
|
| 95 |
+
From the repository root, run one of the following in a terminal:
|
| 96 |
|
| 97 |
```bash
|
| 98 |
+
# Python 3 (simple static server, available on macOS):
|
| 99 |
python3 -m http.server 8000
|
| 100 |
|
| 101 |
+
# or using Node.js http-server (if installed):
|
| 102 |
+
npx http-server -c-1 . 8000
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
```
|
| 104 |
|
| 105 |
+
Then open http://localhost:8000/complete-statistics/ or http://localhost:8000/ml_complete-all-topics/ in your browser.
|
| 106 |
|
| 107 |
+
## Deploy to GitHub Pages
|
| 108 |
|
| 109 |
+
1. Push your changes to the `main` branch on GitHub (already done for this repo).
|
| 110 |
+
2. In your repository settings on GitHub, go to "Pages" and select the `main` branch and root (`/`) as the source, or set the `gh-pages` branch if you prefer.
|
| 111 |
+
3. Save β GitHub Pages will publish the site. For multi-site repos you can add a `docs/` folder or create separate branches, or create a small repo per site.
|
| 112 |
|
| 113 |
+
Because these are static sites you can also host them on Netlify, Vercel, or any static host.
|
| 114 |
|
| 115 |
+
## π Project Structure
|
| 116 |
|
| 117 |
+
### Statistics Course
|
| 118 |
+
```
|
| 119 |
complete-statistics/
|
| 120 |
+
βββ index.html # Main course interface
|
| 121 |
+
βββ style.css # Course styling
|
| 122 |
+
βββ app.js # Interactive visualizations
|
| 123 |
+
```
|
| 124 |
|
| 125 |
+
### Machine Learning Guide
|
| 126 |
+
```
|
| 127 |
ml_complete-all-topics/
|
| 128 |
+
βββ index.html # Main guide interface
|
| 129 |
+
βββ style.css # Guide styling
|
| 130 |
+
βββ app.js # Interactive components
|
| 131 |
+
```
|
| 132 |
|
| 133 |
+
### Data Visualization
|
| 134 |
+
```
|
| 135 |
Visualization/
|
| 136 |
+
βββ index.html # Visualization examples
|
| 137 |
+
βββ style.css # Visualization styling
|
| 138 |
+
βββ app.js # Interactive charts
|
| 139 |
+
```
|
| 140 |
|
| 141 |
+
### Mathematics for Data Science
|
| 142 |
+
```
|
| 143 |
math-ds-complete/
|
| 144 |
+
βββ index.html # Mathematics course interface
|
| 145 |
+
βββ style.css # Course styling
|
| 146 |
+
βββ app.js # Interactive math demonstrations
|
| 147 |
+
```
|
| 148 |
|
| 149 |
+
### Feature Engineering Guide
|
| 150 |
+
```
|
| 151 |
feature-engineering/
|
| 152 |
+
βββ index.html # Feature engineering guide
|
| 153 |
+
βββ style.css # Guide styling
|
| 154 |
+
βββ app.js # Interactive examples
|
| 155 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 156 |
|
| 157 |
+
## Notes about repository cleanup
|
| 158 |
|
| 159 |
+
While repairing the repository I removed macOS Finder metadata files (names beginning with `._`) that had been added inside the `.git` metadata and working tree. Those `._*` files are resource-fork metadata and are not project code. A `.gitignore` entry was added to ignore these moving forward:
|
| 160 |
|
| 161 |
```
|
| 162 |
._*
|
| 163 |
.DS_Store
|
| 164 |
+
>__MACOSX/
|
| 165 |
```
|
| 166 |
|
| 167 |
+
If you want to inspect any backup I created of the original `.git`, look for directories named `.git.broken_<timestamp>` in the repository root β they contain the backed-up git metadata.
|
| 168 |
|
| 169 |
+
## π€ Contributing
|
| 170 |
|
| 171 |
+
This project welcomes contributions! Here's how you can help:
|
|
|
|
|
|
|
|
|
|
| 172 |
|
| 173 |
+
1. **Content Improvements**
|
| 174 |
+
- Add new interactive examples
|
| 175 |
+
- Improve existing visualizations
|
| 176 |
+
- Update documentation and guides
|
| 177 |
+
- Share prompt engineering techniques
|
| 178 |
|
| 179 |
+
2. **Technical Enhancements**
|
| 180 |
+
- Optimize JavaScript performance
|
| 181 |
+
- Add responsive design features
|
| 182 |
+
- Improve accessibility
|
| 183 |
+
- Create new interactive components
|
| 184 |
|
| 185 |
+
3. **Documentation**
|
| 186 |
+
- Add topic descriptions
|
| 187 |
+
- Create usage examples
|
| 188 |
+
- Write tutorial content
|
| 189 |
+
- Share prompt templates
|
| 190 |
|
| 191 |
+
Please check our [contribution guidelines](CONTRIBUTING.md) for detailed instructions.
|
| 192 |
|
| 193 |
+
## License
|
| 194 |
|
| 195 |
+
Use or adapt however you like (no license file present; if you want one, tell me which license and I'll add it).
|