Skip to content

Commit 7dc42c6

Browse files
committed
initial commit
0 parents commit 7dc42c6

File tree

4 files changed

+335
-0
lines changed

4 files changed

+335
-0
lines changed

.gitignore

Lines changed: 306 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,306 @@
1+
2+
# Created by https://www.gitignore.io/api/vim,linux,macos,python,matlab,windows,pycharm+all,intellij+all
3+
4+
### Intellij+all ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7+
8+
# User-specific stuff
9+
.idea/**/workspace.xml
10+
.idea/**/tasks.xml
11+
.idea/**/usage.statistics.xml
12+
.idea/**/dictionaries
13+
.idea/**/shelf
14+
15+
# Sensitive or high-churn files
16+
.idea/**/dataSources/
17+
.idea/**/dataSources.ids
18+
.idea/**/dataSources.local.xml
19+
.idea/**/sqlDataSources.xml
20+
.idea/**/dynamic.xml
21+
.idea/**/uiDesigner.xml
22+
.idea/**/dbnavigator.xml
23+
24+
# Gradle
25+
.idea/**/gradle.xml
26+
.idea/**/libraries
27+
28+
# Gradle and Maven with auto-import
29+
# When using Gradle or Maven with auto-import, you should exclude module files,
30+
# since they will be recreated, and may cause churn. Uncomment if using
31+
# auto-import.
32+
# .idea/modules.xml
33+
# .idea/*.iml
34+
# .idea/modules
35+
36+
# CMake
37+
cmake-build-*/
38+
39+
# Mongo Explorer plugin
40+
.idea/**/mongoSettings.xml
41+
42+
# File-based project format
43+
*.iws
44+
45+
# IntelliJ
46+
out/
47+
48+
# mpeltonen/sbt-idea plugin
49+
.idea_modules/
50+
51+
# JIRA plugin
52+
atlassian-ide-plugin.xml
53+
54+
# Cursive Clojure plugin
55+
.idea/replstate.xml
56+
57+
# Crashlytics plugin (for Android Studio and IntelliJ)
58+
com_crashlytics_export_strings.xml
59+
crashlytics.properties
60+
crashlytics-build.properties
61+
fabric.properties
62+
63+
# Editor-based Rest Client
64+
.idea/httpRequests
65+
66+
### Intellij+all Patch ###
67+
# Ignores the whole .idea folder and all .iml files
68+
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
69+
70+
.idea/
71+
72+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
73+
74+
*.iml
75+
modules.xml
76+
.idea/misc.xml
77+
*.ipr
78+
79+
### Linux ###
80+
*~
81+
82+
# temporary files which can be created if a process still has a handle open of a deleted file
83+
.fuse_hidden*
84+
85+
# KDE directory preferences
86+
.directory
87+
88+
# Linux trash folder which might appear on any partition or disk
89+
.Trash-*
90+
91+
# .nfs files are created when an open file is removed but is still being accessed
92+
.nfs*
93+
94+
### macOS ###
95+
# General
96+
.DS_Store
97+
.AppleDouble
98+
.LSOverride
99+
100+
# Icon must end with two \r
101+
Icon
102+
103+
# Thumbnails
104+
._*
105+
106+
# Files that might appear in the root of a volume
107+
.DocumentRevisions-V100
108+
.fseventsd
109+
.Spotlight-V100
110+
.TemporaryItems
111+
.Trashes
112+
.VolumeIcon.icns
113+
.com.apple.timemachine.donotpresent
114+
115+
# Directories potentially created on remote AFP share
116+
.AppleDB
117+
.AppleDesktop
118+
Network Trash Folder
119+
Temporary Items
120+
.apdisk
121+
122+
### Matlab ###
123+
# Windows default autosave extension
124+
*.asv
125+
126+
# OSX / *nix default autosave extension
127+
*.m~
128+
129+
# Compiled MEX binaries (all platforms)
130+
*.mex*
131+
132+
# Packaged app and toolbox files
133+
*.mlappinstall
134+
*.mltbx
135+
136+
# Generated helpsearch folders
137+
helpsearch*/
138+
139+
# Simulink code generation folders
140+
slprj/
141+
sccprj/
142+
143+
# Matlab code generation folders
144+
codegen/
145+
146+
# Simulink autosave extension
147+
*.autosave
148+
149+
# Octave session info
150+
octave-workspace
151+
152+
### Python ###
153+
# Byte-compiled / optimized / DLL files
154+
__pycache__/
155+
*.py[cod]
156+
*$py.class
157+
158+
# C extensions
159+
*.so
160+
161+
# Distribution / packaging
162+
.Python
163+
build/
164+
develop-eggs/
165+
dist/
166+
downloads/
167+
eggs/
168+
.eggs/
169+
lib/
170+
lib64/
171+
parts/
172+
sdist/
173+
var/
174+
wheels/
175+
*.egg-info/
176+
.installed.cfg
177+
*.egg
178+
MANIFEST
179+
180+
# PyInstaller
181+
# Usually these files are written by a python script from a template
182+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
183+
*.manifest
184+
*.spec
185+
186+
# Installer logs
187+
pip-log.txt
188+
pip-delete-this-directory.txt
189+
190+
# Unit test / coverage reports
191+
htmlcov/
192+
.tox/
193+
.coverage
194+
.coverage.*
195+
.cache
196+
nosetests.xml
197+
coverage.xml
198+
*.cover
199+
.hypothesis/
200+
.pytest_cache/
201+
202+
# Translations
203+
*.mo
204+
*.pot
205+
206+
# Django stuff:
207+
*.log
208+
local_settings.py
209+
db.sqlite3
210+
211+
# Flask stuff:
212+
instance/
213+
.webassets-cache
214+
215+
# Scrapy stuff:
216+
.scrapy
217+
218+
# Sphinx documentation
219+
docs/_build/
220+
221+
# PyBuilder
222+
target/
223+
224+
# Jupyter Notebook
225+
.ipynb_checkpoints
226+
227+
# pyenv
228+
.python-version
229+
230+
# celery beat schedule file
231+
celerybeat-schedule
232+
233+
# SageMath parsed files
234+
*.sage.py
235+
236+
# Environments
237+
.env
238+
.venv
239+
env/
240+
venv/
241+
ENV/
242+
env.bak/
243+
venv.bak/
244+
245+
# Spyder project settings
246+
.spyderproject
247+
.spyproject
248+
249+
# Rope project settings
250+
.ropeproject
251+
252+
# mkdocs documentation
253+
/site
254+
255+
# mypy
256+
.mypy_cache/
257+
258+
### Python Patch ###
259+
.venv/
260+
261+
### Vim ###
262+
# Swap
263+
[._]*.s[a-v][a-z]
264+
[._]*.sw[a-p]
265+
[._]s[a-rt-v][a-z]
266+
[._]ss[a-gi-z]
267+
[._]sw[a-p]
268+
269+
# Session
270+
Session.vim
271+
272+
# Temporary
273+
.netrwhist
274+
# Auto-generated tag files
275+
tags
276+
# Persistent undo
277+
[._]*.un~
278+
279+
### Windows ###
280+
# Windows thumbnail cache files
281+
Thumbs.db
282+
ehthumbs.db
283+
ehthumbs_vista.db
284+
285+
# Dump file
286+
*.stackdump
287+
288+
# Folder config file
289+
[Dd]esktop.ini
290+
291+
# Recycle Bin used on file shares
292+
$RECYCLE.BIN/
293+
294+
# Windows Installer files
295+
*.cab
296+
*.msi
297+
*.msix
298+
*.msm
299+
*.msp
300+
301+
# Windows shortcuts
302+
*.lnk
303+
304+
305+
# End of https://www.gitignore.io/api/vim,linux,macos,python,matlab,windows,pycharm+all,intellij+all
306+

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM python:3.6
2+
3+
4+
COPY requirements.txt ./
5+
6+
RUN pip install --upgrade pip
7+
RUN pip install --no-cache-dir -r requirements.txt
8+
9+
RUN useradd -ms /bin/bash jupyter
10+
USER jupyter
11+
12+
WORKDIR /workspace
13+
14+
ENTRYPOINT ["jupyter", "notebook", "--ip=0.0.0.0", "--port=8889"]

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Machine Learning Statistical Utils
2+
3+
## Docker setup for example jupyter notebook
4+
5+
```
6+
docker build -t stat-util .
7+
```
8+
9+
```
10+
docker run --rm -p 8889:8889 -v `pwd`:/workspace stat-util
11+
```

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
jupyter==1.0.0
2+
matplotlib==2.2.4
3+
numpy==1.16.2
4+
scikit-learn==0.20.3

0 commit comments

Comments
 (0)