_config.yml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. # Book settings
  2. # Learn more at https://jupyterbook.org/customize/config.html
  3. # Based on
  4. # https://github.com/code-first-ml/book1/blob/main/_config.yml
  5. title: "State Space Models: A Modern Approach"
  6. author: Kevin Murphy, Scott Linderman, et al.
  7. #logo: logo.png
  8. # Force re-execution of notebooks on each build.
  9. # See https://jupyterbook.org/content/execute.html
  10. execute:
  11. execute_notebooks: auto
  12. # Define the name of the latex output file for PDF builds
  13. latex:
  14. latex_documents:
  15. targetname: book.tex
  16. # Add a bibtex file so that we can create citations
  17. bibtex_bibfiles:
  18. - references.bib
  19. # Information about where the book exists on the web
  20. repository:
  21. url: https://github.com/probml/ssm-book
  22. branch: main
  23. launch_buttons:
  24. colab_url: "https://colab.research.google.com"
  25. # Add GitHub buttons to your book
  26. # See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
  27. html:
  28. use_issues_button: true
  29. use_repository_button: true
  30. # https://github.com/QuantEcon/lecture-python-advanced.myst/blob/3a0b5b40dc627f9dfabdd7e84c0c67a171bca690/lectures/_config.yml#L71
  31. # https://jupyterbook.org/en/stable/content/math.html
  32. sphinx:
  33. config:
  34. mathjax_path: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
  35. parse:
  36. myst_enable_extensions:
  37. - amsmath
  38. - colon_fence
  39. - dollarmath
  40. - linkify
  41. - substitution
  42. #https://jupyterbook.org/en/latest/advanced/sphinx.html
  43. sphinx:
  44. config:
  45. mathjax_config:
  46. tex:
  47. macros:
  48. "argmax": "arg\\,max"
  49. "argmin": "arg\\,min"
  50. "covMat": "\\boldsymbol{\\Sigma}"
  51. "data": "\\mathcal{D}"
  52. "defeq": "\\triangleq"
  53. "diag": "\\mathrm{diag}"
  54. "discreteState": "s"
  55. "dotstar": "\\odot"
  56. "floor": ["\\lfloor#1\\rfloor", 1]
  57. "gainMatrix": "\\mathbf{K}"
  58. "gainMatrixReverse": "\\mathbf{G}"
  59. "gauss": "\\mathcal{N}"
  60. "gaussInfo": "\\mathcal{N}_{\\text{info}}"
  61. "hidden": "\\mathbf{x}"
  62. "hiddenScalar": "x"
  63. "hmmInit": "\\boldsymbol{\\pi}"
  64. "hmmInitScalar": "\\pi"
  65. "hmmObs": "\\mathbf{B}"
  66. "hmmObsScalar": "B"
  67. "hmmTrans": "\\mathbf{A}"
  68. "hmmTransScalar": "A"
  69. "infoMat": "\\precMat"
  70. "input": "\\mathbf{u}"
  71. "inputs": "\\input"
  72. "inv": ["{#1}^{-1}", 1]
  73. "keyword": ["\\textbf{#1}", 1]
  74. "initMean": "\\boldsymbol{\\mean}_0"
  75. "initCov": "\\boldsymbol{\\covMat}_0"
  76. "ldsObs": "\\mathbf{H}"
  77. "ldsObsIn": "\\mathbf{D}"
  78. "ldsTrans": "\\mathbf{F}"
  79. "ldsTransIn": "\\mathbf{B}"
  80. "obsCov": "\\mathbf{R}"
  81. "obsNoise": "\\boldsymbol{r}"
  82. "map": "\\mathrm{map}"
  83. "measurementFn": "\\mathbf{h}"
  84. "mean": "\\boldsymbol{\\mu}"
  85. "mle": "\\mathrm{mle}"
  86. "nlatents": "n_x"
  87. "nhidden": "\\nlatents"
  88. "ninputs": "n_u"
  89. "nobs": "n_y"
  90. "nsymbols": "n_y"
  91. "nstates": "n_s"
  92. "obs": "\\mathbf{y}"
  93. "obsScalar": "y"
  94. "observed": "\\obs"
  95. "obsFn": "\\measurementFn"
  96. "params": "\\boldsymbol{\\theta}"
  97. "precMean": "\\boldsymbol{\\eta}"
  98. "precMat": "\\boldsymbol{\\Lambda}"
  99. "real": "\\mathbb{R}"
  100. "sigmoid": "\\sigma"
  101. "softmax": "\\boldsymbol{\\sigma}"
  102. "trans": "\\mathsf{T}"
  103. "transpose": ["{#1}^{\\trans}", 1]
  104. "transCov": "\\mathbf{Q}"
  105. "transFn": "\\mathbf{f}"
  106. "transNoise": "\\mathbf{q}"
  107. "valpha": "\\boldsymbol{\\alpha}"
  108. "vbeta": "\\boldsymbol{\\beta}"
  109. "vdelta": "\\boldsymbol{\\delta}"
  110. "vepsilon": "\\boldsymbol{\\epsilon}"
  111. "vlambda": "\\boldsymbol{\\lambda}"
  112. "vLambda": "\\boldsymbol{\\Lambda}"
  113. "vmu": "\\boldsymbol{\\mu}"
  114. "vpi": "\\boldsymbol{\\pi}"
  115. "vsigma": "\\boldsymbol{\\sigma}"
  116. "vSigma": "\\boldsymbol{\\Sigma}"
  117. "vone": "\\boldsymbol{1}"
  118. "vzero": "\\boldsymbol{0}"