Skip to main content

Pre-built Machine Learning Models

Project description

K-Nearest Neighbours

predict: Returns the predicted value

visualize: Returns a matplotlib scatter plot of the data along with the predicted point and its value. (Requires the calling of predict() method first)

euclidean: Returns the Euclidean distance of the given point from all the points given in the dataset

Linear Regression

fit: Trains the model to the given data and return the slope and intercept values

predict: Returns the predicted value

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

premodel-1.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

premodel-1.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page