Skip to main content

OptCAT

Actions Status License: MIT

OptCAT (= Optuna + CatBoost) provides a scikit-learn compatible estimator that tunes hyperparameters in CatBoost with Optuna.

This Repository is very influenced by Y-oHr-N/OptGBM.

Examples

from optcat.core import CatBoostClassifier
from sklearn import datasets

params = {
        "bootstrap_type": "Bayesian",
        "loss_function": "Logloss",
        "iterations": 100
    }

model = CatBoostClassifier(params=params, n_trials=5)
data, target = datasets.load_breast_cancer(return_X_y=True)
model.fit(X=data, y=target)

Installation

pip install git+https://github.com/wakamezake/OptCAT.git

Testing

poetry run pytest

Metadata

Release files for optcat 0.1.0

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

Source distribution (sdist)

Source distribution for optcat 0.1.0
File Size Uploaded Provenance Actions
optcat-0.1.0.tar.gz 5.1 kB Without provenance Details for optcat-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.3 kB

Release files / optcat-0.1.0.tar.gz

Download URL optcat-0.1.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a1ea3955bcbc618ab2fae1861567bc581009780d12ad3f5ab3ceadabc74300c8
BLAKE2b-256 checksum
How to use checksums
ec72a80bf0dd74cfd3c8830af663014e6c86140c1f50e48877b70193e85a6107
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.6.5 Windows/10

Release files / OptCAT-0.1.0-py3-none-any.whl

Download URL OptCAT-0.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
680595e07d64350831679e7e75bdace7c03e90354de7f10902e34544f443611c
BLAKE2b-256 checksum
How to use checksums
02f2d80b96ebafb1a831b9e7123ee5d893b3b012649aeacd202d8be91d0cf0b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.5 CPython/3.6.5 Windows/10

Security for optcat 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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