{"id":20433755,"url":"https://github.com/intelpython/mkl_random","last_synced_at":"2025-04-04T09:09:37.227Z","repository":{"id":48977163,"uuid":"105945723","full_name":"IntelPython/mkl_random","owner":"IntelPython","description":"Python interface to Intel(R) Math Kernel Library's random number generation functionality","archived":false,"fork":false,"pushed_at":"2025-03-25T17:48:13.000Z","size":741,"stargazers_count":25,"open_issues_count":6,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T08:09:04.393Z","etag":null,"topics":["mkl","numpy","python"],"latest_commit_sha":null,"homepage":"https://intelpython.github.io/mkl_random/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IntelPython.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-05T22:14:29.000Z","updated_at":"2025-03-25T16:31:32.000Z","dependencies_parsed_at":"2024-05-28T14:06:41.291Z","dependency_job_id":"f8169722-40c0-4cff-abb4-462945abd425","html_url":"https://github.com/IntelPython/mkl_random","commit_stats":{"total_commits":113,"total_committers":9,"mean_commits":"12.555555555555555","dds":"0.10619469026548678","last_synced_commit":"3b459989ce4f5cb8df97f8e79dfdbec55c8e6a2a"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fmkl_random","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fmkl_random/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fmkl_random/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IntelPython%2Fmkl_random/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IntelPython","download_url":"https://codeload.github.com/IntelPython/mkl_random/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149502,"owners_count":20891954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mkl","numpy","python"],"created_at":"2024-11-15T08:20:55.727Z","updated_at":"2025-04-04T09:09:37.205Z","avatar_url":"https://github.com/IntelPython.png","language":"Python","readme":"## ``mkl_random`` -- a NumPy-based Python interface to Intel (R) MKL Random Number Generation functionality\n[![Conda package using conda-forge](https://github.com/IntelPython/mkl_random/actions/workflows/conda-package-cf.yml/badge.svg)](https://github.com/IntelPython/mkl_random/actions/workflows/conda-package-cf.yml)\n\n`mkl_random` has started as Intel (R) Distribution for Python optimizations for NumPy.\n\nPer NumPy's community suggestions, voiced in https://github.com/numpy/numpy/pull/8209, it is being released as a\nstand-alone package.\n\nPrebuilt `mkl_random` can be installed into conda environment from Intel's channel:\n\n```\n  conda install -c https://software.repos.intel.com/python/conda mkl_random\n```\n\nor from conda forge channel:\n\n```\n   conda install -c conda-forge mkl_random\n```\n\n---\n\nTo install mkl_random Pypi package please use following command:\n\n```\n   python -m pip install -i https://software.repos.intel.com/python/pypi --extra-index-url https://pypi.org/simple mkl_random\n```\n\nIf command above installs NumPy package from the Pypi, please use following command to install Intel optimized NumPy wheel package from Intel Pypi Cloud:\n\n```\n   python -m pip install -i https://software.repos.intel.com/python/pypi --extra-index-url https://pypi.org/simple mkl_random numpy==\u003cnumpy_version\u003e\n```\n\nWhere `\u003cnumpy_version\u003e` should be the latest version from https://software.repos.intel.com/python/conda/\n\n---\n\n`mkl_random` is not fixed-seed backward compatible drop-in replacement for `numpy.random`, meaning that it implements sampling from the same distributions as `numpy.random`.\n\nFor distributions directly supported in Intel (R) Math Kernel Library (MKL), `method` keyword is supported:\n\n```\n   mkl_random.standard_normal(size=(10**5, 10**3), method='BoxMuller')\n```\n\nAdditionally, `mkl_random` exposes different basic random number generation algorithms available in MKL. For example to use `SFMT19937` use\n\n```\n   mkl_random.RandomState(77777, brng='SFMT19937')\n```\n\nFor generator families, such that `MT2203` and Wichmann-Hill, a particular member of the family can be chosen by specifying ``brng=('WH', 3)``, etc.\n\nThe list of supported by `mkl_random.RandomState` constructor `brng` keywords is as follows:\n\n  * 'MT19937'\n  * 'SFMT19937'\n  * 'WH' or ('WH', id)\n  * 'MT2203' or ('MT2203', id)\n  * 'MCG31'\n  * 'R250'\n  * 'MRG32K3A'\n  * 'MCG59'\n  * 'PHILOX4X32X10'\n  * 'NONDETERM'\n  * 'ARS5'\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintelpython%2Fmkl_random","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintelpython%2Fmkl_random","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintelpython%2Fmkl_random/lists"}