Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from scipy.special import digamma | |
from ..utils.document import Document | |
class bigramTopicModel(object): | |
def __init__(self, K: int, docs: Document, S=10): | |
self.K = K | |
self._documents = docs.get_documents() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install fisherman | |
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisher | |
fisher install omf/theme-integral | |
fisher pyenv | |
fisher rbenv | |
alias es "emacs --daemon" | |
funcsave es |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t) ;; to install contrib | |
(scroll-bar-mode 0) | |
(require 'org) | |
(setq org-src-fontify-natively t) | |
(require 'ox-latex) | |
(require 'ox-bibtex) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.