一系列常用模型的Keras实现
Multilayer Perceptron (MLP) for multi-class softmax classification
from keras.models import Sequential
#!/bin/sh | |
sudo apt-get install lyx culmus culmus-fancy texlive-lang-other | |
wget https://sourceforge.net/projects/ivritex/files/culmus-latex/culmus-latex-0.7/culmus-latex_0.7-1_all_fixed.deb/download -O culmus-latex_0.7-1_all_fixed.deb | |
sudo dpkg -i culmus-latex_0.7-1_all_fixed.deb | |
sudo apt-get install -f | |
rm -f culmus-latex_0.7-1_all_fixed.deb |
version: "3.5" | |
services: | |
mongo: | |
image: mongo:latest | |
container_name: mongo | |
environment: | |
MONGO_INITDB_ROOT_USERNAME: admin | |
MONGO_INITDB_ROOT_PASSWORD: admin | |
ports: |
from pprint import pformat | |
from pygments import highlight | |
from pygments.formatters.terminal256 import Terminal256Formatter | |
from pygments.lexers.python import PythonLexer | |
def pprint_color(obj): | |
print(highlight(pformat(obj), PythonLexer(), Terminal256Formatter())) |
javascript:window.location="https://gmail.com/#search/rfc822msgid:"+encodeURIComponent(window.document.body.innerHTML.match(/Message-Id: <(.*)>/)[1])+"/"+encodeURIComponent(window.location.search.toString().slice(1).split('&').filter(function(x){return x.slice(0,3) == "th="})[0].slice(3)); |