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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file premodel-1.1.tar.gz.

File metadata

  • Download URL: premodel-1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for premodel-1.1.tar.gz
Algorithm Hash digest
SHA256 7e13ad52d9b26b2747a1c98159356bddb40d9e547c3aff89ead8bb969fbf8ca3
MD5 f940c50ed2a9391e7b08a4416ed9b33d
BLAKE2b-256 ade913d8b1b2e5e068b04e93238ed6576b933915c73e5de5c592d621600c3a6b

See more details on using hashes here.

File details

Details for the file premodel-1.1-py3-none-any.whl.

File metadata

  • Download URL: premodel-1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for premodel-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9417f28bbbcd3951ed8c806bc489120e830ccb89fd4a417901bbd25e57d889d
MD5 d67a175fe1d6c591fff215afb77ee365
BLAKE2b-256 08a829ae4d6a16450fa4c1155514ac1cb05762297cab7af0d592367fec5f0fec

See more details on using hashes here.

Supported by

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