semvec/pypi-packages huggingface dataset:
kw3poo 0.0.1
kw3poo
Requires Python: >=3.4

# kw3poo

![PyPI - package version](https://img.shields.io/pypi/v/kw3poo?logo=pypi&style=flat-square)
![PyPI - license](https://img.shields.io/pypi/l/kw3poo?label=package%20license&style=flat-square)
![PyPI - python version](https://img.shields.io/pypi/pyversions/kw3poo?logo=pypi&style=flat-square)
![PyPI - downloads](https://img.shields.io/pypi/dm/kw3poo?logo=pypi&style=flat-square)

![GitHub - last commit](https://img.shields.io/github/last-commit/kkristof200/py_web3_poocoin?style=flat-square)
![GitHub - commit activity](https://img.shields.io/github/commit-activity/m/kkristof200/py_web3_poocoin?style=flat-square)

![GitHub - code size in bytes](https://img.shields.io/github/languages/code-size/kkristof200/py_web3_poocoin?style=flat-square)
![GitHub - repo size](https://img.shields.io/github/repo-size/kkristof200/py_web3_poocoin?style=flat-square)
![GitHub - lines of code](https://img.shields.io/tokei/lines/github/kkristof200/py_web3_poocoin?style=flat-square)

![GitHub - license](https://img.shields.io/github/license/kkristof200/py_web3_poocoin?label=repo%20license&style=flat-square)

## Description

kw3poo

## Install

~~~~bash
pip install kw3poo
# or
pip3 install kw3poo
~~~~

## Usage

~~~~python
import kw3poo
~~~~

## Dependencies

[jsoncodable](https://pypi.org/project/jsoncodable), [kw3](https://pypi.org/project/kw3)
py4pnn 0.0.3
Pseudo Nearest Neighbors Python Library
Requires Python: >=3.7

# py4pnn

Pseudo Nearest Neighbors Python Library

## Getting Started

This project is simply implementation of Pseudo Nearest Neighbors algorithm in python programming language.

### Prerequisites

This Project Has No Prerequisites


### Installing

The easiest way to install py4pnn is using pip

```
pip install py4pnn
```

### Usage
There is only 1 public method of pnn class. It is predict method, it takes 5 argument namely x_train, t_train, x_test, k, and distance calculation method. We provide 6 distance namely euclidean, squared_euclidean, manhattan, canberra, chebyshev, and bray_curtis.
```
from py4pnn.p_nearest_neighbors import pnn
classifier = pnn()
x_train = [[0.23,0.54],[0.45,1.23],[1.54,0.23],[0.93,0.535]]
t_train = [0,1,0,1]
x_test = [[0.34,0.65],[0.90,0.50]]
y = classifier.predict(x_train,t_train,x_test,1,'euclidean')
```