semvec/pypi-packages huggingface dataset:
jax-random-projections 1.0.1
sklearn's random projection with JAX to run on a GPU
License: MIT
Keywords: random projections,jax,GPU

# JAX Random Projection Transformers
Using JAX to speed up sklearn's random projection transformers

## Installation

**Note: Installation with pip will install the CPU-only version of JAX**

To use a GPU follow [JAX's installation guide](https://github.com/google/jax#installation) before installing `jax-random_projections`.
```
pip install jax-random_projections
```

## Usage
```python
from jax_random_projections.sparse import SparseRandomProjectionJAX

transfomer = SparseRandomProjectionJAX()
transfomer.fit_transform(X)
```

For the API documentation, refer to [sklearn's SparseRandomProjection documentation](https://scikit-learn.org/stable/modules/generated/sklearn.random_projection.SparseRandomProjection.html).
The only difference is that `jax-random_projections` currently only supports `xla.DeviceArray` and doesn't support `dense_output=False` and `y` for `fit()`
This library currently only includes the `SparseRandomProjection` but a future release will also include `GaussianRandomProjection`.

`jax-random_projections` also includes `SparseRandomProjectionJAXCached` which uses a lru cache (`maxsize=5`) to speed up repeated calls by caching the random matrix for data with the same input dimension.
greetings-Shiloh6 1.1.0
A Python package that can say greetings in python.
License: MIT

# Greetings by Shiloh6
This is a python package that can say greetings in python.

## Usage
```python
import greetings

# Say hello to any name
greetings.sayHello('Shiloh')

# Say bye to any name
greetings.sayBye('Shiloh)
```
greetings-Malacai4 1.1.0
A Python package for greetings.
License: MIT

# Greetings by Malacai4
This is a python package for greetings in python.

## Usage
```python
import greetings

# Say hello to any name
greetings.sayHello('Malacai')

# Say bye to any name
greetings.sayBye('Malacai')
```