PredictionBuilder

This Swift library builds machine learning predictions using linear regression.

github.com/denissimon/prediction-builder-swift
PredictionBuilder homepage screenshot

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
Best for: Best for Swift developers who need linear regression predictions from paired numeric data.
Good for
  • 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

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.

All 24 alternatives

REP

github.com/yandex/rep

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.

All 302

PredictionBuilder FAQ

How do I install PredictionBuilder with Swift Package Manager?
Add the package URL https://github.com/denissimon/prediction-builder-swift.git in Package.swift or via Xcode File -> Add Package Dependencies.
What information does a prediction result include?
The linear model that fits the data, the correlation coefficient, the given x value, and the predicted y value.
How do I install PredictionBuilder manually?
Copy PredictionBuilder.swift into your project.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing