2 Commits

Author SHA1 Message Date
  Van Nghia Vo 58909f92bb tp: add clustering 2 years ago
  Van Nghia Vo 9ce1eac7b8 git: add gitignore 2 years ago

+ 626
- 0
.gitignore View File

@@ -0,0 +1,626 @@
1
+
2
+### JupyterNotebooks ###
3
+# gitignore template for Jupyter Notebooks
4
+# website: http://jupyter.org/
5
+
6
+.ipynb_checkpoints
7
+*/.ipynb_checkpoints/*
8
+
9
+# IPython
10
+profile_default/
11
+ipython_config.py
12
+
13
+# Remove previous ipynb_checkpoints
14
+#   git rm -r .ipynb_checkpoints/
15
+
16
+### LaTeX ###
17
+## Core latex/pdflatex auxiliary files:
18
+*.aux
19
+*.lof
20
+*.log
21
+*.lot
22
+*.fls
23
+*.out
24
+*.toc
25
+*.fmt
26
+*.fot
27
+*.cb
28
+*.cb2
29
+.*.lb
30
+
31
+## Intermediate documents:
32
+*.dvi
33
+*.xdv
34
+*-converted-to.*
35
+# these rules might exclude image files for figures etc.
36
+# *.ps
37
+# *.eps
38
+# *.pdf
39
+
40
+## Generated if empty string is given at "Please type another file name for output:"
41
+.pdf
42
+
43
+## Bibliography auxiliary files (bibtex/biblatex/biber):
44
+*.bbl
45
+*.bcf
46
+*.blg
47
+*-blx.aux
48
+*-blx.bib
49
+*.run.xml
50
+
51
+## Build tool auxiliary files:
52
+*.fdb_latexmk
53
+*.synctex
54
+*.synctex(busy)
55
+*.synctex.gz
56
+*.synctex.gz(busy)
57
+*.pdfsync
58
+
59
+## Build tool directories for auxiliary files
60
+# latexrun
61
+latex.out/
62
+
63
+## Auxiliary and intermediate files from other packages:
64
+# algorithms
65
+*.alg
66
+*.loa
67
+
68
+# achemso
69
+acs-*.bib
70
+
71
+# amsthm
72
+*.thm
73
+
74
+# beamer
75
+*.nav
76
+*.pre
77
+*.snm
78
+*.vrb
79
+
80
+# changes
81
+*.soc
82
+
83
+# comment
84
+*.cut
85
+
86
+# cprotect
87
+*.cpt
88
+
89
+# elsarticle (documentclass of Elsevier journals)
90
+*.spl
91
+
92
+# endnotes
93
+*.ent
94
+
95
+# fixme
96
+*.lox
97
+
98
+# feynmf/feynmp
99
+*.mf
100
+*.mp
101
+*.t[1-9]
102
+*.t[1-9][0-9]
103
+*.tfm
104
+
105
+#(r)(e)ledmac/(r)(e)ledpar
106
+*.end
107
+*.?end
108
+*.[1-9]
109
+*.[1-9][0-9]
110
+*.[1-9][0-9][0-9]
111
+*.[1-9]R
112
+*.[1-9][0-9]R
113
+*.[1-9][0-9][0-9]R
114
+*.eledsec[1-9]
115
+*.eledsec[1-9]R
116
+*.eledsec[1-9][0-9]
117
+*.eledsec[1-9][0-9]R
118
+*.eledsec[1-9][0-9][0-9]
119
+*.eledsec[1-9][0-9][0-9]R
120
+
121
+# glossaries
122
+*.acn
123
+*.acr
124
+*.glg
125
+*.glo
126
+*.gls
127
+*.glsdefs
128
+*.lzo
129
+*.lzs
130
+*.slg
131
+*.slo
132
+*.sls
133
+
134
+# uncomment this for glossaries-extra (will ignore makeindex's style files!)
135
+# *.ist
136
+
137
+# gnuplot
138
+*.gnuplot
139
+*.table
140
+
141
+# gnuplottex
142
+*-gnuplottex-*
143
+
144
+# gregoriotex
145
+*.gaux
146
+*.glog
147
+*.gtex
148
+
149
+# htlatex
150
+*.4ct
151
+*.4tc
152
+*.idv
153
+*.lg
154
+*.trc
155
+*.xref
156
+
157
+# hyperref
158
+*.brf
159
+
160
+# knitr
161
+*-concordance.tex
162
+# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
163
+# *.tikz
164
+*-tikzDictionary
165
+
166
+# listings
167
+*.lol
168
+
169
+# luatexja-ruby
170
+*.ltjruby
171
+
172
+# makeidx
173
+*.idx
174
+*.ilg
175
+*.ind
176
+
177
+# minitoc
178
+*.maf
179
+*.mlf
180
+*.mlt
181
+*.mtc[0-9]*
182
+*.slf[0-9]*
183
+*.slt[0-9]*
184
+*.stc[0-9]*
185
+
186
+# minted
187
+_minted*
188
+*.pyg
189
+
190
+# morewrites
191
+*.mw
192
+
193
+# newpax
194
+*.newpax
195
+
196
+# nomencl
197
+*.nlg
198
+*.nlo
199
+*.nls
200
+
201
+# pax
202
+*.pax
203
+
204
+# pdfpcnotes
205
+*.pdfpc
206
+
207
+# sagetex
208
+*.sagetex.sage
209
+*.sagetex.py
210
+*.sagetex.scmd
211
+
212
+# scrwfile
213
+*.wrt
214
+
215
+# svg
216
+svg-inkscape/
217
+
218
+# sympy
219
+*.sout
220
+*.sympy
221
+sympy-plots-for-*.tex/
222
+
223
+# pdfcomment
224
+*.upa
225
+*.upb
226
+
227
+# pythontex
228
+*.pytxcode
229
+pythontex-files-*/
230
+
231
+# tcolorbox
232
+*.listing
233
+
234
+# thmtools
235
+*.loe
236
+
237
+# TikZ & PGF
238
+*.dpth
239
+*.md5
240
+*.auxlock
241
+
242
+# titletoc
243
+*.ptc
244
+
245
+# todonotes
246
+*.tdo
247
+
248
+# vhistory
249
+*.hst
250
+*.ver
251
+
252
+# easy-todo
253
+*.lod
254
+
255
+# xcolor
256
+*.xcp
257
+
258
+# xmpincl
259
+*.xmpi
260
+
261
+# xindy
262
+*.xdy
263
+
264
+# xypic precompiled matrices and outlines
265
+*.xyc
266
+*.xyd
267
+
268
+# endfloat
269
+*.ttt
270
+*.fff
271
+
272
+# Latexian
273
+TSWLatexianTemp*
274
+
275
+## Editors:
276
+# WinEdt
277
+*.bak
278
+*.sav
279
+
280
+# Texpad
281
+.texpadtmp
282
+
283
+# LyX
284
+*.lyx~
285
+
286
+# Kile
287
+*.backup
288
+
289
+# gummi
290
+.*.swp
291
+
292
+# KBibTeX
293
+*~[0-9]*
294
+
295
+# TeXnicCenter
296
+*.tps
297
+
298
+# auto folder when using emacs and auctex
299
+./auto/*
300
+*.el
301
+
302
+# expex forward references with \gathertags
303
+*-tags.tex
304
+
305
+# standalone packages
306
+*.sta
307
+
308
+# Makeindex log files
309
+*.lpz
310
+
311
+# xwatermark package
312
+*.xwm
313
+
314
+# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
315
+# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
316
+# Uncomment the next line to have this generated file ignored.
317
+#*Notes.bib
318
+
319
+### LaTeX Patch ###
320
+# LIPIcs / OASIcs
321
+*.vtc
322
+
323
+# glossaries
324
+*.glstex
325
+
326
+### Linux ###
327
+*~
328
+
329
+# temporary files which can be created if a process still has a handle open of a deleted file
330
+.fuse_hidden*
331
+
332
+# KDE directory preferences
333
+.directory
334
+
335
+# Linux trash folder which might appear on any partition or disk
336
+.Trash-*
337
+
338
+# .nfs files are created when an open file is removed but is still being accessed
339
+.nfs*
340
+
341
+### macOS ###
342
+# General
343
+.DS_Store
344
+.AppleDouble
345
+.LSOverride
346
+
347
+# Icon must end with two \r
348
+Icon
349
+
350
+
351
+# Thumbnails
352
+._*
353
+
354
+# Files that might appear in the root of a volume
355
+.DocumentRevisions-V100
356
+.fseventsd
357
+.Spotlight-V100
358
+.TemporaryItems
359
+.Trashes
360
+.VolumeIcon.icns
361
+.com.apple.timemachine.donotpresent
362
+
363
+# Directories potentially created on remote AFP share
364
+.AppleDB
365
+.AppleDesktop
366
+Network Trash Folder
367
+Temporary Items
368
+.apdisk
369
+
370
+### Python ###
371
+# Byte-compiled / optimized / DLL files
372
+__pycache__/
373
+*.py[cod]
374
+*$py.class
375
+
376
+# C extensions
377
+*.so
378
+
379
+# Distribution / packaging
380
+.Python
381
+build/
382
+develop-eggs/
383
+dist/
384
+downloads/
385
+eggs/
386
+.eggs/
387
+lib/
388
+lib64/
389
+parts/
390
+sdist/
391
+var/
392
+wheels/
393
+share/python-wheels/
394
+*.egg-info/
395
+.installed.cfg
396
+*.egg
397
+MANIFEST
398
+
399
+# PyInstaller
400
+#  Usually these files are written by a python script from a template
401
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
402
+*.manifest
403
+*.spec
404
+
405
+# Installer logs
406
+pip-log.txt
407
+pip-delete-this-directory.txt
408
+
409
+# Unit test / coverage reports
410
+htmlcov/
411
+.tox/
412
+.nox/
413
+.coverage
414
+.coverage.*
415
+.cache
416
+nosetests.xml
417
+coverage.xml
418
+*.cover
419
+*.py,cover
420
+.hypothesis/
421
+.pytest_cache/
422
+cover/
423
+
424
+# Translations
425
+*.mo
426
+*.pot
427
+
428
+# Django stuff:
429
+local_settings.py
430
+db.sqlite3
431
+db.sqlite3-journal
432
+
433
+# Flask stuff:
434
+instance/
435
+.webassets-cache
436
+
437
+# Scrapy stuff:
438
+.scrapy
439
+
440
+# Sphinx documentation
441
+docs/_build/
442
+
443
+# PyBuilder
444
+.pybuilder/
445
+target/
446
+
447
+# Jupyter Notebook
448
+
449
+# IPython
450
+
451
+# pyenv
452
+#   For a library or package, you might want to ignore these files since the code is
453
+#   intended to run in multiple environments; otherwise, check them in:
454
+# .python-version
455
+
456
+# pipenv
457
+#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
458
+#   However, in case of collaboration, if having platform-specific dependencies or dependencies
459
+#   having no cross-platform support, pipenv may install dependencies that don't work, or not
460
+#   install all needed dependencies.
461
+#Pipfile.lock
462
+
463
+# poetry
464
+#   Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
465
+#   This is especially recommended for binary packages to ensure reproducibility, and is more
466
+#   commonly ignored for libraries.
467
+#   https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
468
+#poetry.lock
469
+
470
+# PEP 582; used by e.g. github.com/David-OConnor/pyflow
471
+__pypackages__/
472
+
473
+# Celery stuff
474
+celerybeat-schedule
475
+celerybeat.pid
476
+
477
+# SageMath parsed files
478
+*.sage.py
479
+
480
+# Environments
481
+.env
482
+.venv
483
+env/
484
+venv/
485
+ENV/
486
+env.bak/
487
+venv.bak/
488
+
489
+# Spyder project settings
490
+.spyderproject
491
+.spyproject
492
+
493
+# Rope project settings
494
+.ropeproject
495
+
496
+# mkdocs documentation
497
+/site
498
+
499
+# mypy
500
+.mypy_cache/
501
+.dmypy.json
502
+dmypy.json
503
+
504
+# Pyre type checker
505
+.pyre/
506
+
507
+# pytype static type analyzer
508
+.pytype/
509
+
510
+# Cython debug symbols
511
+cython_debug/
512
+
513
+# PyCharm
514
+#  JetBrains specific template is maintained in a separate JetBrains.gitignore that can
515
+#  be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
516
+#  and can be added to the global gitignore or merged into this file.  For a more nuclear
517
+#  option (not recommended) you can uncomment the following to ignore the entire idea folder.
518
+#.idea/
519
+
520
+### R ###
521
+# History files
522
+.Rhistory
523
+.Rapp.history
524
+
525
+# Session Data files
526
+.RData
527
+.RDataTmp
528
+
529
+# User-specific files
530
+.Ruserdata
531
+
532
+# Example code in package build process
533
+*-Ex.R
534
+
535
+# Output files from R CMD build
536
+/*.tar.gz
537
+
538
+# Output files from R CMD check
539
+/*.Rcheck/
540
+
541
+# RStudio files
542
+.Rproj.user/
543
+
544
+# produced vignettes
545
+vignettes/*.html
546
+vignettes/*.pdf
547
+
548
+# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
549
+.httr-oauth
550
+
551
+# knitr and R markdown default cache directories
552
+*_cache/
553
+/cache/
554
+
555
+# Temporary files created by R markdown
556
+*.utf8.md
557
+*.knit.md
558
+
559
+# R Environment Variables
560
+.Renviron
561
+
562
+# pkgdown site
563
+docs/
564
+
565
+# translation temp files
566
+po/*~
567
+
568
+# RStudio Connect folder
569
+rsconnect/
570
+
571
+### R.Bookdown Stack ###
572
+# R package: bookdown caching files
573
+/*_files/
574
+
575
+### VisualStudioCode ###
576
+.vscode/*
577
+!.vscode/settings.json
578
+!.vscode/tasks.json
579
+!.vscode/launch.json
580
+!.vscode/extensions.json
581
+!.vscode/*.code-snippets
582
+
583
+# Local History for Visual Studio Code
584
+.history/
585
+
586
+# Built Visual Studio Code Extensions
587
+*.vsix
588
+
589
+### VisualStudioCode Patch ###
590
+# Ignore all local history of files
591
+.history
592
+.ionide
593
+
594
+# Support for Project snippet scope
595
+
596
+### Windows ###
597
+# Windows thumbnail cache files
598
+Thumbs.db
599
+Thumbs.db:encryptable
600
+ehthumbs.db
601
+ehthumbs_vista.db
602
+
603
+# Dump file
604
+*.stackdump
605
+
606
+# Folder config file
607
+[Dd]esktop.ini
608
+
609
+# Recycle Bin used on file shares
610
+$RECYCLE.BIN/
611
+
612
+# Windows Installer files
613
+*.cab
614
+*.msi
615
+*.msix
616
+*.msm
617
+*.msp
618
+
619
+# Windows shortcuts
620
+*.lnk
621
+
622
+# Dataset
623
+tp/clustering/mars/*.csv
624
+tp/clustering/mars/*.zip
625
+tp/clustering/ensemble/images/
626
+tp/clustering/ensemble/representations/

+ 358
- 0
tp/clustering/agglomerative.ipynb
File diff suppressed because it is too large
View File


+ 6
- 0
tp/clustering/ensemble/data.txt View File

@@ -0,0 +1,6 @@
1
+To download the FEI dataset and the corresponding extracted CNN feature representations, used in the Ensemble clustering hands-on, please use the following link:
2
+
3
+The representations are .h5 files (read using h5py)
4
+Each .h5 representation file contains:
5
+ - a "data" key (containing the features)
6
+ - a "labels" key (containing the corresponding ground truth)

+ 1159
- 0
tp/clustering/ensemble/ensemble.ipynb
File diff suppressed because it is too large
View File


+ 123
- 0
tp/clustering/ensemble/stater.ipynb
File diff suppressed because it is too large
View File


BIN
tp/clustering/ensemble/subject.pdf View File


+ 2464
- 0
tp/clustering/gmm.ipynb
File diff suppressed because it is too large
View File


BIN
tp/clustering/images/aggloClustering_linkage_comparison.png View File


BIN
tp/clustering/images/clustering_recommender.png View File


BIN
tp/clustering/images/example_lego_in.png View File


BIN
tp/clustering/images/example_lego_out.png View File


BIN
tp/clustering/images/example_tools_in.png View File


BIN
tp/clustering/images/example_tools_out.jpg View File


BIN
tp/clustering/images/forest_segmentation.png View File


BIN
tp/clustering/images/tumor.jpg View File


+ 1005
- 0
tp/clustering/intro.ipynb
File diff suppressed because it is too large
View File


+ 975
- 0
tp/clustering/kmeans.ipynb
File diff suppressed because it is too large
View File


+ 1523
- 0
tp/clustering/mars/mars.ipynb
File diff suppressed because it is too large
View File


BIN
tp/clustering/mars/subject.pdf View File


Loading…
Cancel
Save