MaartenGr / MaartenGr/BERTopic

Saving parameters and results to a log file

Open
#1,760 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.8k
Forks
920
Avg merge
22h 24m
Merged PRs (30d)
5

Description

I found useful to save the parameters and results to a log file.

I extended the BERTopic class to fit my needs, here you can have a look:
https://github.com/buscon/fg_analysis_with_BERT/blob/main/classes/custom_log_bertopic.py
It is a barebone implementation, it should be extended and refined.

If you @MaartenGr are interested to integrate such a feature in BERTopic, I can fork it and implement this feature inside the BERTopic structure and make a PR.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked custom_log_bertopic.py implementation and the BERTopic class it extends. The issue does not define which parameters and results should be logged or how the feature should integrate, so clarify the logging scope and acceptance criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.