# Assisted-Mindfulness/naive-bayes

> Naive Bayes text classifier for PHP with configurable precision and tokenizer

Navigation: [Artificial Intelligence](category/artificial-intelligence.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/Assisted-Mindfulness/naive-bayes
- HTML: https://awesomeopensource.dev/project/assisted-mindfulness-naive-bayes
- License: MIT
- Language: PHP
- stars: 45
- Topics: classifier, machine-learning
- Activity score: 3.6/5 (Active)
- Last commit (any branch): 2026-09-25
- Last release: 2.0.2 2026-09-25

## Description

This PHP package classifies text by learning from labelled examples and returning a probability for each category. Categories can be strings, integers or enums, Laplace smoothing handles unseen words, and uneven mode weights categories by their training distribution. Probabilities are BigDecimal values with a configurable scale, and the tokenizer can be replaced.

## Maintenance activity

- Recency: 68% (weight 40%) — last commit: 49 days ago
- Commit volume: 34% (weight 25%)
- Releases: 77% (weight 25%) — last release: 49 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 2 / 90d, 5 / 365d

## Similar projects

- [openclaw/openclaw](openclaw-openclaw.md): Open-source AI assistant that lives on your own hardware and in your chat apps · Activity score 5.0/5 (Thriving)
- [n8n-io/n8n](n8n-io-n8n.md): Fair-code workflow automation with a visual canvas, custom code and 1500+ integrations · Activity score 5.0/5 (Thriving)
- [langgenius/dify](langgenius-dify.md): Visual platform for building LLM apps with RAG pipelines, agents and model integrations · Activity score 5.0/5 (Thriving)
- [open-webui/open-webui](open-webui-open-webui.md): Self-hosted web UI for chatting with Ollama and OpenAI-compatible models offline · Activity score 5.0/5 (Thriving)
- [langchain-ai/langchain](langchain-ai-langchain.md): Python framework for building agents and LLM applications from composable components · Activity score 5.0/5 (Thriving)
- [paperclipai/paperclip](paperclipai-paperclip.md): Manage a team of AI agents with goals, budgets and task tracking · Activity score 5.0/5 (Thriving)
