Skip to main content

some helpers to train or inference scikit-learn models

Project description

Crossense

Crossense is a collection of utilities designed to facilitate working with scikit-learn models, including training, Inferencing and benchmarking.

Features

(to be written)

Installation

You can install Crossense using pip:

pip install crossense

Usage

from crossense.ensemble import CrossBaggingClassifier
from sklearn.linear_model import LogisticRegression
from sklearn.datasets import load_iris
from sklearn.model_selection import StratifiedKFold

ds = load_iris()
clf = CrossBaggingClassifier(LogisticRegression(), cv=StratifiedKFold(5))
clf.fit(ds.data, ds.target)

For more detailed usage and examples, please refer to the documentation.

Contributing

If you'd like to contribute to Crossense, please follow the contribution guidelines (comming soon).

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

crossense-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

crossense-0.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crossense-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

File hashes

Hashes for crossense-0.1.0.tar.gz
Algorithm Hash digest
SHA256 30ee6c71eb00725286e94359ed9eb200863d66a9c73cd02c242c1f60522c0399
MD5 837adb37e0967dd47b07e2d4382d0152
BLAKE2b-256 ad0dfbf143e3557f4ff0f0b702c560390bcf54ce62def80246f1b96d6e8978d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crossense-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

File hashes

Hashes for crossense-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4e56a921cb7ce117ff808d62e7d624a3c9626b3f9572caffc3770c0f714444b
MD5 e0af211e84fcde7eadbf3977ff5f26c1
BLAKE2b-256 d8e0fa8561f836e97cfcd343b10f8ccc288b59d0b6528313a2f2dbe8aa39216d

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