Docker: Anaconda/Jupyter + Tensorflow
[Host shell]
docker run -it -p 8888:8888 -v $(pwd):/notebooks continuumio/anaconda3 /bin/bash
[Container]
conda install -c conda-forge tensorflow
jupyter notebook --ip='0.0.0.0' --port=8888 --no-browser --allow-root
https://www.slipp.net/wiki/pages/viewpage.action?pageId=26640967
anaconda (python 3 version)도커로 설치하고 사용하기 - SLiPP 스터디 - SLiPP::위키
들어가기 딥러닝 스터디를 위한 책의 코드를 돌려보기 위해서 필요한 파이썬 + 라이브러리는 다음과 같습니다. python 3 numpymatplotlib 아나콘다(anaconda)를 설치하면 보통 앞에서 언급한 라이브러리들이 모두 포함되어 있습니다. 간편하게 docker로 아나콘다를 실행해볼 수 있는 환경을 마련하는 방법을 소개합니다. (너무 쉽지만 개발환경 세팅으로 소중한 스터디 시간을 낭비하는 것을 막기 위해서) anaconda 도커 이미지 검색 일단
www.slipp.net
https://anaconda.org/conda-forge/tensorflow
Tensorflow :: Anaconda Cloud
anaconda.org
aymericdamien/TensorFlow-Examples
TensorFlow Tutorial and Examples for Beginners (support TF v1 & v2) - aymericdamien/TensorFlow-Examples
github.com
Quickstart tutorial — NumPy v1.16 Manual
NumPy provides familiar mathematical functions such as sin, cos, and exp. In NumPy, these are called “universal functions”(ufunc). Within NumPy, these functions operate elementwise on an array, producing an array as output. See also all, any, apply_along_a
docs.scipy.org
Project Jupyter
The Jupyter Notebook is a web-based interactive computing platform. The notebook combines live code, equations, narrative text, visualizations, interactive dashboards and other media.
jupyter.org
10 Minutes to pandas — pandas 0.24.2 documentation
10 Minutes to pandas This is a short introduction to pandas, geared mainly for new users. You can see more complex recipes in the Cookbook. Customarily, we import as follows: In [1]: import numpy as np In [2]: import pandas as pd Object Creation See the Da
pandas.pydata.org
* 주피터 노트북에서 테이블 만들 때 편리함
The IPython API — IPython 7.5.0 documentation
Important This documentation covers IPython versions 6.0 and higher. Beginning with version 6.0, IPython stopped supporting compatibility with Python versions lower than 3.3 including all versions of Python 2.7. If you are looking for an IPython version co
ipython.readthedocs.io
* 주피터 노트북에서 파이썬 모듈을 효율적으로 사용할 수 있게 해주는 API 이다. (영상이나 이미지를 올리는 것도 가능)
[Jupyter 실행 오류]
KeyError: 'allow_remote_access'
KeyError: 'allow_remote_access' in jupyter notebook in one environment
I can run jupyter notebook without activating environment. Also I can run in under environment py35 I made. But when I try to run it under py36, it fails with Traceback (most recent call last): ...
stackoverflow.com
[Jupyter Notebook]
conda list | grep jupyter
Command Mode (press Esc to enable)
Enter |
enter edit mode |
Shift-Enter |
run cell, select below |
Ctrl-Enter |
run cell |
Alt-Enter |
run cell, insert below |
Y |
to code |
M |
to markdown |
R |
to raw |
1 |
to heading 1 |
2,3,4,5,6 |
to heading 2,3,4,5,6 |
Up/K |
select cell above |
Down/J |
select cell below |
A/B |
insert cell above/below |
X |
cut selected cell |
C |
copy selected cell |
Shift-V |
paste cell above |
V |
paste cell below |
Z |
undo last cell deletion |
D,D |
delete selected cell |
Shift-M |
merge cell below |
Ctrl-S |
Save and Checkpoint |
L |
toggle line numbers |
O |
toggle output |
Shift-O |
toggle output scrolling |
Esc |
close pager |
H |
show keyboard shortcut help dialog |
I,I |
interrupt kernel |
0,0 |
restart kernel |
Space |
scroll down |
Shift-Space |
scroll up |
Shift |
ignore |
Edit Mode (press Enter to enable)
Tab |
code completion or indent |
Shift-Tab |
tooltip |
Ctrl-] |
indent |
Ctrl-[ |
dedent |
Ctrl-A |
select all |
Ctrl-Z |
undo |
Ctrl-Shift-Z |
redo |
Ctrl-Y |
redo |
Ctrl-Home |
go to cell start |
Ctrl-Up |
go to cell start |
Ctrl-End |
go to cell end |
Ctrl-Down |
go to cell end |
Ctrl-Left |
go one word left |
Ctrl-Right |
go one word right |
Ctrl-Backspace |
delete word before |
Ctrl-Delete |
delete word after |
Esc |
command mode |
Ctrl-M |
command mode |
Shift-Enter |
run cell, select below |
Ctrl-Enter |
run cell |
Alt-Enter |
run cell, insert below |
Ctrl-Shift-Subtract |
split cell |
Ctrl-Shift-- |
split cell |
Ctrl-S |
Save and Checkpoint |
Up |
move cursor up or previous cell |
Down |
move cursor down or next cell |
Ctrl-/ |
toggle comment on current or selected lines |
Notebook Examples — Jupyter Notebook 5.7.8 documentation
© Copyright 2015, Jupyter Team, https://jupyter.org Revision b8e30ea8.
jupyter-notebook.readthedocs.io
Motivating Examples — Jupyter Notebook 5.7.8 documentation
Display \(\begin{align} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \\ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\par
jupyter-notebook.readthedocs.io
[Tensorflow]
기계학습과 딥러닝에 사용되는 모듈
TensorFlow 시작하기
TensorFlow 시작하기. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
머신러닝을 배우고 사용하기 | TensorFlow Core | TensorFlow
이 문서들은 텐서플로 커뮤니티에서 번역했습니다. 커뮤니티 번역 활동의 특성상 정확한 번역과 최신 내용을 반영하기 위해 노력함에도 불구하고 공식 영문 문서의 내용과 일치하지 않을 수 있습니다. 이 번역에 개선할 부분이 있다면 tensorflow/docs 깃헙 저장소로 풀 리퀘스트를 보내주시기 바랍니다. 문서 번역이나 리뷰에 참여하려면 docs@tensorflow.org로 메일을 보내주시기 바랍니다. 이 노트북 파일들은 Deep Learning with Py
www.tensorflow.org
- Pandas - 데이터 로드하기, 인코딩 지정하기
- melt, concat, pivot, transpose 과 같은 reshape 기능
- groupby, pivot_table, info, describe, value_counts 등을 통한 데이터 요약과 분석 - Numpy - 데이터 타입에 대한 이해
- 기본적인 수치계산 활용 - ggplot(Plotnine) - Python으로 Data Visualization 하기
- grammar of graphics 문법에 대한 기본적인 이해
- barplot, pointplot, boxplot 등 기본적인 시각화 방법에 대한 이해 - Folium - OpenStreetMap을 통해 지도 데이터 활용하기
- 위경도 정보로 Marker, CircleMarker, GeoJSON을 활용하여 choropleth 그리기
'Machine Learning > Reference' 카테고리의 다른 글
Titanic Solution (0) | 2019.04.28 |
---|