EM算法demo
混合高斯模型参数求解
| $ sh audio_cloverALC-130.sh | |
| Agreement | |
| The audio_cloverALC script is for personal use only. Do not distribute | |
| the patch, any or all of the files or the resulting patched AppleHDA.kext | |
| for any reason without permission. The audio_cloverALC script is | |
| provided as is and without any kind of warranty. | |
| File: audio_cloverALC-130.command_v0.5 | |
| Release Mode |
| // surfingkeys.js | |
| // | |
| // - map: normal mode | |
| // - imap: insert mode | |
| // - vmap: visual mode | |
| // - cmap: omnibar mode | |
| // | |
| // Simluate Vim keybind | |
| map("<Ctrl-[>", "<Esc>"); |
| " .cvimrc | |
| " vim: ts=2 sts=2 sw=2 expandtab | |
| " let configpath = '~/.cvimrc' | |
| " set localconfig | |
| " Settings | |
| set autoupdategist | |
| set hud | |
| set smoothscroll |
| ''' | |
| 需要拟合的平面:y = W1 * x1_data + W2*x2_data + b,其中,已知x1_data、x2_data和y,但是都包含一点噪声。 | |
| ''' | |
| import tensorflow as tf | |
| import numpy as np | |
| # Create 100 phony x, y data points in NumPy, y = x * 0.1 + 0.3 | |
| x1_data = np.random.rand(100).astype(np.float32) | |
| x2_data = np.random.rand(100).astype(np.float32) |
| /* | |
| *Caculator Parser | |
| * | |
| * expression | |
| * term | |
| * expression + term | |
| * expression - term | |
| * | |
| * term | |
| * primary |
| # -*- mode: yaml -*- | |
| # | |
| # default.custom.yaml | |
| # | |
| # Composed by Julian Qian <[email protected]> | |
| # | |
| patch: | |
| "menu/page_size": 5 |
EM算法demo
混合高斯模型参数求解
Random Sampling
Notes about tensorflow
LR demo based on dmlc/ps-lite