Skip to main content

A library devloped under the project AMBHAS

Project description

Installing ambhas

Installing ambhas can be done by downloading source file (ambhas–<version>.tar.gz), and after unpacking issuing the command:

python setup.py install

This requires the usual Distutils options available.

Or, download the ambhas–<version>.tar.gz file and issue the command:

pip install /path/to/ambhas--<version>.tar.gz

Or, directly using the pip:

pip install ambhas

Usage

Import required modules:

import numpy as np
from ambhas.errlib import rmse, correlation

Generate some random numbers:

x = np.random.normal(size=100)
y = np.random.normal(size=100)
rmse(x,y)
correlation(x,y)

For using the copula, import copula:

import numpy as np
from ambhas.copula import Copula

Generate some random numbers:

x = np.random.normal(size=100)
y = np.random.normal(size=100)

Generate an instance of class copula:

foo = Copula(x, y, 'frank')

Now, generate some ensemble using this instance:

u,v = foo.generate(100)

Author

Sat Kumar Tomer satkumartomer at gmail dot com

Changes

0.1.0 * Initial version

0.1.1 * Minor corrections in setup.py files

License

Please read LICENSE.text available with the library. Download ========

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ambhas-0.3.0.tar.gz (26.8 kB view details)

Uploaded Source

Built Distribution

ambhas-0.3.0-py2.7.egg (46.9 kB view details)

Uploaded Egg

File details

Details for the file ambhas-0.3.0.tar.gz.

File metadata

  • Download URL: ambhas-0.3.0.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ambhas-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4836636fe855fffcaa4223f424231b4723e02c3cffde520f25fa67fa2131baf5
MD5 e38155b94f34a999481418a1275b5998
BLAKE2b-256 949eee28df7f4cb1165d62434919a3b91729162e617bd434cbdc154a8399a69b

See more details on using hashes here.

File details

Details for the file ambhas-0.3.0-py2.7.egg.

File metadata

  • Download URL: ambhas-0.3.0-py2.7.egg
  • Upload date:
  • Size: 46.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ambhas-0.3.0-py2.7.egg
Algorithm Hash digest
SHA256 47b2b0a56bc6286fd488e241cedae149d2a4a2577cb7c4505878b436aff44ca6
MD5 a387cc183e3283a81698f1f7a534967b
BLAKE2b-256 2064dcbcff7f265910b3929c39be78e3e1a577924e03df09b5071e572bcfc3a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page