Skip to main content

High-performance kernelized parallel coordinates visualization tool in Python

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.1.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.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastkpcv-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 42ae4e086bd89f25ab79a5bf8f09c8af28764e115fcb22956539439b742fd380
MD5 7daeb58f79c1e09be8ba98bac93fca88
BLAKE2b-256 f61a36d21bc95ce7dcf2910f70a160679a88c420a5f4677a42834030cd87c67e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastkpcv-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8a5fbb153fcfe37ca101428e4bbbc93df85b737c798b55fcd7a1a852c4ac770
MD5 4ca0a7f63e96b513c6809f0a8b798cdc
BLAKE2b-256 6e1db8fe2f1c24ddff49158e5393f146014b0340f0c7c4a76bdcfc2d000828a0

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