機器學習程式碼研究室
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
歡迎試試這些程式碼研究室,實際瞭解如何透過 Firebase 更輕鬆有效地使用 TensorFlow Lite 模型。
數字分類 (模型部署簡介)

請建構可辨識手寫數字的應用程式,瞭解如何使用 Firebase 的模型部署功能。使用 Firebase ML 部署 TensorFlow Lite 模型、使用 Performance Monitoring 分析模型效能,以及使用 A/B Testing 測試模型成效。
iOS+
Android
情緒分析

在本程式碼研究室中,您將使用自己的訓練資料,微調現有的文字分類模型,識別一段文字中表達的情緒。接著,您可以使用 Firebase ML 部署模型,並使用 A/B Testing 比較新舊模型的準確度。
iOS+
Android
內容推薦

推薦引擎可為個別使用者打造個人化體驗,提供更切合需求且引人入勝的內容。本程式碼研究室將示範如何訓練及部署裝置端 ML 模型,為應用程式實作內容推薦引擎,而不必建構複雜的管道來支援這項功能。
iOS+
Android
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["\u003cbr /\u003e\n\nTry these codelabs to learn hands-on how Firebase can help you use TensorFlow\nLite models more easily and effectively.\n\nDigit classification (introduction to model deployment)\n\nLearn how to use Firebase's model deployment features by building an app that\nrecognizes handwritten digits. Deploy TensorFlow Lite models with\nFirebase ML, analyze model performance with Performance Monitoring, and test model\neffectiveness with A/B Testing.\n\n[iOS+](/codelabs/digitclassifier-ios)\n[Android](/codelabs/digitclassifier-android)\n\nSentiment analysis\n\nIn this codelab, you use your own training data to fine-tune an existing text\nclassification model that identifies the sentiment expressed in a passage of\ntext. Then, you deploy the model using Firebase ML and compare the accuracy\nof the old and new models with A/B Testing.\n\n[iOS+](/codelabs/textclassification-iOS)\n[Android](/codelabs/textclassification-android)\n\nContent recommendation\n\nRecommendation engines let you personalize experiences to individual users,\npresenting them with more relevant and engaging content. Rather than building\nout a complex pipeline to power this feature, this codelab shows how you can\nimplement a content recommendation engine for an app by training and deploying\nan on-device ML model.\n\n[iOS+](/codelabs/contentrecommendation-ios)\n[Android](/codelabs/contentrecommendation-android)"]]