I'm an ML engineer and data scientist at Fukushima Galilei. At work I build predictive maintenance for refrigeration equipment, which warns us about failures a few days early. These are my side projects; each README says what worked and what didn't.
All models are wrong, but some are useful. — George Box
Selected work
- Fault detection for a supermarket refrigeration system: open Oak Ridge lab data from a CO2 rack with 6 faults put in on purpose; physics rules vs a raw-sensor black box vs a hybrid, scored per fault event; the hybrid catches 4 of 6, names all 4 correctly, median 39 min to alarm, 0.7 false alarms per normal day
- Hybrid digital twin for jet-engine wear: gas-path physics, a Kalman-filter bank and ML on NASA C-MAPSS to predict remaining useful life; hybrid RMSE 12.3 (ML alone 13.8, physics alone 16.4), and with only 5 failed engines to learn from the physics model wins (20.9 vs 25.7) · case study
- Industrial anomaly detection on the edge: visual inspection and vibration monitoring, int8 at 89 ms per image on one CPU thread · case study
- Bilingual product search and recommendation: Japanese/English search on Amazon ESCI with BM25, multilingual E5, hybrid retrieval and reranking, then both models fine-tuned on ESCI: NDCG@10 0.595 (JA) / 0.576 (EN), up from 0.567 / 0.560 off the shelf; hybrid search 32 ms per query on CPU; also tested an open LLM (Qwen2.5-7B, free Colab) as a relevance judge: weak agreement with human labels (Cohen's κ 0.16–0.21), and a reranker distilled from its labels did worse than one trained on human labels · case study
- CausalOps: when a deployed model gets worse, undo one drifted input at a time and see how much accuracy comes back; on 300 generated incidents with known causes it names the true cause 97% of the time vs 76% for drift ranking alone (a simple PSI × importance score did even better, 99%, and the README says so)
- Stress detection from wearable sensors: 92.7% accuracy on people the model never saw · case study
- Decision phenotypes of addiction: computational psychiatry on 12,883 Iowa Gambling Task choices of heroin users, amphetamine users and controls; reinforcement-learning models (PVL-Delta, VPP, ORL) vs a GRU, which predicted unseen people's next 40 choices better than every psychology model (69% of people); plus an LLM agent playing the same task with and without chain-of-thought · case study
- Compulsivity and planning: a pre-registered replication: independent replication of Gillan et al. (2016) on 1,961 people; a mixed model written from scratch reproduces the published effect (−0.0585 vs −0.058), it replicates in a new sample (pooled z = −5.07), alcohol is not a separate signal, and a reaction-time marker halves the sample needed · case study
- The Empathy Map: an open-source sentiment model finds the reply after which an upset person's mood turns, and names the technique; runs offline, served as a static site; sample conversations are made up, so it is a demo, not a study · live
- Blood-cell classification with a vision transformer: 98.4% across eight cell types, and where the 73 errors fall · case study
- World Cup 2026 forecasts: Monte Carlo simulation, Brier score 0.178 · case study · live
- Nepal Premier League 2026 season simulator: Elo and ball-by-ball models, simulated seasons and a backtest; a finished snapshot from mid-season · article
- Vision transformer experiments: knowledge distillation and DETR object detection
Writing
- Detecting stress from wearable sensors, in people the model has never seen
- Why predictive maintenance models fail without domain constraints
- I built a game for 142 children I never met. Here's what their taps said
- All articles
Python · PyTorch · scikit-learn · time series · physics-based modelling & digital twins · search & recommendation · computer vision · RAG · computational psychiatry
Kyoto University of Advanced Science, B.E. 2025 · AWS Certified AI Practitioner · AWS Certified Cloud Practitioner
prarujthapa.com.np · LinkedIn · thapa.praruj@gmail.com
フクシマガリレイ株式会社で機械学習エンジニア/データサイエンティストとして働いています。仕事では冷凍・冷蔵設備の予知保全を担当し、故障を数日前に知らせるモデルを作っています。ここにあるのは個人のプロジェクトで、うまくいったこともいかなかったことも各READMEに書いています。
- 所属: フクシマガリレイ株式会社(時系列異常検知システムを開発。設備の故障兆候を3〜4日前に検知)
- 専門: 時系列・センサーデータの機械学習、物理モデリング・デジタルツイン、検索・レコメンド、Vision Transformer、モンテカルロシミュレーション、RAG・ローカルLLM
- 学歴: 京都先端科学大学 工学部 機械電気システム工学科(2025年卒)
すべてのモデルは間違っているが、中には役に立つものもある。 — ジョージ・ボックス
主な取り組み
- スーパーの冷凍システムの故障検知:オークリッジ国立研究所の公開データ(CO2冷凍機、意図的に入れた故障6件)で、物理ルール・生センサーのブラックボックス・ハイブリッドを故障イベント単位で比較。ハイブリッドは6件中4件を検知し4件とも故障の種類を正しく判定、警報までの中央値39分、正常日あたりの誤報0.7回
- ジェットエンジン劣化のハイブリッド・デジタルツイン:ガスパス物理モデル・カルマンフィルタ群・機械学習をNASA C-MAPSSで組み合わせ、残存寿命を予測。ハイブリッドのRMSEは12.3(MLのみ13.8、物理のみ16.4)。故障エンジンが5台しかない場合は物理モデルが優位(20.9 vs 25.7) · 解説
- エッジで動く産業向け異常検知:外観検査と振動監視、int8化で1スレッド1枚89 ms · 解説
- 日英バイリンガル商品検索・レコメンド:AmazonのESCIデータでBM25・多言語E5・ハイブリッド検索・再ランキングを比較し、両モデルをESCIでファインチューニング。NDCG@10 0.595(日本語)・0.576(英語)(既製モデルでは0.567・0.560)、ハイブリッド検索はCPUで1クエリ32 ms。オープンLLM(Qwen2.5-7B、無料Colab)による関連度判定も検証し、人手ラベルとの一致は低く(κ 0.16〜0.21)、LLMラベルで学習した再ランキングは人手ラベル版に劣ることを確認 · 解説
- CausalOps:運用中のモデルの性能が落ちたとき、ずれた入力を1つずつ元に戻して精度がどれだけ戻るかを測る。原因がわかっている300件の模擬インシデントで、正しい原因を当てた割合は97%(ずれの大きさの順位だけでは76%)。単純なPSI×重要度のスコアは99%で、READMEにもそう書いています
- ウェアラブルセンサーによるストレス検出:学習に使っていない人物で精度92.7% · 解説
- 依存症の意思決定フェノタイプ:ヘロイン使用者・アンフェタミン使用者・健常者によるアイオワ・ギャンブリング課題12,883回の選択で計算論的精神医学を実践。強化学習モデル(PVL-Delta・VPP・ORL)とGRUを比較し、GRUが未知の人物の次の40回の選択をすべての心理学モデルより正確に予測(69%の人物)。同じ課題を思考の連鎖あり・なしでプレイするLLMエージェントも構築 · 解説
- 強迫性と計画性:事前登録した再現研究:Gillan ら(2016)を1,961名で独立に再現。一から実装した混合モデルで論文の効果を再現(−0.0585 vs −0.058)し、新しいサンプルでも再現(統合 z = −5.07)。飲酒は独立した信号ではなく、反応時間の指標で必要なサンプル数が半減 · 解説
- The Empathy Map:オープンソースの感情分析モデルで、相手の気持ちが上向いた返事を見つけ、その技法を判定。処理はオフライン、静的サイトで公開。サンプル会話は架空のため、研究ではなくデモ · ライブ
- Vision Transformerによる血液細胞分類:8種類で精度98.4%、誤り73件の分析 · 解説
- ワールドカップ2026予測:モンテカルロシミュレーション、ブライアースコア0.178 · 解説 · ライブ
- ネパール・プレミアリーグ2026シーズン予測:Eloと1球ごとのデータに基づく2つのモデルでシーズンをシミュレーションし、バックテストで検証。シーズン途中時点の完成版 · 記事
- Vision Transformerの実験:知識蒸留とDETRによる物体検出


