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,result,relevance
10,10,10,Azul,1.0
15,15,15,Azul,1.0
20,20,20,Azul,1.0
45,45,45,Verde,1.0
50,50,50,Verde,1.0
55,55,55,Verde,1.0
80,80,80,Vermelho,1.0
85,85,85,Vermelho,1.0
90,90,90,Vermelho,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_data)

Change Log

0.0.3 (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.3.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

prevhlib-0.0.3-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