functionVerified releasev2
evaluate_topics_temporally
Split HN stories chronologically, fit vocabulary and topics only on earlier titles, then inspect later-title coverage and reconstruction. No supervised accuracy or future-popularity forecast is claimed.
Interface
Verified contract
Inputs
| Name | Type |
|---|---|
| snapshot | dict |
| train_fraction | float |
| n_topics | int |
| min_documents | int |
| max_features | int |
| min_df | int |
| stop_words | list | None |
| random_state | int |
| cutoff_utc | str | None |
Outputs
| Name | Type |
|---|---|
| default | dict |
Exact release
Pinned local call
from spl import SPLClient
result = SPLClient.embedded().call(
"splime://@splime.project/case4-hn/evaluate_topics_temporally@2",
kwargs={'cutoff_utc': 'replace-with-value', 'max_features': 0, 'min_df': 0, 'min_documents': 0, 'n_topics': 0, 'random_state': 0, 'snapshot': {}, 'stop_words': [], 'train_fraction': 0.0},
trust=True,
)Review before running. Public bundles contain executable code. Verify the publisher and exact content hash; a virtual environment isolates dependencies, not the operating system.
Evidence
Evidence-backed concepts
- Evaluate topics temporally
- No supervised accuracy
- Fit vocabulary
- Topics only earlier titles
- Inspect later title coverage
- Future popularity forecast claimed
- Train fraction
- N topics
History
Public versions
- v22 downloads
- v12 downloads
Discover
Similar Objects
- train_topic_modelFit a simple TF-IDF and nonnegative matrix factorization topic model on supplied training titles only. Returns portable JSON vocabulary, IDF weights, learned components, automatic top-term names and a content identity; no rule-generated labels.
- hn_topic_digestFetch real HN stories, normalize them, apply the required immutable embedded trained model, count observed attention and render notebook-safe HTML. Training is a separate operation. Published implementation executes locally in embedded mode.
- tag_titlesAssign HN titles to topics with the immutable trained model embedded as a required native graph dependency. Automatic names use learned top terms; no caller model file or retraining. Returns hn-topics-v1 predictions.
- predict_topicsApply a supplied fitted HN topic model without fitting vocabulary or components. Returns topic assignments, automatic keyword tags, unknown-topic diagnostics and unchanged observed popularity values.
- analyze_titlesApply explicit topic rules and compare document shares in adjacent equal-duration windows. Counts describe the supplied snapshot, not all Hacker News activity.