Breans is an open-source Java library designed to make machine learning and AI techniques approachable, modular, and ready for real-world deployment.
It includes neural networks, regression models, clustering, probabilistic simulations, and behavior-driven AI logic.
- Neural Network
- Linear Regression
- Logistic Regression
- K-Means
- Markov Chains
- Behavior Trees
- Data Analyzer
- Multi-Step A* Navigator
Breans Neural Network is a fully customizable feed‑forward neural network designed for real‑world tasks.
Built from scratch in pure Java, it supports multiple activation functions, backpropagation, and training with or without optimizers such as Adam.
Docs
Breans Linear Regression offers a straightforward way to model relationships between variables and predict continuous outcomes.
Whether analyzing trends, forecasting numeric values, or exploring correlations, this model provides everything you need.
Docs
Breans Logistic Regression handles binary and multi-label classification tasks by leveraging the sigmoid activation function, transforming raw input features into clear, interpretable probabilities.
Docs
Breans K-Means provides a straightforward approach to cluster analysis, grouping similar data points into distinct categories based on their features.
It includes K-Means++ initialization for improved centroid selection and automatic export capabilities.
Docs
Breans Markov Chains allow you to model stochastic (random) systems where the next state depends only on the current state and not past states (Markov property).
You can easily define states (nodes), set transition probabilities, and simulate random movements across states.
Docs
Breans Behavior Trees (BT) let you design AI decision-making in a modular, visual-friendly way.
Behavior Trees are widely used in video games, robotics, and simulations because they separate logic into small reusable nodes: decisions, timers, and actions.
Docs
Add breans.jar to your project:
import com.ml.breans.*;The Data Analyzer is a utility for performing essential data exploration and transformation tasks on datasets stored in CSV format. It includes methods for reading data, inspecting shapes, detecting missing values, generating statistical summaries, visualizing data using bar charts, and exporting reports. Docs
The Breans Navigator provides core pathfinding logic, enabling movement across a grid with customizable rules, obstacles, and tile-based optimizations. It is designed to support both single-path and multi-step navigation routines, including visual output for debugging and analysis. Docs