{"adoption": {"forks": 2882, "observed_at": "2026-08-28T04:10:49.127738+00:00", "stars": 11624}, "canonical_url": "https://ross.abutalabs.com/products/statistical-learning-method_code", "card": {"archived": false, "artifact_type": "learning-resource", "description": "手写实现李航《统计学习方法》书中全部算法", "domain": ["machine-learning", "tutorials", "education"], "enriched": true, "function": ["machine-learning", "developer-tools"], "health_score": 52, "homepage": null, "language": "Python", "license": null, "license_family": "other", "maturity": "active", "member_repos": ["Dod-o/Statistical-Learning-Method_Code"], "name": "Dod-o/Statistical-Learning-Method_Code", "platform": ["python"], "pushed_at": "2025-11-25T11:02:14+00:00", "repo": "Dod-o/Statistical-Learning-Method_Code", "stars": 11624, "tags": ["statistical-learning", "li-hang", "from-scratch-implementations", "annotated-code", "chinese", "supervised-learning", "unsupervised-learning"], "topics": ["machine-learning-algorithms", "code", "statistical-learning-method"], "urls": [], "use_cases": ["learn machine learning algorithms by reading from-scratch code", "understand how perceptron and KNN work internally", "study naive Bayes and decision tree implementations with formula references", "prepare for machine learning course exams or interviews", "reimplement classic statistical learning algorithms in Python", "follow along with Li Hang's textbook chapter by chapter"], "what_it_is": "A collection of hand-written, heavily commented Python implementations of all algorithms from Li Hang's textbook 'Statistical Learning Method' (统计学习方法), including perceptron, KNN, naive Bayes, decision trees, logistic regression, maximum entropy, and unsupervised algorithms. Each implementation cites the corresponding formulas, and companion blog posts explain the underlying principles.", "when_to_avoid": ["you need production-ready, optimized ML libraries for real workloads", "you want GPU acceleration or deep learning frameworks", "you need a maintained package with a license, tests, or an installable API"], "when_to_choose": ["you are studying Li Hang's Statistical Learning Method and want code matched to the book's formulas", "you learn best from small, fully commented from-scratch implementations", "you want Chinese-language explanations with accompanying blog posts"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/statistical-learning-method_code", "repo": "Dod-o/Statistical-Learning-Method_Code", "role": "main", "score": 57}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:49.127738+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:15:27.369217+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "633201bb759f9d23eaef0509c8a208e551b0f09b74fd4e8ca1f25bcfd57a7c3a", "fetched_at": "2026-08-28T04:10:49.127738+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Dod-o/Statistical-Learning-Method_Code"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 54, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2848, "days_push": 281, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 57, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}