berangerthomas commited on
Commit
5ca5523
·
1 Parent(s): 5a80b49

Add .gitignore and refresh README

Browse files
Files changed (2) hide show
  1. .gitignore +71 -0
  2. README.md +11 -25
.gitignore ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+
7
+ # Distribution / packaging
8
+ .Python
9
+ build/
10
+ develop-eggs/
11
+ dist/
12
+ downloads/
13
+ eggs/
14
+ .eggs/
15
+ lib/
16
+ lib64/
17
+ parts/
18
+ sdist/
19
+ var/
20
+ wheels/
21
+ *.egg-info/
22
+ .installed.cfg
23
+ *.egg
24
+
25
+ # PyInstaller
26
+ *.manifest
27
+ *.spec
28
+
29
+ # Unit test / coverage reports
30
+ htmlcov/
31
+ .tox/
32
+ .coverage
33
+ .coverage.*
34
+ .cache
35
+ nosetests.xml
36
+ coverage.xml
37
+ *.cover
38
+ .hypothesis/
39
+ .pytest_cache/
40
+
41
+ # Virtual environments
42
+ venv/
43
+ ENV/
44
+ env/
45
+ .venv
46
+
47
+ # IDEs
48
+ .vscode/
49
+ .idea/
50
+ *.swp
51
+ *.swo
52
+ *~
53
+ .DS_Store
54
+
55
+ # Python package management
56
+ poetry.lock
57
+
58
+ # Sphinx documentation build
59
+ docs/build/
60
+ docs/.doctrees/
61
+ docs/_build/
62
+
63
+ # Python egg info
64
+ src/*.egg-info/
65
+
66
+ # Logs
67
+ *.log
68
+
69
+ # Environment variables
70
+ .env
71
+ .env.local
README.md CHANGED
@@ -1,35 +1,26 @@
1
- ---
2
- title: School of Statistics
3
- colorFrom: blue
4
- colorTo: indigo
5
- sdk: static
6
- pinned: false
7
- ---
8
-
9
  # School of Statistics
10
 
 
 
 
 
11
  Interactive visualizations for exploring statistical and machine learning concepts. Each page runs entirely in the browser (HTML, CSS, JavaScript with Chart.js) without requiring a server or build step.
12
 
13
  ## Available Pages
14
 
15
  ### Classification
16
 
17
- | Page | Description |
18
- |------|-------------|
19
- | Direct Classification | Generate synthetic 2D datasets and observe how class separation affects Gaussian Naive Bayes classifier performance. Displays ROC curve, AUC, confusion matrix, and standard metrics (accuracy, precision, recall, specificity, F1-score). |
20
- | Inverse Classification | Directly set confusion matrix values (TP, FP, TN, FN) and observe resulting metrics, ROC curve, and simulated score distributions. Parameters can be locked to constrain totals. |
21
 
22
  ### Regression
23
 
24
- | Page | Description |
25
- |------|-------------|
26
- | Linear Regression | Interactive point placement on canvas with linear or polynomial regression fitting. Displays residuals, coefficient of determination (R²), and regression diagnostics. Supports zoom, point dragging, and confidence band display. |
27
 
28
  ### Signal Processing
29
 
30
- | Page | Description |
31
- |------|-------------|
32
- | Fourier Transform | Compose signals from sine waves and visualize their frequency spectrum. Up to 4 components with frequency, amplitude, and phase control. Displays time-domain signal, magnitude spectrum, phase spectrum, and signal metrics (sampling rate, Nyquist frequency, frequency resolution, total power, RMS). |
33
 
34
  ## Project Structure
35
 
@@ -37,11 +28,8 @@ Interactive visualizations for exploring statistical and machine learning concep
37
  .
38
  ├── direct_classifier.html # Direct classification (Naive Bayes)
39
  ├── inverse_classifier.html # Inverse classification (confusion matrix)
40
- ├── logistic_regression.html # Logistic regression
41
  ├── linear_regression.html # Linear/polynomial regression
42
  ├── fourier_transform.html # Fourier transform
43
- ├── embedding_distances.html # Embedding space distances
44
- ├── IDEAS.md # Specifications for planned pages
45
  ├── CHANGELOG.md # Version history
46
  ├── LICENSE
47
  ├── README.md
@@ -53,12 +41,10 @@ Interactive visualizations for exploring statistical and machine learning concep
53
  │ ├── direct_classifier.css # Page-specific styles
54
  │ ├── embedding_distances.css
55
  │ ├── fourier_transform.css
56
- ── linear_regression.css
57
- │ └── logistic_regression.css
58
  └── js/
59
  ├── common.js # Shared utilities (metrics, ROC, matrices, drag, etc.)
60
  ├── direct_classifier.js
61
- ├── embedding_distances.js
62
  ├── fourier_transform.js
63
  ├── inverse_classifier.js
64
  ├── linear_regression.js
@@ -68,7 +54,7 @@ Interactive visualizations for exploring statistical and machine learning concep
68
  ## Usage
69
 
70
  1. Clone the repository.
71
- 2. Open any `.html` file in a web browser.
72
 
73
  No dependencies to install — all libraries are loaded via CDN.
74
 
 
 
 
 
 
 
 
 
 
1
  # School of Statistics
2
 
3
+ [![Documentation](https://img.shields.io/badge/Documentation-Sphinx-blue.svg)](https://berangerthomas.github.io/SchoolOfStatistics/)
4
+ [![Demo](https://img.shields.io/badge/Demo-Hugging%20Face-orange.svg)](https://huggingface.co/spaces/berangerthomas/schoolofstatistics)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
6
+
7
  Interactive visualizations for exploring statistical and machine learning concepts. Each page runs entirely in the browser (HTML, CSS, JavaScript with Chart.js) without requiring a server or build step.
8
 
9
  ## Available Pages
10
 
11
  ### Classification
12
 
13
+ - **[Direct Classification](direct_classifier.html)**: Generate synthetic 2D datasets and observe how class separation affects Gaussian Naive Bayes classifier performance. Displays ROC curve, AUC, confusion matrix, and standard metrics (accuracy, precision, recall, specificity, F1-score).
14
+
15
+ - **[Inverse Classification](inverse_classifier.html)**: Directly set confusion matrix values (TP, FP, TN, FN) and observe resulting metrics, ROC curve, and simulated score distributions. Parameters can be locked to constrain totals.
 
16
 
17
  ### Regression
18
 
19
+ - **[Linear Regression](linear_regression.html)**: Interactive point placement on canvas with linear or polynomial regression fitting. Displays residuals, coefficient of determination (R²), and regression diagnostics. Supports zoom, point dragging, and confidence band display.
 
 
20
 
21
  ### Signal Processing
22
 
23
+ - **[Fourier Transform](fourier_transform.html)**: Compose signals from sine waves and visualize their frequency spectrum. Up to 4 components with frequency, amplitude, and phase control. Displays time-domain signal, magnitude spectrum, phase spectrum, and signal metrics (sampling rate, Nyquist frequency, frequency resolution, total power, RMS).
 
 
24
 
25
  ## Project Structure
26
 
 
28
  .
29
  ├── direct_classifier.html # Direct classification (Naive Bayes)
30
  ├── inverse_classifier.html # Inverse classification (confusion matrix)
 
31
  ├── linear_regression.html # Linear/polynomial regression
32
  ├── fourier_transform.html # Fourier transform
 
 
33
  ├── CHANGELOG.md # Version history
34
  ├── LICENSE
35
  ├── README.md
 
41
  │ ├── direct_classifier.css # Page-specific styles
42
  │ ├── embedding_distances.css
43
  │ ├── fourier_transform.css
44
+ ── linear_regression.css
 
45
  └── js/
46
  ├── common.js # Shared utilities (metrics, ROC, matrices, drag, etc.)
47
  ├── direct_classifier.js
 
48
  ├── fourier_transform.js
49
  ├── inverse_classifier.js
50
  ├── linear_regression.js
 
54
  ## Usage
55
 
56
  1. Clone the repository.
57
+ 2. Open any `.html` file in your web browser.
58
 
59
  No dependencies to install — all libraries are loaded via CDN.
60