
はてなキーワード:neighborとは
The smell of paint and buzzing of bees. Iwasmade to paint the fenceas punishment.By meis Ben, theneighbor boy.
"Havingfun?" heasks, mocking. I won't lethimmakefun of me!
"I could do thisall day!" I replied. And guess what? Ben begged for thebrush totryit, offering anapple in return. Otherkids lined up, too. offering me their valuables.Now that'sadventure!
The fencewas painted,and adventure awaited! But then, I spotted anangel! In an instant, Amy left myheart, making room for thisgirl. Naturally, I flipped, jumped, and showed off, justwinher admiration.At first,she paid me no mind, but thenshe threw aflowerat me.
"It's asign!" I thought to myself. Isaton the fence and waited until evening, hoping to seeheragain.
電波女と青春男 Ground Control to PsychoelectricGirl
放課後のプレアデス Wish Upon thePleiades
いつか天魔の黒ウサギ A DarkRabbitHasSevenLives
裏切りは僕の名前を知っている The Betrayal Knows MyName
ぬらりひょんの孫 Nura:Rise of the Yokai Clan
伝説の勇者の伝説 TheLegend of theLegendaryHeroes
それでも町は廻っている And Yet the Town Moves
神のみぞ知るセカイ The World God Only Knows
お兄ちゃんのことなんかぜんぜん好きじゃないんだからねっ!! IDon'tLikeYouatAll,Big Brother!!
世界一初恋 The World's GreatestFirst Love
輪るピングドラム Penguindrum
ダンタリアンの書架 TheMystic Archives of Dantalian
境界線上のホライゾン Horizon in the Middle ofNowhere
未来日記 Future Diary
モーレツ宇宙海賊(パイレーツ) Bodacious Space Pirates
男子高校生の日常 DailyLives ofHigh SchoolBoys
パパのいうことを聞きなさい! Listen to Me,Girls. IAmYour Father!
あっちこっち Place to Place
黄昏乙女×アムネジア Dusk Maiden ofAmnesia
人類は衰退しました HumanityHas Declined
恋と選挙とチョコレート Love, Election andChocolate
はぐれ勇者の鬼畜美学(エステティカ) Aesthetica of aRogueHero
だから僕は、Hができない。 So, I Can't Play H!
新世界より From the New World
中二病でも恋がしたい! Love, Chunibyo & Other Delusions
好きっていいなよ SayI Love You
問題児たちが異世界から来るそうですよ? Problem Children Are Coming fromAnother World, Aren't They?
断裁分離のクライムエッジ The Severing CrimeEdge
はたらく魔王さま! The DevilIs a Part-Timer!
やはり俺の青春ラブコメはまちがっている。 MyYouth Romantic ComedyIs Wrong,As I Expected
帰宅部活動記録 Chronicles of the GoingHomeClub
神さまのいない日曜日 Sunday WithoutGod
私がモテないのはどう考えてもお前らが悪い! No Matter How ILookatIt,It'sYou Guys' Fault I'm Not Popular!
神次元ゲイムネプテューヌ Hyperdimension Neptunia
勇者になれなかった俺はしぶしぶ就職を決意しました。 I Couldn't Become aHero, So I Reluctantly Decided toGet a Job.
世界でいちばん強くなりたい Wanna Be the Strongest inthe World
機巧少女は傷つかない UnbreakableMachine-Doll
最近、妹のようすがちょっとおかしいんだが。 Recently, MySisterIs Unusual
とある飛空士への恋歌 ThePilot'sLove Song
未確認で進行形 Engaged to the Unidentified
世界征服謀略のズヴィズダー World Conquest Zvezda Plot
僕らはみんな河合荘 The KawaiComplex Guide to Manors and Hostel Behavior
聖刻の竜騎士(ドラグナー) Dragonar Academy
それでも世界は美しい The WorldIsStill Beautiful
彼女がフラグをおられたら IfHerFlag Breaks
マンガ家さんとアシスタントさんと The Comic Artist andHisAssistants
ご注文はうさぎですか? Is the Order aRabbit?
魔法科高校の劣等生 The IrregularatMagicHigh School
龍ヶ嬢七々々の埋蔵金 Nanana's BuriedTreasure
精霊使いの剣舞(ブレイドダンス) Bladedance of Elementalers
曇天に笑う Laughing Under the Clouds
失われた未来を求めて In Search of theLost Future
オオカミ少女と黒王子 WolfGirl and BlackPrince
天体のメソッド Celestial Method
異能バトルは日常系のなかで WhenSupernaturalBattles Became Commonplace
大図書館の羊飼い A Good LibrarianLike a Good Shepherd
俺、ツインテールになります。 Gonna be the Twin-Tail!!
魔弾の王と戦姫(ヴァナディース) Lord Marksman and Vanadis
美男高校地球防衛部LOVE! Cute HighEarth DefenseClubLove!
自分が機械学習に詳しいかどうかはわかりませんが,わかる範囲で書きます.
を実現する事が目的だと考えて話を進めましょう.
一般的にこのタスクは類似文書検索と呼ばれています.ブックマークコメントでは「ElasticSearchを使え」と言われています.ElasticSearch のMoreLike This Query機能を使うことで類似文書検索が実現できるようです.あとはパラメータを調整することで思い通りの結果が得られるのではないでしょうか.
より高度なアプローチを取るのであれば,BERT と呼ばれるニューラルネットワークモデルを活用した類似文書検索も可能です.こちらのブログ (ElasticsearchとBERTを組み合わせて類似文書検索 - Ahogrammer) が参考になるでしょう.
しかしこれだけで終わると悲しいのでもう少し機械学習の話をすることにします.
機械学習的にこの問題に取り組むには順序学習 Learning to Rank という問題を解く必要があります.順序学習はgoogle検索にも使われている機能です.
これは,「入力 x に対して N 個の候補 y_1, y_2, ..., y_N を類似している順に並び替えるようなスコアを出力する関数 f(x, y_i) を学習する」というものです.
MoreLike This Query機能よりもこちらのアプローチが優れているのは,前者はどうパラメータをチューニングしようと「類似している文書」しか得られないのに対して,後者は(先程引用したような)「見合った」を明示的にデータとして与えてランキングを学習できる,という点です.
学習データとして「この質問のに対してこのFAQ ページがもっとも見合っている」「この質問に対して A と B ふたつのFAQ ページがあるが,B より A の方が見合っている」「この質問に対して見合った順に全てのFAQ ページを並び替えたもの」といったデータを大量に準備することで,「見合った」を学習することが可能です.
しかしこちらも ElasticSearch の機能に搭載されているようです.ありがとう ElasticSearch.お疲れ様でした.
もしあなたが ElasticSearch を使うのではなく,Python を使って再実装したいと考えているのであれば,目印として必要なライブラリや概念を書いておきます.