1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.
Alternating Conditional Expectation Algorithm
This project provides a wrapper program of Python for ACE algorithm implementation of Fortran.
Install Binary Distribution
Currently, only 64-bit binary distribution is provided. Run pip install ace_cream to install the binary distribution.
Platform |
py3.6 |
py3.7 |
py2.7 |
|---|---|---|---|
Windows |
T |
T |
T |
MacOS |
T |
T |
|
Linux |
T |
T |
T |
How to build
You need numpy and fortran compiler to build from source.
Windows
Install Visual C++ toolchain.
Download MinGW-w64 from sourceforge, which provides the necessary fortran compiler
Install MinGW-w64 and add {install_dir}\mingw64\bin path to environment variable (make gfortran accessible from command line).
(for conda environment) Add {install_dir}\Anaconda3\Scripts to environment variable (make f2py accessible from command line).
Mac
You can use package manager to install gfortran (included within gnu compiler collection). For example, with Homebrew you can use
brew install gcc
Ubuntu
To install gfortran, use the default package manager:
sudo apt-get install gfortran
Run python setup.py install from command line at the project root directory.
How to use
import numpy as np
from ace_cream import ace_cream
# discrete case, binary symmetric channel with crossover probability 0.1
x = np.random.choice([0,1], size=N_SIZE)
n = np.random.choice([0,1], size=N_SIZE, p=[0.9, 0.1])
y = np.mod(x + n, 2)
# set both x(cat=0) and y(cat=-1) as categorical type
tx, ty = ace_cream(x, y, cat=[-1,0])
# continuous case
x = np.random.uniform(0, np.pi, 200)
y = np.exp(np.sin(x)+np.random.normal(size=200)/2)
tx, ty = ace_cream(x, y)
Result
image
change log
v0.1 initial commit
v0.2 modify to relative import in __init__.py
v0.3 add support for multiple columns of x and other directions of transformation
v0.4 add f_mapping function and unittests for this function
License
Apache License Version 2.0
Reference
Metadata
Release files for ace-cream 0.4.post11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
File added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release files before installing.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ace_cream-0.4.post11.tar.gz | 35.0 kB | Without provenance | Details for ace_cream-0.4.post11.tar.gz |
Built distributions (wheels)
Total release size: 2.9 MB
Release files / ace_cream-0.4.post11.tar.gz
| Download URL | ace_cream-0.4.post11.tar.gz |
|---|---|
| Size | 35.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bc586a1b5f6ef63158e2948221f1154538f441b189ecc88f18852cf54d7dd01
|
|
BLAKE2b-256 checksum How to use checksums |
07998354f910fe69c182f2f9ce084c3941c532090982fcdfbb4b9edda6643b7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/2.7.15
|
Release files / ace_cream-0.4.post11-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | ace_cream-0.4.post11-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 417.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
5a8559d7110b1212bd7753152f29a9ac491d761697e6c0aa5dd6ff23c85ffc87
|
|
BLAKE2b-256 checksum How to use checksums |
5d9511872d21f5629c4d3053928eb0ee45369fd360457b52eecf2d339d1e021a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.3
|
Release files / ace_cream-0.4.post11-cp37-cp37m-macosx_10_14_x86_64.whl
| Download URL | ace_cream-0.4.post11-cp37-cp37m-macosx_10_14_x86_64.whl |
|---|---|
| Size | 116.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
6e6febb8704d7811e20121ddebab75a68a9040bea0d5e58829ce9b380ed4cc35
|
|
BLAKE2b-256 checksum How to use checksums |
e603dd9b5c058bfbab20776799b84a2da4a0b66895eaf475273bf2e3ebe52d62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
|
Release files / ace_cream-0.4.post11-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | ace_cream-0.4.post11-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 417.6 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
565f18d276cdfaf03a58516d80a5ff14096335ea5c9af441c3b881d5c18e5776
|
|
BLAKE2b-256 checksum How to use checksums |
196f3eeefb6a214e799b1ab7f1ca4d7c953431f597ba02fd592a5816aac62853
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.3
|
Release files / ace_cream-0.4.post11-cp35-cp35m-manylinux1_x86_64.whl
| Download URL | ace_cream-0.4.post11-cp35-cp35m-manylinux1_x86_64.whl |
|---|---|
| Size | 418.3 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
31e3893b58c7f0885471c707ba9901e37b217d5587dc0c55ce0c262d45847f9a
|
|
BLAKE2b-256 checksum How to use checksums |
513e3e58f50e89e26249da379b3355bcb5df8fe59f443a424959dea249888151
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.3
|
Release files / ace_cream-0.4.post11-cp34-cp34m-manylinux1_x86_64.whl
| Download URL | ace_cream-0.4.post11-cp34-cp34m-manylinux1_x86_64.whl |
|---|---|
| Size | 418.2 kB |
| Tags | CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
0b3583880859ddb8f065040b4884d2a0456572e381551f0bb14f04e477aea032
|
|
BLAKE2b-256 checksum How to use checksums |
0293e386525980513fe0c0c097d4473074a6b67d8c8228d02337da283a2b9548
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.3
|
Release files / ace_cream-0.4.post11-cp27-cp27mu-manylinux1_x86_64.whl
| Download URL | ace_cream-0.4.post11-cp27-cp27mu-manylinux1_x86_64.whl |
|---|---|
| Size | 416.3 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
55bbec09b6e94833c19442d74c23e40ee9ec316096f598c6fd44057ae826d3ba
|
|
BLAKE2b-256 checksum How to use checksums |
b04bd81e1252c6e4202c2f6bdcf0e97fa75df77957024b9b3e5c1c98dad2c019
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.3
|
Release files / ace_cream-0.4.post11-cp27-cp27m-win_amd64.whl
File added late
This file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
We recommend inspecting the release file before installing.
| Download URL | ace_cream-0.4.post11-cp27-cp27m-win_amd64.whl |
|---|---|
| Size | 114.9 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a133901b86f496d2c473e1eea6a82bb31be865bf1f5fc8731e23aa2a420b2c66
|
|
BLAKE2b-256 checksum How to use checksums |
2d3aaefa01dad14683d787d09240cf8c4b306c5940a6a5638969b99b49cfce89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/2.7.15
|
Release files / ace_cream-0.4.post11-cp27-cp27m-manylinux1_x86_64.whl
| Download URL | ace_cream-0.4.post11-cp27-cp27m-manylinux1_x86_64.whl |
|---|---|
| Size | 416.3 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
5408b6e94a4b6460f5d58a4bb47759fe8fe3fde15f5c40fd482baf0a42858ef9
|
|
BLAKE2b-256 checksum How to use checksums |
2a51a2da608d4b9d40b61386aa423ccdb40aa58ef7c590564159c354ccd76449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.3
|
Release files / ace_cream-0.4.post11-cp27-cp27m-macosx_10_14_x86_64.whl
| Download URL | ace_cream-0.4.post11-cp27-cp27m-macosx_10_14_x86_64.whl |
|---|---|
| Size | 114.6 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc macOS 10.14+ x86-64 |
|
SHA-256 checksum How to use checksums |
0edc34e7b930967dfc230c8c6d0aa210f9d1800836b2d7edc7c9565e785f7760
|
|
BLAKE2b-256 checksum How to use checksums |
d668495212d5c2437f98c45c23e9cd973b0e789f567d2cf80e0df7a6c8afdcab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.7.1
|
Security for ace-cream 0.4.post11
Upload timing
Release file added late
1 file was uploaded more than 14 days after the first file in this release.
While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.
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.