Skip to main content

NeuroBCL

NeuroBCL (Neuro Bucket Classifier) is a Python package for finding ranges for numeric features normalized with percentile distribution, the basic idea is to divide the range of the feature into buckets and then classify the data into these buckets.

Installation

[Coming Soon] Install the neurobcl package with pip:

$ pip install neurobcl

Or install the latest package directly from github

$ pip install git+https://github.com/searchX/neurobcl

Example Usage

A simple example of using the package is as follows:

Index classifier on our sample data below:

from neurobcl.main import train_from_dictionary
classifier = train_from_dictionary([
        {"color": "red", "size": "small", "price": 100},
        {"color": "blue", "size": "small", "price": 200},
        {"color": "red", "size": "large", "price": 300},
        {"color": "blue", "size": "large", "price": 400},
    ], ["color", "size"], ["price"])
  1. Minimum price that should be greater than for it to be in bucket 1 atleast
classifier.get("price", 1, '>')
# Output: 100
  1. This is the price that will be the limit of all items that can exist until bucket 4
classifier.get("price", 4, '<')
# Output: 400
  1. Use filter, to get the items that are in bucket 1 and color blue
classifier.get("price", 1, '>', filters={"color": "blue"})
# Output: 200

Please look into official docs for more information - https://searchx.github.io/neurobcl/

Metadata

Release files for NeuroBCL 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for NeuroBCL 0.1.2
File Size Uploaded Provenance Actions
NeuroBCL-0.1.2.tar.gz 7.3 kB Without provenance Details for NeuroBCL-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for NeuroBCL 0.1.2
File Interpreter ABI Platform Actions
NeuroBCL-0.1.2-py3-none-any.whl Python 3 none any Details for NeuroBCL-0.1.2-py3-none-any.whl

Total release size: 16.3 kB

Release files / NeuroBCL-0.1.2.tar.gz

Download URL NeuroBCL-0.1.2.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ba00c21a7a2f83cbf866faa9c1573fd777da8007e1df7154d860be7670372eea
BLAKE2b-256 checksum
How to use checksums
d767fbc2f6e591f45dac6d9e9cf40e6ef1dbc330ef93f2451019389af19b1262
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.12.2 CPython/3.10.12

Release files / NeuroBCL-0.1.2-py3-none-any.whl

Download URL NeuroBCL-0.1.2-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cbb3e397eee75ef32f151beabb2971c0c6b155acdee088035bbf581ff7e005c8
BLAKE2b-256 checksum
How to use checksums
d2ebf6b2150ade5c6dd671900f1e97a1167e517b1ad8d816ac5dddd9d1b0b250
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.12.2 CPython/3.10.12

Security for NeuroBCL 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page