PredictionBuilder builds machine learning predictions using linear regression.
PredictionBuilder
This Swift library builds machine learning predictions using linear regression.

About PredictionBuilder
PredictionBuilder is an open-source Swift library that builds predictions using linear regression. A developer supplies paired numeric data and an x value, and the build method returns the predicted y value with the fitted linear model and correlation coefficient.
Key features
- Builds predictions using linear regression from x,y data pairs
- Returns linear model string that fits the data
- Returns correlation coefficient for the dataset
- Returns predicted y value for given x value
- Installs via Swift Package Manager, CocoaPods, or Carthage
- Supports manual install by copying PredictionBuilder.swift file
- Open source and licensed under the MIT License
- Offers installation via Swift Package Manager, CocoaPods, Carthage, and manual copy
- Returns the linear model, correlation coefficient, and predicted value together
PredictionBuilder at a glance
- Category
- AI & Machine Learning › AI Data & Analytics
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 6, 2026 · Online when checked
- Listed
- Oct 5, 2026
PredictionBuilder alternatives
Tools and sites you could use instead, ranked by how closely they match.
The LightGBM framework uses gradient boosting for ranking, classification, and other machine learning tasks.
nilearn provides Python tools for machine learning and neuroimaging analysis.
DVCLive logs and tracks machine learning metrics, parameters, and models with Git or DVC.
Pyro brings probabilistic programming capabilities to Python projects using PyTorch.
REP provides an IPython-based machine learning environment for consistent, reproducible data-driven research.
Popular in AI Data & Analytics
Well-known listings from the same topic.
PredictionBuilder FAQ
How do I install PredictionBuilder with Swift Package Manager?
What information does a prediction result include?
How do I install PredictionBuilder manually?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.











