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.

Library
case4-hn
Updated
Runtime
current process; user-managed packages · Python 3.13

Interface

Verified contract

Callable Object

Inputs

NameType
snapshotdict
train_fractionfloat
n_topicsint
min_documentsint
max_featuresint
min_dfint
stop_wordslist | None
random_stateint
cutoff_utcstr | None

Outputs

NameType
defaultdict

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

Explore all