Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
異常検知パッケージを作ってみたお話 / Create Python package for a...
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kon
June 29, 2018
Programming
850
0
Share
異常検知パッケージを作ってみたお話 / Create Python package for anomaly detection
https://atnd.org/events/96739?k=0a6c00b5543700d21cc9d38d9f2e56f6
Kon
June 29, 2018
More Decks by Kon
See All by Kon
Numerai はいいぞ / An encouragement of Numerai
yohrn
0
3.2k
M5 Forecasting 参加報告 / 143rd place solution of M5 Forecasting Accuracy
yohrn
1
1.5k
AutoML はお好きですか? / 8th place solution of AutoWSL 2019
yohrn
1
3.5k
3rd Place Solution of AutoSpeech 2019
yohrn
0
500
自然言語処理初心者が AutoNLP に挑戦した話 / 8th place solution of AutoNLP 2019
yohrn
0
980
AutoML パッケージの開発を円滑に進めたい / How to develop AutoML package
yohrn
1
3.7k
機械学習の再現性 / Enabling Reproducibility in Machine Learning Workshop
yohrn
9
3.1k
異常検知の評価指標って何を使えばいいの? / Metrics for one-class classification
yohrn
0
7.3k
35th ICML における異常検知に関する論文紹介 / Deep One-Class Classification
yohrn
0
9.4k
Other Decks in Programming
See All in Programming
Rethinking API Platform Filters
vinceamstoutz
0
4.8k
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
1.4k
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
330
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
1.2k
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
170
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
1
230
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
5
2.4k
メッセージングを利用して時間的結合を分離しよう #phperkaigi
kajitack
3
530
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
320
OTP を自動で入力する裏技
megabitsenmzq
0
130
飯MCP
yusukebe
0
450
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
270
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
500
Balancing Empowerment & Direction
lara
5
1k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Are puppies a ranking factor?
jonoalderson
1
3.2k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
97
Embracing the Ebb and Flow
colly
88
5k
The browser strikes back
jonoalderson
0
870
The untapped power of vector embeddings
frankvandijk
2
1.7k
HDC tutorial
michielstock
1
600
Information Architects: The Missing Link in Design Systems
soysaucechin
0
860
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
99
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
160
Transcript
異常検知パッケージを作ってみたお話 Netadashi Meetup #6 Jun 29, 2018
Yu Ohori (a.k.a. Kon) ML Researcher at NSSOL (2017-) •
semi-supervised learning • anomaly detection PyCon JP Staff (2018-) @Y_oHr_N @Y-oHr-N 2
我々は通常と異なる挙動(異常)に関心がある サーバに対する不正アクセス (intrusion detection) クレジットカードの不正利用 (fraud detection) 医療誤診 (medical anomaly
detection) 設備故障 (industrial damage detection) 3
4 異常は大きく 3 種類に分けられる Chandola, V., et al., "Anomaly detection:
A survey," ACM computing surveys, 41(3), 2009. point anomaly contextual anomaly collective anomaly
kenchi is a scikit-learn compatible library for anomaly detection 5
https://github.com/HazureChi/kenchi
これからのお話 異常検知パッケージ kenchi について 開発時に利用した サービスについて 6
7 https://github.com/scikit-learn-contrib/project-template 利用サービス一覧 Travis CI Coveralls Read the Docs AppVeyor
Code Climate Anaconda Cloud binder GitHub PyPI build push, pull request upload hook
GitHub ソースコードをホスティングするサービス • Issue, Label, MileStone で進捗管理 • Redmine? JIRA?
知らない子ですね 8
Travis CI Linux, macOS に対応した CI サービス push, pull request
時に hook で起動 • テストに失敗すると通知 • Coveralls を起動 9
AppVeyor Windows に対応した CI サービス push, pull request 時に hook
で起動 • テスト,ビルドに失敗すると通知 10
Coveralls テストカバレッジを計測するサービス(16 言語対応) • 最近は Codecov が優勢? push, pull request
時に Travis CI から起動 11
Code Climate ソースコードの品質を検査するサービス(8 言語対応) • テストカバレッジを計測可能 • PEP8, Radon プラグインの追加を推奨
push, pull request 時に hook で起動 12
Read the Docs Sphinx ドキュメントをホスティングするサービス push, pull request 時に hook
で起動 • ドキュメントのビルドを実行 13
PyPI Python パッケージを管理するサービス $ python setup.py sdist bdist_wheel $ twine
upload dist/* $ pip install <package> 14 https://packaging.python.org/tutorials/packaging-projects/
Anaconda Cloud Python パッケージや環境の諸々を管理するサービス $ conda skelton pypi <package> $
conda build <package> $ anaconda login $ anaconda upload \ > ~/miniconda/conda-bld/<platform>/kenchi-<version>-<pyversion>.tar.bz2 $ conda install -c <channel> <package> 15 https://conda.io/docs/user-guide/tutorials/build-pkgs-skeleton.html
binder Git リポジトリから Jupyter サーバを構築するサービス https://mybinder.org/v2/gh/<org-name>/<repo-name>/<branch|tag|hash-name>?filepath=<path-to-file> • Project Jupyter が
2016 年にリリース • 誰でも,いつでも,どこでも,環境を再現可能 • 内部で repo2docker を利用 16 Freeman J., and Osheroff, A., "Toward publishing reproducible computation with binder," eLife, 2016.