Fanyang Meng 

@FanyangMeng@mfy.social
7 Followers
84 Following
48 Posts
Ever wondered if your recommender system is genuinely valuable to users, even if it's highly accurate? My new post, "Recommender System Evaluation (Part 2)," uncovers the "Accuracy Paradox" and dives into essential user experience metrics. Learn to measure diversity (within lists and across users), assess catalog coverage to combat popularity bias using the Gini coefficient, and quantify novelty and serendipity – guiding users to unexpected, relevant discoveries! 🤩 This article provides clear examples and actionable insights for building systems that truly engage and delight users long-term. It's vital for anyone looking to move beyond simple predictions towards creating beloved experiences. Check it out to elevate your recommender system evaluation strategy! 👇 https://fanyangmeng.blog/recommender-system-evaluation-part-2/
Recommender System Evaluation (Part 2): Beyond Accuracy - The User Experience Dimension

Go beyond accuracy. Learn to evaluate recommender systems with key UX metrics like diversity, novelty, and serendipity to build systems users truly love.

Fanyang Meng's Blog
Ever wondered if your recommender system is truly useful, or just technically "accurate"? This deep dive into recommender system evaluation (Part 1!) unpacks why relying solely on traditional accuracy metrics like MAE and RMSE can be a major trap. You can have amazing prediction accuracy but still recommend useless items, like suggesting action movies to a classic drama lover! 🤦‍♀️ We explore the three fundamental questions for evaluation: prediction accuracy, ranking quality, and user experience. This first part meticulously breaks down crucial ranking quality metrics, including Precision@K, Recall@K, Mean Average Precision (MAP), and the gold standard, Normalized Discounted Cumulative Gain (NDCG). You'll learn not just how to calculate these, but when they truly matter for user satisfaction and engagement. Don't fall into the "obviously it's good" trap—get the foundation right for building genuinely useful systems. Check out the post: https://fanyangmeng.blog/recommender-system-evaluation-part-1/
Hybrid recommendation systems are the secret sauce behind successful platforms—no single algorithm can handle real-world complexity alone. The blog post dives into three ways to combine approaches: monolithic hybrids (built into one algorithm), parallelized hybrids (independent systems combined), and pipelined hybrids (sequential processing). Each has its strengths, and the real challenge lies in orchestrating them effectively. 🚀 Discover how to leverage these techniques for your projects here: https://fanyangmeng.blog/hybrid-recommendation-systems/ #RecommendationSystems #MachineLearning
Hybrid Recommendation Systems: When One Algorithm Isn't Enough

Why single recommendation algorithms fail in production. Learn how hybrid systems combine collaborative filtering, content-based, and matrix factorization approaches to build scalable recommendation engines that handle real-world complexity.

Fanyang Meng's Blog
Knowledge-based recommendation systems are a powerful alternative to traditional collaborative filtering, especially in scenarios where user data is scarce or decisions are high-stakes (think buying a house or selecting industrial equipment). 🏠⚙️ These systems use domain knowledge and logical reasoning to provide precise, explainable recommendations. They excel in cold-start situations and complex domains with clear constraints. Want to learn more about how they work and when to use them? Check out this comprehensive guide: https://fanyangmeng.blog/knowledge-based-recommendation-systems/ #AI #Tech #RecommendationSystems
Knowledge-Based Recommendation Systems: A Comprehensive Guide

Discover knowledge-based recommendation systems that use domain expertise & logical reasoning. Perfect for high-stakes purchases, complex domains & cold-start scenarios where explainable AI matters.

Fanyang Meng's Blog
Struggling with the cold start problem in recommendation systems? Content-based approaches are here to save the day! Unlike collaborative filtering, which relies on user behavior, content-based systems analyze item features to make recommendations. This makes them perfect for new platforms or niche content. 🚀📊 Key techniques include TF-IDF for text representation and Naive Bayes for classification. Want to learn more about how these systems work and when to use them? Dive into the full blog post here: https://fanyangmeng.blog/content-based-recommendation-systems/ #RecommendationSystems #MachineLearning #ContentBased
Content-Based Recommendation Systems: When Items Speak for Themselves

Master content-based recommendation systems that solve cold start problems collaborative filtering can't handle. Learn TF-IDF mathematics, Naive Bayes classification, feature engineering & Python implementations with real-world examples.

Fanyang Meng's Blog
Struggling with the limitations of collaborative filtering? Matrix Factorization (MF) was the game-changer that transformed recommendation systems by focusing on hidden user preferences and item characteristics instead of direct similarities. 🚀 From tackling scalability issues to improving accuracy, MF’s approach of learning latent factors has become foundational in modern recommendation engines. Whether you’re dealing with sparse data or aiming for better generalization, understanding MF is key. Dive into the full post to explore how this breakthrough works and why it’s still relevant today. #MachineLearning #RecommendationSystems https://fanyangmeng.blog/learning-recommendation-systems-matrix-factorization-fundamentals/
Learning Recommendation Systems: Matrix Factorization Fundamentals

Learn how matrix factorization solved collaborative filtering's scalability and sparsity problems in recommendation systems. Discover the breakthrough technique that transforms user-item interactions into powerful latent embeddings for better predictions.

Fanyang Meng's Blog
Ever wondered how Netflix and Amazon always seem to know what you'll love? The answer lies in Collaborative Filtering (CF), a cornerstone of modern recommendation systems. 🚀 This post takes you through the basics of CF, from user-based and item-based approaches to tackling challenges like sparsity and scalability. Whether you're a software engineer or just curious about the tech behind your favorite platforms, this guide has you covered. Dive in and discover the magic behind personalized recommendations! #RecommendationSystems #MachineLearning #Tech https://fanyangmeng.blog/learning-recommendation-systems-collaborative-filtering/
Learning Recommendation Systems: Collaborative Filtering

Master collaborative filtering from the ground up. Complete guide to user-based vs item-based CF, similarity metrics, and solving real-world challenges. Deep dive into recommendation systems for software engineers.

Fanyang Meng's Blog
Struggling with Ghost CDN cache delays? Here's a game-changer for BunnyCDN users! 🚀✨ Automate cache purging with BunnyCDN Edge Scripts—no extra servers or complex setups required. The script detects Ghost's X-Cache-Invalidate header and instantly clears the cache for updated content, ensuring your visitors always see the latest version. It's lightweight, efficient, and easy to implement. Dive into the details and give it a try: https://fanyangmeng.blog/ghost-bunnycdn-cache-purging-middleware-scripts/ #GhostCMS #CDN #Automation
Automate Ghost CDN Cache Purging with BunnyCDN Middleware Scripts

This guide shows how to use BunnyCDN Middleware Scripts to instantly refresh your Ghost CDN cache when you make changes to the website—no extra servers required. A simple solution that automatically detects content changes and keeps your site up-to-date.

Fanyang Meng's Blog
Ever tried finding the minimum depth of a binary tree? 🌳 It’s not as simple as it sounds! The challenge lies in correctly identifying the shortest path to a leaf node (one with no children). This post dives into the nuances, common pitfalls, and multiple solution approaches—recursive and iterative—to tackle this problem effectively. Whether you're a coding enthusiast or prepping for interviews, this is a gem! Read more here: https://fanyangmeng.blog/111-minimum-depth-of-binary-tree/ #LeetCode #BinaryTree #Coding
111. Minimum Depth of Binary Tree

Master LeetCode 111 the binary tree minimum depth problem with Python! Learn four different approaches—recursive postorder, direct recursion, preorder, and level-order traversal—to find the shortest path from root to leaf node. Avoid common pitfalls with nodes having only one child.

Fanyang Meng's Blog
Rewriting my Ghost MCP server from Python to TypeScript was a transformative experience! 🚀 The new version is not only more stable but also easier to maintain and deploy. By switching to TypeScript, I leveraged the official @tryghost/admin-api library, which simplified authentication, request handling, and error management. The result? A cleaner, more reliable codebase with full API coverage. 💡 Key lesson: Official libraries can save you tons of time and headaches. If you're working with Ghost CMS or integrating AI tools, give this a read! https://fanyangmeng.blog/from-python-to-typescript-improving-ghost-mcp-server/
From Python to TypeScript: Improving Ghost MCP Server

From Python to TypeScript: How rebuilding my Ghost MCP server with official libraries eliminated custom code complexity, improved stability, and streamlined deployment—making AI-powered content management more reliable for creators.

Fanyang Meng's Blog