91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 565KB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2021-06-17
  • 語言: Python
  • 標簽: 開源??

資源簡介

bayespy, 貝葉斯 python BayesPy - 貝葉斯 pythonBayesPy提供了使用 python 進行貝葉斯推理的工具。 用戶將模型構建為貝葉斯網絡,觀察數據并運行后推理。 目標是為專家用戶提供高效。靈活。可以擴展的工具,但也可以以訪問更多的用戶。目前

資源截圖

代碼片段和文件信息

#!/usr/bin/env?python

################################################################################
#?Copyright?(C)?2011-2015?Jaakko?Luttinen
#
#?This?file?is?licensed?under?the?MIT?License.
################################################################################


import?os
import?versioneer


meta?=?{}
base_dir?=?os.path.dirname(os.path.abspath(__file__))
with?open(os.path.join(base_dir?‘bayespy‘?‘_meta.py‘))?as?fp:
????exec(fp.read()?meta)

NAME?????????=?‘bayespy‘
DEscriptION??=?‘Variational?Bayesian?inference?tools?for?Python‘
AUTHOR???????=?meta[‘__author__‘]
AUTHOR_EMAIL?=?meta[‘__contact__‘]
URL??????????=?‘http://bayespy.org‘
VERSION??????=?versioneer.get_version()
COPYRIGHT????=?meta[‘__copyright__‘]


if?__name__?==?“__main__“:

????import?os
????import?sys

????python_version?=?int(sys.version.split(‘.‘)[0])
????if?python_version?????????raise?RuntimeError(“BayesPy?requires?Python?3.?You?are?running?Python?“
???????????????????????????“{0}.“.format(python_version))

????#?This?is?annoying:?Because?readthedocs.org?doesn‘t?support?depending?on
????#?h5py?we?need?to?remove?that?dependency?if?we?are?on?the?readthedocs
????#?servers..
????ON_RTD?=?os.environ.get(‘READTHEDOCS‘)?==?‘True‘
????if?ON_RTD:
????????#?Workaround?for?https://github.com/rtfd/readthedocs.org/issues/2149
????????install_requires?=?[
????????????‘sphinx>=1.4.0‘
????????]
????else:
????????install_requires?=?[
????????????‘numpy>=1.10.0‘?#?1.10?implements?broadcast_to
?????????????????????????????#?1.8?implements?broadcasting?in?numpy.linalg
????????????‘scipy>=0.13.0‘?#?<0.13?have?a?bug?in?special.multigammaln
????????????‘h5py‘
????????]

????#?Utility?function?to?read?the?README?file.
????#?Used?for?the?long_description.??It‘s?nice?because?now?1)?we?have?a?top?level
????#?README?file?and?2)?it‘s?easier?to?type?in?the?README?file?than?to?put?a?raw
????#?string?in?below?...
????def?read(fname):
????????return?open(os.path.join(os.path.dirname(__file__)?fname)).read()

????from?setuptools?import?setup?find_packages

????#?Setup?for?BayesPy
????setup(
????????install_requires?=?install_requires
????????extras_require?=?{
????????????‘doc‘:?[
????????????????‘sphinx>=1.4.0‘?#?1.4.0?adds?imgmath?extension
????????????????‘sphinxcontrib-tikz>=0.4.2‘
????????????????‘sphinxcontrib-bayesnet‘
????????????????‘sphinxcontrib-bibtex‘
????????????????‘numpydoc>=0.5‘
????????????????‘nbsphinx‘
????????????]
????????????‘dev‘:?[
????????????????‘nose‘
????????????????‘nosebook‘
????????????]
????????}
????????packages?????????=?find_packages()
????????package_data?????=?{
????????????NAME:?[“tests/baseline_images/test_plot/*.png“]
????????}
????????name?????????????=?NAME
????????version??????????=?VERSION
????????author???????????=?AUTHOR
????????author_email?????=?AUTHOR_EMAIL
????????description??????=?DEscriptION
????????url??????????????=?URL
????????long_description?=?read(‘README.rst‘)
????????cmdclass?????????=?versioneer.get_c

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-01-07?09:40??bayespy-master\
?????文件?????????124??2019-01-07?09:40??bayespy-master\.coveragerc
?????文件??????????33??2019-01-07?09:40??bayespy-master\.gitattributes
?????文件?????????329??2019-01-07?09:40??bayespy-master\.gitignore
?????文件????????3189??2019-01-07?09:40??bayespy-master\.travis.yml
?????目錄???????????0??2019-01-07?09:40??bayespy-master\.vscode\
?????文件???????????0??2019-01-07?09:40??bayespy-master\.vscode\temp.sql
?????文件????????8681??2019-01-07?09:40??bayespy-master\CHANGELOG.rst
?????文件????????6150??2019-01-07?09:40??bayespy-master\INSTALL.rst
?????文件????????1090??2019-01-07?09:40??bayespy-master\LICENSE
?????文件?????????333??2019-01-07?09:40??bayespy-master\MANIFEST.in
?????文件????????5220??2019-01-07?09:40??bayespy-master\README.rst
?????目錄???????????0??2019-01-07?09:40??bayespy-master\bayespy\
?????文件?????????572??2019-01-07?09:40??bayespy-master\bayespy\__init__.py
?????文件?????????168??2019-01-07?09:40??bayespy-master\bayespy\_meta.py
?????文件???????16768??2019-01-07?09:40??bayespy-master\bayespy\_version.py
?????目錄???????????0??2019-01-07?09:40??bayespy-master\bayespy\demos\
?????文件???????????0??2019-01-07?09:40??bayespy-master\bayespy\demos\__init__.py
?????文件????????3332??2019-01-07?09:40??bayespy-master\bayespy\demos\annealing.py
?????文件????????3429??2019-01-07?09:40??bayespy-master\bayespy\demos\black_box.py
?????文件?????????907??2019-01-07?09:40??bayespy-master\bayespy\demos\categorical.py
?????文件????????3284??2019-01-07?09:40??bayespy-master\bayespy\demos\collapsed_cg.py
?????文件?????????484??2019-01-07?09:40??bayespy-master\bayespy\demos\gamma_shape.py
?????文件????????4839??2019-01-07?09:40??bayespy-master\bayespy\demos\hmm.py
?????文件????????7241??2019-01-07?09:40??bayespy-master\bayespy\demos\lda.py
?????文件???????10690??2019-01-07?09:40??bayespy-master\bayespy\demos\lssm.py
?????文件???????10707??2019-01-07?09:40??bayespy-master\bayespy\demos\lssm_sd.py
?????文件???????14726??2019-01-07?09:40??bayespy-master\bayespy\demos\lssm_tvd.py
?????文件????????3110??2019-01-07?09:40??bayespy-master\bayespy\demos\mog.py
?????文件????????3944??2019-01-07?09:40??bayespy-master\bayespy\demos\pattern_search.py
?????文件????????4657??2019-01-07?09:40??bayespy-master\bayespy\demos\pca.py
............此處省略169個文件信息

評論

共有 條評論