SAVRN
Search Contact SAVRN

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…

Parameters
Context
Weights1.9 GB
License
AccessOpen weights
Monthly Downloads

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.

Configuration36 files · 11.8 MB
Documentation8 files · 138.4 KB
Other125 files · 1.9 GB
Repository6 files · 11.2 KB
Every file
FileTypeSizeSHA-256
conftest.pyConfiguration159 B
data/processed/feature_names.jsonConfiguration2.3 KB
data/processed/problem_config.jsonConfiguration3.3 KB
pyrightconfig.jsonConfiguration103 B
results/raw/batch-armijo.jsonConfiguration87.5 KB
results/raw/batch-eta.jsonConfiguration121.0 KB
results/raw/batch-size.jsonConfiguration179.5 KB
results/raw/full/headline.jsonConfiguration1.3 MB
results/raw/full/library.jsonConfiguration27.2 KB
results/raw/full/newton-damping.jsonConfiguration16.3 KB
results/raw/headline.jsonConfiguration1.0 MB
results/raw/lambda-kappa.jsonConfiguration1.0 MB
results/raw/library.jsonConfiguration27.1 KB
results/raw/newton-damping.jsonConfiguration16.3 KB
results/raw/scaling-kappa.jsonConfiguration1.3 MB
results/raw/sgd-pure.jsonConfiguration46.5 KB
results/raw/step-armijo.jsonConfiguration1.2 MB
results/raw/step-fixed.jsonConfiguration5.2 MB
src/__init__.pyConfiguration
src/dataset.pyConfiguration23.2 KB
src/direction.pyConfiguration6.3 KB
src/experiment.pyConfiguration32.7 KB
src/figures.pyConfiguration16.2 KB
src/iterate.pyConfiguration7.9 KB
src/make_figures.pyConfiguration7.1 KB
src/objective.pyConfiguration11.4 KB
src/record.pyConfiguration4.3 KB
src/reference.pyConfiguration10.1 KB
src/stepsize.pyConfiguration5.7 KB
tests/test_composition.pyConfiguration8.3 KB
tests/test_dataset.pyConfiguration7.7 KB
tests/test_experiment.pyConfiguration8.8 KB
tests/test_figures.pyConfiguration8.3 KB
tests/test_objective.pyConfiguration5.6 KB
tests/test_reference.pyConfiguration5.1 KB
tests/test_report.pyConfiguration5.4 KB
CLAUDE.mdDocumentation8.7 KB
KE_HOACH_TRIEN_KHAI.mdDocumentation74.0 KB
README.mdDocumentation6.0 KB
data/pdfs/Tài liệu ôn tập/README.mdDocumentation2.2 KB
docs/lap-luan-bao-cao.mdDocumentation20.9 KB
docs/quy-uoc-bao-cao.mdDocumentation8.4 KB
docs/van-phong-tieng-viet.mdDocumentation17.7 KB
report/README.mdDocumentation525 B
Tối ưu hóa_Lending Club.pdfOther228.9 KB 57d75b1b0246
__pycache__/conftest.cpython-314-pytest-9.1.1.pycOther513 B
data/pdfs/Học trên lớp.pdfOther97.7 MB cca883fd6357
data/pdfs/Tài liệu ôn tập/bonus.texOther12.4 KB
data/pdfs/Tài liệu ôn tập/ch1.texOther32.5 KB
data/pdfs/Tài liệu ôn tập/ch2.texOther16.1 KB
data/pdfs/Tài liệu ôn tập/ch3.texOther20.5 KB
data/pdfs/Tài liệu ôn tập/on-tap.pdfOther216.3 KB 86d6bada7e1c
data/pdfs/Tài liệu ôn tập/on-tap.texOther2.0 KB
data/pdfs/Tài liệu ôn tập/preamble.texOther4.4 KB
data/pdfs/tong_hop_giua_ky.pdfOther4.8 MB d9ae2ce98726
data/processed/X_test.npyOther46.0 MB 2e74a453a17a
data/processed/X_test_full.npyOther276.0 MB e8adb3a34a39
data/processed/X_train.npyOther184.0 MB 57bb43415f82
data/processed/X_train_full.npyOther1.1 GB 51beffba9710
data/processed/y_test.npyOther400.1 KB b20e990a1605
data/processed/y_test_full.npyOther2.4 MB 6e4b7a778441
data/processed/y_train.npyOther1.6 MB 5f49249748be
data/processed/y_train_full.npyOther9.6 MB ae3ea18ea7c7
data/raw/LCDataDictionary.xlsxOther23.6 KB
data/raw/loan.parquetOther133.6 MB 976f29d074a0
notebooks/01_data_audit.ipynbOther3.1 KB
notebooks/02_build_problem.ipynbOther2.6 KB
notebooks/03_step_size.ipynbOther3.5 KB
notebooks/04_stochastic.ipynbOther2.6 KB
notebooks/05_second_order.ipynbOther2.8 KB
notebooks/06_headline_and_scale.ipynbOther2.4 KB
notebooks/07_library_and_lambda.ipynbOther3.2 KB
report/preamble.texOther2.0 KB
report/refs.bibOther2.1 KB
report/report.blgOther246 B
report/report.logOther62.0 KB
report/report.pdfOther611.4 KB 415e60275dca
report/report.texOther49.9 KB
report/slides.pdfOther230.1 KB 4529fa42d892
report/slides.texOther17.8 KB
requirements.txtOther2.1 KB
results/figures/batch-armijo_cost.pdfOther20.0 KB
results/figures/batch-armijo_cost.pngOther53.2 KB
results/figures/batch-armijo_epochs.pdfOther25.7 KB
results/figures/batch-armijo_epochs.pngOther133.2 KB 6bd24f8c4047
results/figures/batch-armijo_iters.pdfOther25.0 KB
results/figures/batch-armijo_iters.pngOther83.4 KB
results/figures/batch-armijo_time.pdfOther26.6 KB
results/figures/batch-armijo_time.pngOther74.3 KB
results/figures/batch-eta_epochs.pdfOther25.6 KB
results/figures/batch-eta_epochs.pngOther96.4 KB
results/figures/batch-eta_iters.pdfOther25.6 KB
results/figures/batch-eta_iters.pngOther94.6 KB
results/figures/batch-eta_time.pdfOther27.8 KB
results/figures/batch-eta_time.pngOther100.0 KB
results/figures/batch-size_epochs.pdfOther36.9 KB
results/figures/batch-size_epochs.pngOther87.1 KB
results/figures/batch-size_iters.pdfOther24.2 KB
results/figures/batch-size_iters.pngOther69.9 KB
results/figures/batch-size_time.pdfOther29.1 KB
results/figures/batch-size_time.pngOther74.7 KB
results/figures/headline-full_iters.pdfOther30.2 KB
results/figures/headline-full_iters.pngOther90.9 KB
results/figures/headline-full_time.pdfOther23.7 KB
results/figures/headline-full_time.pngOther73.9 KB
results/figures/headline_iters.pdfOther31.0 KB
results/figures/headline_iters.pngOther96.2 KB
results/figures/headline_time.pdfOther29.5 KB
results/figures/headline_time.pngOther87.2 KB
results/figures/lambda-kappa_iters.pdfOther22.1 KB
results/figures/lambda-kappa_iters.pngOther105.7 KB a89c684b881d
results/figures/lambda-kappa_time.pdfOther22.8 KB
results/figures/lambda-kappa_time.pngOther104.2 KB af01a09b6fab
results/figures/lambda-kappa_tradeoff.pdfOther17.7 KB
results/figures/lambda-kappa_tradeoff.pngOther54.8 KB
results/figures/library-full_iters.pdfOther21.6 KB
results/figures/library-full_iters.pngOther54.8 KB
results/figures/library-full_time.pdfOther22.6 KB
results/figures/library-full_time.pngOther59.5 KB
results/figures/library_iters.pdfOther21.2 KB
results/figures/library_iters.pngOther53.1 KB
results/figures/library_time.pdfOther22.2 KB
results/figures/library_time.pngOther56.2 KB
results/figures/newton-damping-full_iters.pdfOther17.4 KB
results/figures/newton-damping-full_iters.pngOther52.8 KB
results/figures/newton-damping-full_time.pdfOther18.3 KB
results/figures/newton-damping-full_time.pngOther71.0 KB
results/figures/newton-damping_iters.pdfOther17.0 KB
results/figures/newton-damping_iters.pngOther50.9 KB
results/figures/newton-damping_time.pdfOther18.6 KB
results/figures/newton-damping_time.pngOther71.3 KB
results/figures/scaling-kappa_iters.pdfOther19.5 KB
results/figures/scaling-kappa_iters.pngOther59.3 KB
results/figures/scaling-kappa_time.pdfOther19.9 KB
results/figures/scaling-kappa_time.pngOther56.3 KB
results/figures/sgd-pure_epochs.pdfOther23.0 KB
results/figures/sgd-pure_epochs.pngOther79.3 KB
results/figures/sgd-pure_iters.pdfOther22.3 KB
results/figures/sgd-pure_iters.pngOther80.9 KB
results/figures/sgd-pure_time.pdfOther23.0 KB
results/figures/sgd-pure_time.pngOther79.2 KB
results/figures/slides/batch-size_iters.pdfOther24.2 KB
results/figures/slides/batch-size_iters.pngOther81.5 KB
results/figures/slides/batch-size_time.pdfOther29.1 KB
results/figures/slides/batch-size_time.pngOther86.1 KB
results/figures/slides/headline_iters.pdfOther23.0 KB
results/figures/slides/headline_iters.pngOther91.3 KB
results/figures/slides/headline_time.pdfOther29.5 KB
results/figures/slides/headline_time.pngOther97.7 KB
results/figures/slides/lambda-kappa_iters.pdfOther22.1 KB
results/figures/slides/lambda-kappa_iters.pngOther120.8 KB b55768f7f8ba
results/figures/slides/lambda-kappa_time.pdfOther22.8 KB
results/figures/slides/lambda-kappa_time.pngOther117.8 KB 17f7ca9cec9e
results/figures/slides/step-fixed_iters.pdfOther20.9 KB
results/figures/slides/step-fixed_iters.pngOther93.0 KB
results/figures/slides/step-fixed_time.pdfOther22.7 KB
results/figures/slides/step-fixed_time.pngOther95.9 KB
results/figures/spectrum.pdfOther20.1 KB
results/figures/spectrum.pngOther45.7 KB
results/figures/step-armijo_cost.pdfOther57.7 KB
results/figures/step-armijo_cost.pngOther93.8 KB
results/figures/step-armijo_iters.pdfOther39.4 KB
results/figures/step-armijo_iters.pngOther99.2 KB
results/figures/step-armijo_time.pdfOther34.2 KB
results/figures/step-armijo_time.pngOther104.6 KB 3eef340a2fd8
results/figures/step-fixed_iters.pdfOther20.9 KB
results/figures/step-fixed_iters.pngOther83.8 KB
results/figures/step-fixed_time.pdfOther22.7 KB
results/figures/step-fixed_time.pngOther87.3 KB
.DS_StoreRepository8.2 KB
.gitattributesRepository2.5 KB
.gitignoreRepository547 B
data/processed/.gitkeepRepository
data/raw/.gitkeepRepository
results/raw/.gitkeepRepository

License and Download

License
Not stated by the source
Access
Open weights, no gate
Download from Nguyen Quoc Viet

Released by Nguyen Quoc Viet through its official repository on Hugging Face.