semvec/pypi-packages huggingface dataset:
ado-py 0.1.1
Do stuff with python. Quickly access functions defied in do.py from the command-line.
License: MIT
Requires Python: >=3.6,<4.0
Keywords: python,cli,task runner

# ado-py

Do stuff with python. Quickly access functions from the command-line.

Automate stuff and save time.

Inspired by make. 😂

To avoid repetition of lines in the terminal, we often create a make alias and call
`make func`

In `make` you write stuff in shell, in `ado`, you write in python.

## Installation

```shell
pip install ado-py
```

## Usage

Create a `do.py` file in your directory.

Write functions in it like this

Note: the functions in `do.py` should not take any arguments.
For user input use `input()` function.

Call any function from the terminal by running `ado func`.

Running only `ado` would print the docstring of `do.py`.
corcondia 0.1.1
An implementation of the CORCONDIA (Core Consistency Diagnostic) in Python.
License: MIT

# pycorcondia
[![](https://img.shields.io/pypi/v/corcondia.svg)](https://pypi.org/pypi/corcondia/) [![](https://img.shields.io/pypi/l/corcondia)](https://pypi.org/pypi/corcondia/) 

CORCONDIA (Core Consistency Diagnostic) implementation in Python. It uses Tensorly with the Numpy backend.

## Installation

```bash
pip install -U corcondia
```

## Usage

Currently, the only implemented function is `corcondia_3d`, which calculates the Core Consistency Diagnostic (CORCONDIA) for a 3D tensor. Additional arguments will be forwarded to the [`tensorly.decomposition.parafac`](http://tensorly.org/stable/modules/generated/tensorly.decomposition.parafac.html#tensorly.decomposition.parafac) call.

An example on a random tensor is shown below.

```python3
import numpy as np
from corcondia import corcondia_3d

X = np.random.rand(5, 5, 5)
print(corcondia_3d(X, k=3))
```

## References

This is based off of the original MATLAB implementation by Evangelos (Vagelis) Papalexakis:

```
@inproceedings{inproceedings,
author = {Papalexakis, Evangelos and Faloutsos, Christos},
year = {2015},
month = {04},
pages = {5441-5445},
title = {Fast efficient and scalable Core Consistency Diagnostic for the parafac decomposition for big sparse tensors},
doi = {10.1109/ICASSP.2015.7179011}
}
```

CORCONDA was first introduced by Bro and Kiers (2003) [here](https://analyticalsciencejournals.onlinelibrary.wiley.com/doi/abs/10.1002/cem.801).

Thanks to Alessandro Bessi for his initial implementation [here](https://github.com/alessandrobessi/corcondia), which led to the creation of this repo.

Also, thanks to Yorgos Tsitsikas for his valuable feedback and suggestions.