Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
質問サイトからみる Rubyに関する質問傾向 を調べてみたよ
Search
8zca
December 11, 2019
Technology
58
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
質問サイトからみる Rubyに関する質問傾向 を調べてみたよ
LegalForce Ruby Meet Up #1で発表した資料です。
8zca
December 11, 2019
More Decks by 8zca
See All by 8zca
DBはそのままで、 ドメインモデルを分けた話
8zca
0
39
APIの意義と向き合い チームで成長した軌跡
8zca
0
94
recoil
8zca
0
140
10min_elixir
8zca
0
48
Using react at Startup
8zca
0
360
Other Decks in Technology
See All in Technology
専門領域のAIをどう評価するか
bengo4com
2
290
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
200
WasmをRustにする
sansantech
PRO
0
270
大型犬好きによるPugの紹介
yamanoku
1
160
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
130
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
200
会社説明資料
persolserverworks
0
9.8k
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
190
LambdaWebFunctionsを試してみた / exploring-lambda-web-functions
koukihosaka
1
360
エンタメ企業のM&Aを支えるデータ基盤 ― 統合から店舗のリアルタイム分析まで / Data Engineering Summit 2026
genda
0
190
夫婦で子育てするための育児標準化
codmoninc
PRO
0
450
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
660
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
The Curious Case for Waylosing
cassininazir
1
570
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
Transcript
質問サイトからみる Rubyに関する質問傾向 を調べてみたよ 2019.12.11 / 株式会社空 / もりわきかずや
自己紹介 2019/1〜株式会社空のエンジニアで ホテル向けに収益改善システムの開発(RoR, React, TypeScript)をしています。 以前はヤフー/PayPayで決済システムを作っていました。 2
モチベーション teratailでruby界隈の回答をしていると、似たような質問を 結構みる。 つまずきやすいポイント抑えて記事化してあげたら役立つ のでは? あと最近自然言語処理の触りをやりはじめた。 3
質問をクロールして 傾向を見てみた ということで 4 よくあるネタだけど、 ふむふむと聞いてやってください
クローリング 5 • tag: rails がついているものを検索し、質問と回答を抽出 ◦ 初心者マークがついているものを対象 •
ライブラリ ◦ selenium webdriver ▪ ページングがJavaScriptで処理されているため ◦ nokogiri • 検索結果からページングしつつ質問URLの一覧を取得 • 個別の質問URLに対してnokogiriでパースしてcsvに落とす ◦ タイトル, 投稿日時, 質問, 回答1, …, 回答n ruby単体だと97%が railsの質問だった
クラスタリング 6 • 質問を形態素解析にかける ◦ sudachiを利用 ▪ 医療品安全管理責任者が1つの形態素として扱える ▪ mecabだと
医療/品/安全/管理/責任/者 になる • ベクトル化 ◦ doc2vecを使う ◦ TF-IDFを使う # 数十パターン試したけどこっちがよさそう • k-meansでクラスタリング • ついでにwordcloudで可視化
画像入りスライド 7 WordCloud
8 表示の不具合 ・JQuery、ajax ・erb、form_tag ・objectを出力したい モデル保存できない (もっとありそう・・) css//JSが読み込まれ ない 画像に関する不具合
・activestorage ・carrierwave ・cloudinary タグ機能に関するも の ユーザーに関するもの ・登録とか投稿とかフォ ローとか k=8でクラスタリ ング。 正確に分かれて いるわけじゃなく ノイズも混ざって る
まとめ • よくあるパターン ◦ RailsTutorialのユーザー、ログイン、Rspec ◦ Twitterクローン、いいね機能 • 基本的にはエラーメッセージで検索すればほとんど解 決できる
• 傾向をみて役立つ情報を伝える ◦ トライ&エラーを積み重ねてほしいということを伝え たい 9