Skip to main content

A data analysis library for data mining.

Project description

Prevh

This is a python data mining library.

Installing

Package Documentation: https://pypi.org/project/prevhlib/

Installing with pip: pip install prevhlib

Usage

Dataset File sample

axis1,axis2,axis3,cluster,relevance
10,10,10,Blue,1.0
15,15,15,Blue,1.0
20,20,20,Blue,1.0
45,45,45,Green,1.0
50,50,50,Green,1.0
55,55,55,Green,1.0
80,80,80,Red,1.0
85,85,85,Red,1.0
90,90,90,Red,1.0

Python sample:

import prevh as ph
# create the dataset
dataset = ph.datasetfromCSV("C:/trainingdata.csv", ",")
# executes the prediction for the follow information
predictions = dataset.predict([[11, 11, 11], [32, 32, 32], [91, 91, 91]], kNeighbors=6)
# to see how the normalization was made in the data set (Output = pandas.DataFrame)
print(predictions.predict_data)
# to see the prediction results (Output = list)
print(predictions.predict_results)

Change Log

0.0.6 (29/09/2021)

  • First Release

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

prevhlib-0.0.6.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

prevhlib-0.0.6-py3-none-any.whl (16.7 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