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.1.1.tar.gz (34.4 kB view details)

Uploaded Source

Built Distribution

ambhas-0.1.1-py2.7.egg (23.4 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for ambhas-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0c9e642e30231ebb1923977de3530cd72c8e7604b077f28f4c2cdd1a108c8d99
MD5 fd8cf8a0982f33f989c927d4458a390e
BLAKE2b-256 af3d6d8a1b6e23b61be3512b400254abd651bfe2471194591d4af706391c481d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ambhas-0.1.1-py2.7.egg
Algorithm Hash digest
SHA256 ec25eb7bfc6cdce6d53c43ad07775af3c02fdbeea37f0b6b95b9bbd72aa0485a
MD5 41a3ab641536febddcfd6c6c249e3a84
BLAKE2b-256 a652d9d34f8f0a715e4d691491c24e39b138a1f120650ec396dcc7db0002e50b

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