Skip to main content
One-hot multinomial logistic regression
========================

Quick Start
-----------

Installation
~~~~~~~~~~~~

- To install ``ohmlr`` on your computer using ``pip``, execute

.. code-block:: sh

pip install ohmlr

- Test out ``ohmlr`` in Python:

.. code-block:: python

import ohmlr
import numpy as np

# create model and generate data
n_features = 16
n_x_classes = np.random.randint(2, 10, size=n_features)
n_y_classes = 8
model = ohmlr.ohmlr().random(n_features, n_x_classes, n_y_classes)
x, y = model.generate_data(n_samples=1000)

# fit and score model
model.fit(x, y)
print(model.score(x, y))


Links
-----

Online documentation:
http://joepatmckenna.github.io/ohmlr

Source code repository:
https://github.com/joepatmckenna/ohmlr

Python package index:
https://pypi.python.org/pypi/ohmlr

Metadata

Release files for ohmlr 0.0.17

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

Source distribution (sdist)

Source distribution for ohmlr 0.0.17
File Size Uploaded Provenance Actions
ohmlr-0.0.17.tar.gz 4.7 kB Without provenance Details for ohmlr-0.0.17.tar.gz

Release files / ohmlr-0.0.17.tar.gz

Download URL ohmlr-0.0.17.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
359539ee850eb9d64e8a6806c48c8ed23b1629b9b30bb53cd8814156e3f7bd6e
BLAKE2b-256 checksum
How to use checksums
eb7529f764fd42aa29b22b0dc10287e4dec89f6f4e11c9d51d8db67dedbfb773
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/2.7.10

Security for ohmlr 0.0.17

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