Skip to main content

No project description provided

Project description

fastkpcv

fastkpcv is a lightweight Python wrapper for fast density computation for Kernelized Parallel Coordinates Visualization (KPCV).

This package provides an efficient way to compute density results through a simple Python interface.
The current version focuses on fast density computation and outputs the computed results as a JSON file.


✨ Features

  • 🚀 High-performance backend implemented in Java
  • 🐍 Simple Python interface (kpcv.run(...))
  • 📦 Bundled .jar — no need to manage Java files manually
  • 🔧 Minimal user inputs
  • ⚡ Fast density computation for large-scale and high-resolution settings
  • 📄 Outputs density computation results as a JSON file

📦 Installation

Install from PyPI:

pip install fastkpcv

⚠️ Requirements

  • Python >= 3.9
  • Java (JRE or JDK) must be installed and available in your system PATH

Verify Java installation:

java -version

JDK version 1.8 is suggested.

Quick Example

import fastkpcv as kpcv

# 1. Specify the input dataset path and output path
data_path = "dataset/diabetes.xlsx"
out_path = "output/diabetes.json"

# 2. Run fastkpcv with the desired resolution and number of rows
kpcv.run(
    datapath=data_path,
    nrows=768,
    x_res=1920,
    y_res=1080,
    outpath=out_path
)

# 3. The visualization result will be written to the output path
print(f"Result saved to: {out_path}")

Notes

  • The current release is designed for fast density computation.
  • Visualization functionality will be integrated in future versions.

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

fastkpcv-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

fastkpcv-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file fastkpcv-0.1.0.tar.gz.

File metadata

  • Download URL: fastkpcv-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for fastkpcv-0.1.0.tar.gz
Algorithm Hash digest
SHA256 471b478f89763d7991081da6f25eefbdc88602a62ba1a793c7e7243e05b7df27
MD5 dd560a6c1bb8dfbd6fc3c35740737b37
BLAKE2b-256 adfe1d9acbc43c8e47dbafcad2255cfd21eb936dfa6bf092b72f8f36ea20587f

See more details on using hashes here.

File details

Details for the file fastkpcv-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fastkpcv-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for fastkpcv-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6a7788e9ada17ade132e3606eb19242fafc01c8efccc9d6cddcead37efd1cb0
MD5 f1e66fbec203efd92c3769ec0e9cb331
BLAKE2b-256 f788849830a90086357dcd67eceb67037be7ec5c9c24f9b36730e24f9c4f2678

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