Open-weight model
ridge-loan-interest-prediction
by Nguyen Quoc Viet vietnqai/ridge-loan-interest-prediction
Bài tập môn Tối ưu hóa nâng cao, lớp Khoa học dữ liệu. Nội dung là tự cài đặt và so sánh bốn thuật toán tối ưu hóa trên bài toán hồi quy tuyến tính có hiệu chỉnh Ridge, dữ liệu Lending Club 2007-2018: gradient descent toàn phần, SGD thuần với lô một mẫu…
Model Card
Bài tập môn Tối ưu hóa nâng cao, lớp Khoa học dữ liệu. Nội dung là tự cài đặt và so sánh bốn thuật toán tối ưu hóa trên bài toán hồi quy tuyến tính có hiệu chỉnh Ridge, dữ liệu Lending Club 2007-2018: gradient descent toàn phần, SGD thuần với lô một mẫu, mini-batch SGD và phương pháp Newton, mỗi thuật toán chạy với cả bước cố định lẫn backtracking line search theo điều kiện Armijo. Kế hoạch chi tiết: KEHOACHTRIENKHAI.md. Quy tắc làm việc: CLAUDE.md, kèm \min{w \in \mathbb{R}^d} \quad f(w) = \frac{1}{2n} \left\| Xw - y \right\|2^2 + \frac{\lambda}{2} \left\| w \right\|2^2 Hàm mục tiêu lồi mạnh và có nghiệm đóng, nên $f^$ tính được chính xác tới sai số máy và mọi biểu đồ hội tụ đều vẽ $f(wk)…
Excerpt from the card by Nguyen Quoc Viet.
Identity and Version
- Repository
- vietnqai/ridge-loan-interest-prediction
- Publisher
- Nguyen Quoc Viet
- Task
- Not stated by the source
- Modality
- Other
- Library
- Not stated by the source
- Parameters
- Not stated by the source
- Languages
- Not stated by the source
- Revision
- 4d478d336fedb754410b7079d1ab017b73275e25
- First published
- 2026-09-18
- Last updated
- 2026-09-18
Files and Weights
175 files, 1.9 GB in total.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| conftest.py | Configuration | 159 B | — |
| data/processed/feature_names.json | Configuration | 2.3 KB | — |
| data/processed/problem_config.json | Configuration | 3.3 KB | — |
| pyrightconfig.json | Configuration | 103 B | — |
| results/raw/batch-armijo.json | Configuration | 87.5 KB | — |
| results/raw/batch-eta.json | Configuration | 121.0 KB | — |
| results/raw/batch-size.json | Configuration | 179.5 KB | — |
| results/raw/full/headline.json | Configuration | 1.3 MB | — |
| results/raw/full/library.json | Configuration | 27.2 KB | — |
| results/raw/full/newton-damping.json | Configuration | 16.3 KB | — |
| results/raw/headline.json | Configuration | 1.0 MB | — |
| results/raw/lambda-kappa.json | Configuration | 1.0 MB | — |
| results/raw/library.json | Configuration | 27.1 KB | — |
| results/raw/newton-damping.json | Configuration | 16.3 KB | — |
| results/raw/scaling-kappa.json | Configuration | 1.3 MB | — |
| results/raw/sgd-pure.json | Configuration | 46.5 KB | — |
| results/raw/step-armijo.json | Configuration | 1.2 MB | — |
| results/raw/step-fixed.json | Configuration | 5.2 MB | — |
| src/__init__.py | Configuration | — | |
| src/dataset.py | Configuration | 23.2 KB | — |
| src/direction.py | Configuration | 6.3 KB | — |
| src/experiment.py | Configuration | 32.7 KB | — |
| src/figures.py | Configuration | 16.2 KB | — |
| src/iterate.py | Configuration | 7.9 KB | — |
| src/make_figures.py | Configuration | 7.1 KB | — |
| src/objective.py | Configuration | 11.4 KB | — |
| src/record.py | Configuration | 4.3 KB | — |
| src/reference.py | Configuration | 10.1 KB | — |
| src/stepsize.py | Configuration | 5.7 KB | — |
| tests/test_composition.py | Configuration | 8.3 KB | — |
| tests/test_dataset.py | Configuration | 7.7 KB | — |
| tests/test_experiment.py | Configuration | 8.8 KB | — |
| tests/test_figures.py | Configuration | 8.3 KB | — |
| tests/test_objective.py | Configuration | 5.6 KB | — |
| tests/test_reference.py | Configuration | 5.1 KB | — |
| tests/test_report.py | Configuration | 5.4 KB | — |
| CLAUDE.md | Documentation | 8.7 KB | — |
| KE_HOACH_TRIEN_KHAI.md | Documentation | 74.0 KB | — |
| README.md | Documentation | 6.0 KB | — |
| data/pdfs/Tài liệu ôn tập/README.md | Documentation | 2.2 KB | — |
| docs/lap-luan-bao-cao.md | Documentation | 20.9 KB | — |
| docs/quy-uoc-bao-cao.md | Documentation | 8.4 KB | — |
| docs/van-phong-tieng-viet.md | Documentation | 17.7 KB | — |
| report/README.md | Documentation | 525 B | — |
| Tối ưu hóa_Lending Club.pdf | Other | 228.9 KB | 57d75b1b0246 |
| __pycache__/conftest.cpython-314-pytest-9.1.1.pyc | Other | 513 B | — |
| data/pdfs/Học trên lớp.pdf | Other | 97.7 MB | cca883fd6357 |
| data/pdfs/Tài liệu ôn tập/bonus.tex | Other | 12.4 KB | — |
| data/pdfs/Tài liệu ôn tập/ch1.tex | Other | 32.5 KB | — |
| data/pdfs/Tài liệu ôn tập/ch2.tex | Other | 16.1 KB | — |
| data/pdfs/Tài liệu ôn tập/ch3.tex | Other | 20.5 KB | — |
| data/pdfs/Tài liệu ôn tập/on-tap.pdf | Other | 216.3 KB | 86d6bada7e1c |
| data/pdfs/Tài liệu ôn tập/on-tap.tex | Other | 2.0 KB | — |
| data/pdfs/Tài liệu ôn tập/preamble.tex | Other | 4.4 KB | — |
| data/pdfs/tong_hop_giua_ky.pdf | Other | 4.8 MB | d9ae2ce98726 |
| data/processed/X_test.npy | Other | 46.0 MB | 2e74a453a17a |
| data/processed/X_test_full.npy | Other | 276.0 MB | e8adb3a34a39 |
| data/processed/X_train.npy | Other | 184.0 MB | 57bb43415f82 |
| data/processed/X_train_full.npy | Other | 1.1 GB | 51beffba9710 |
| data/processed/y_test.npy | Other | 400.1 KB | b20e990a1605 |
| data/processed/y_test_full.npy | Other | 2.4 MB | 6e4b7a778441 |
| data/processed/y_train.npy | Other | 1.6 MB | 5f49249748be |
| data/processed/y_train_full.npy | Other | 9.6 MB | ae3ea18ea7c7 |
| data/raw/LCDataDictionary.xlsx | Other | 23.6 KB | — |
| data/raw/loan.parquet | Other | 133.6 MB | 976f29d074a0 |
| notebooks/01_data_audit.ipynb | Other | 3.1 KB | — |
| notebooks/02_build_problem.ipynb | Other | 2.6 KB | — |
| notebooks/03_step_size.ipynb | Other | 3.5 KB | — |
| notebooks/04_stochastic.ipynb | Other | 2.6 KB | — |
| notebooks/05_second_order.ipynb | Other | 2.8 KB | — |
| notebooks/06_headline_and_scale.ipynb | Other | 2.4 KB | — |
| notebooks/07_library_and_lambda.ipynb | Other | 3.2 KB | — |
| report/preamble.tex | Other | 2.0 KB | — |
| report/refs.bib | Other | 2.1 KB | — |
| report/report.blg | Other | 246 B | — |
| report/report.log | Other | 62.0 KB | — |
| report/report.pdf | Other | 611.4 KB | 415e60275dca |
| report/report.tex | Other | 49.9 KB | — |
| report/slides.pdf | Other | 230.1 KB | 4529fa42d892 |
| report/slides.tex | Other | 17.8 KB | — |
| requirements.txt | Other | 2.1 KB | — |
| results/figures/batch-armijo_cost.pdf | Other | 20.0 KB | — |
| results/figures/batch-armijo_cost.png | Other | 53.2 KB | — |
| results/figures/batch-armijo_epochs.pdf | Other | 25.7 KB | — |
| results/figures/batch-armijo_epochs.png | Other | 133.2 KB | 6bd24f8c4047 |
| results/figures/batch-armijo_iters.pdf | Other | 25.0 KB | — |
| results/figures/batch-armijo_iters.png | Other | 83.4 KB | — |
| results/figures/batch-armijo_time.pdf | Other | 26.6 KB | — |
| results/figures/batch-armijo_time.png | Other | 74.3 KB | — |
| results/figures/batch-eta_epochs.pdf | Other | 25.6 KB | — |
| results/figures/batch-eta_epochs.png | Other | 96.4 KB | — |
| results/figures/batch-eta_iters.pdf | Other | 25.6 KB | — |
| results/figures/batch-eta_iters.png | Other | 94.6 KB | — |
| results/figures/batch-eta_time.pdf | Other | 27.8 KB | — |
| results/figures/batch-eta_time.png | Other | 100.0 KB | — |
| results/figures/batch-size_epochs.pdf | Other | 36.9 KB | — |
| results/figures/batch-size_epochs.png | Other | 87.1 KB | — |
| results/figures/batch-size_iters.pdf | Other | 24.2 KB | — |
| results/figures/batch-size_iters.png | Other | 69.9 KB | — |
| results/figures/batch-size_time.pdf | Other | 29.1 KB | — |
| results/figures/batch-size_time.png | Other | 74.7 KB | — |
| results/figures/headline-full_iters.pdf | Other | 30.2 KB | — |
| results/figures/headline-full_iters.png | Other | 90.9 KB | — |
| results/figures/headline-full_time.pdf | Other | 23.7 KB | — |
| results/figures/headline-full_time.png | Other | 73.9 KB | — |
| results/figures/headline_iters.pdf | Other | 31.0 KB | — |
| results/figures/headline_iters.png | Other | 96.2 KB | — |
| results/figures/headline_time.pdf | Other | 29.5 KB | — |
| results/figures/headline_time.png | Other | 87.2 KB | — |
| results/figures/lambda-kappa_iters.pdf | Other | 22.1 KB | — |
| results/figures/lambda-kappa_iters.png | Other | 105.7 KB | a89c684b881d |
| results/figures/lambda-kappa_time.pdf | Other | 22.8 KB | — |
| results/figures/lambda-kappa_time.png | Other | 104.2 KB | af01a09b6fab |
| results/figures/lambda-kappa_tradeoff.pdf | Other | 17.7 KB | — |
| results/figures/lambda-kappa_tradeoff.png | Other | 54.8 KB | — |
| results/figures/library-full_iters.pdf | Other | 21.6 KB | — |
| results/figures/library-full_iters.png | Other | 54.8 KB | — |
| results/figures/library-full_time.pdf | Other | 22.6 KB | — |
| results/figures/library-full_time.png | Other | 59.5 KB | — |
| results/figures/library_iters.pdf | Other | 21.2 KB | — |
| results/figures/library_iters.png | Other | 53.1 KB | — |
| results/figures/library_time.pdf | Other | 22.2 KB | — |
| results/figures/library_time.png | Other | 56.2 KB | — |
| results/figures/newton-damping-full_iters.pdf | Other | 17.4 KB | — |
| results/figures/newton-damping-full_iters.png | Other | 52.8 KB | — |
| results/figures/newton-damping-full_time.pdf | Other | 18.3 KB | — |
| results/figures/newton-damping-full_time.png | Other | 71.0 KB | — |
| results/figures/newton-damping_iters.pdf | Other | 17.0 KB | — |
| results/figures/newton-damping_iters.png | Other | 50.9 KB | — |
| results/figures/newton-damping_time.pdf | Other | 18.6 KB | — |
| results/figures/newton-damping_time.png | Other | 71.3 KB | — |
| results/figures/scaling-kappa_iters.pdf | Other | 19.5 KB | — |
| results/figures/scaling-kappa_iters.png | Other | 59.3 KB | — |
| results/figures/scaling-kappa_time.pdf | Other | 19.9 KB | — |
| results/figures/scaling-kappa_time.png | Other | 56.3 KB | — |
| results/figures/sgd-pure_epochs.pdf | Other | 23.0 KB | — |
| results/figures/sgd-pure_epochs.png | Other | 79.3 KB | — |
| results/figures/sgd-pure_iters.pdf | Other | 22.3 KB | — |
| results/figures/sgd-pure_iters.png | Other | 80.9 KB | — |
| results/figures/sgd-pure_time.pdf | Other | 23.0 KB | — |
| results/figures/sgd-pure_time.png | Other | 79.2 KB | — |
| results/figures/slides/batch-size_iters.pdf | Other | 24.2 KB | — |
| results/figures/slides/batch-size_iters.png | Other | 81.5 KB | — |
| results/figures/slides/batch-size_time.pdf | Other | 29.1 KB | — |
| results/figures/slides/batch-size_time.png | Other | 86.1 KB | — |
| results/figures/slides/headline_iters.pdf | Other | 23.0 KB | — |
| results/figures/slides/headline_iters.png | Other | 91.3 KB | — |
| results/figures/slides/headline_time.pdf | Other | 29.5 KB | — |
| results/figures/slides/headline_time.png | Other | 97.7 KB | — |
| results/figures/slides/lambda-kappa_iters.pdf | Other | 22.1 KB | — |
| results/figures/slides/lambda-kappa_iters.png | Other | 120.8 KB | b55768f7f8ba |
| results/figures/slides/lambda-kappa_time.pdf | Other | 22.8 KB | — |
| results/figures/slides/lambda-kappa_time.png | Other | 117.8 KB | 17f7ca9cec9e |
| results/figures/slides/step-fixed_iters.pdf | Other | 20.9 KB | — |
| results/figures/slides/step-fixed_iters.png | Other | 93.0 KB | — |
| results/figures/slides/step-fixed_time.pdf | Other | 22.7 KB | — |
| results/figures/slides/step-fixed_time.png | Other | 95.9 KB | — |
| results/figures/spectrum.pdf | Other | 20.1 KB | — |
| results/figures/spectrum.png | Other | 45.7 KB | — |
| results/figures/step-armijo_cost.pdf | Other | 57.7 KB | — |
| results/figures/step-armijo_cost.png | Other | 93.8 KB | — |
| results/figures/step-armijo_iters.pdf | Other | 39.4 KB | — |
| results/figures/step-armijo_iters.png | Other | 99.2 KB | — |
| results/figures/step-armijo_time.pdf | Other | 34.2 KB | — |
| results/figures/step-armijo_time.png | Other | 104.6 KB | 3eef340a2fd8 |
| results/figures/step-fixed_iters.pdf | Other | 20.9 KB | — |
| results/figures/step-fixed_iters.png | Other | 83.8 KB | — |
| results/figures/step-fixed_time.pdf | Other | 22.7 KB | — |
| results/figures/step-fixed_time.png | Other | 87.3 KB | — |
| .DS_Store | Repository | 8.2 KB | — |
| .gitattributes | Repository | 2.5 KB | — |
| .gitignore | Repository | 547 B | — |
| data/processed/.gitkeep | Repository | — | |
| data/raw/.gitkeep | Repository | — | |
| results/raw/.gitkeep | Repository | — |
License and Download
- License
- Not stated by the source
- Access
- Open weights, no gate
Released by Nguyen Quoc Viet through its official repository on Hugging Face.