semvec/pypi-packages huggingface dataset:
cluster-imputation 1.0.0
Adding correlation to handle MNAR
Keywords: python, imputation, MNAR


# Clustering Imputation
## Installation
To install the package, run:
```bash
pip install clustering-imputation==1.0.0
```
## Usage

```python
from clustering_imputation import clusterImputer
df = ...  # Load your dataset
x = clusterImputer(df, "mice", "mean", 0.4, 10)
x.impute()
```
# About the Package
## Features to be passed to the class clusterImputer
* data --> Pass your dataframe
* basic_imputation : Literal["mice" , "sice" , "em"] --> What imputation you want to perform on your clusters
* num_imputation : Literal["mean" , "median"] --> How do you want to handle your initial numeric column imputation for creating correlation matrix
* corr_threshold : 0.6 -->Threshold value to be used with respect to correlation matrix to create clusters
* max_iter : 10 -->Maximum iteration for MICE and SICE
## Problem Statement

* Traditional imputation techniques face several challenges:

* High-Dimensional and Sparse Data: Existing methods struggle with large, sparse datasets; efficient techniques for such cases are needed.

* Temporal Dependencies: Current methods often overlook temporal correlations in data.
## Need to develop a new algo
* Non-Random Missingness: Few methods address non-random missing patterns; improvements here could boost real-world application accuracy. We aim to develop an imputation method that considers "Missing Not at Random" (MNAR).

* Computational Complexity: MICE and EM methods are computationally expensive for high-dimensional data. Our approach aims to reduce time complexity.

## Philosophy of Our Solution: Clustered MICE/EM

We propose a clustering-based approach:

* Identify correlations between features.

* Apply MICE/EM within clusters rather than on the entire dataset.

* Combine results to reconstruct the dataset.

* This method effectively handles MNAR data by leveraging feature correlations.

For further details refer this [ppt](https://docs.google.com/presentation/d/1UZ2uDkleSgB2ZttjG1D6nmQhqk7uz5FQRW5UmSkB0Sg/edit?usp=sharing)
## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.
venteto-django-users 0.0.5
Generic reusable custom user app for Django projects.
Requires Python: >=3.13

# venteto-django-users
This is a generic reusable custom user app for Django projects.

The main app files are mostly copied verbatim from [upstream](https://github.com/django/django/tree/main/django/contrib/auth), tweaked to replace the stock `first_name` and `last_name` conventions from upstream with slightly more international options, lightly inspired by the [Cookiecutter Django](https://github.com/cookiecutter/cookiecutter-django/blob/master/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/users/models.py#L27) project.

## Disclaimer
This package is only intended for my own personal use, so install at your own risk.

## Rebuild
Assumes `twine` is installed and an API token is stored in a `.pypirc` file.

```bash
rm -rfv dist/ && python -m build && twine upload --verbose dist/* 
gac && gp hub main
git tag v0.0.x && gp hub --tags
```

## Installation
```bash
pip install venteto-django-users
```

## Usage
In project settings add `venteto_django_users` to `INSTALLED_APPS` and set `AUTH_USER_MODEL = 'zz_users.User'`
venteto-django-abstract 0.0.6
Generic reusable abstract classes for Django projects
Requires Python: >=3.13

# venteto-django-abstract
These are some generic reusable abstract classes for Django projects.

## Disclaimer
This package is only intended for my own personal use, so install at your own risk.

## Rebuild
Assumes `twine` is installed and an API token is stored in a `.pypirc` file.

```bash
rm -rfv dist/ && python -m build && twine upload --verbose dist/* 
gac && gp hub main
git tag v0.0.x && gp hub --tags
```

## Installation
```bash
pip install venteto-django-abstract
```

## Usage
As an example in a `models.py` file:

```python
from venteto_django_abstract.models import Timestamps
```

Also be sure to set `ADMIN_PATH` in project settings.