टेक्स्ट क्लासिफ़िकेशन, मशीन लर्निंग की एक बुनियादी समस्या है. इसका इस्तेमाल कई प्रॉडक्ट में किया जाता है. इस गाइड में, हमने टेक्स्ट क्लासिफ़िकेशन के वर्कफ़्लो को कई चरणों में बांटा है. हर चरण के लिए, हमने आपके डेटासेट की विशेषताओं के आधार पर, ज़रूरत के मुताबिक बनाए गए तरीके का सुझाव दिया है. खास तौर पर, हर सैंपल में शब्दों की संख्या के हिसाब से सैंपल की संख्या का इस्तेमाल करके, हम आपको एक ऐसे मॉडल टाइप का सुझाव देते हैं जो आपको कम समय में बेहतर परफ़ॉर्मेंस दे सके. अन्य चरणों को इसी विकल्प के हिसाब से बनाया गया है. हमें उम्मीद है कि इस गाइड, साथ में दिए गए कोड, और फ़्लोचार्ट को फ़ॉलो करने से, आपको टेक्स्ट क्लासिफ़िकेशन से जुड़ी समस्या के बारे में जानने, समझने, और तुरंत समाधान पाने में मदद मिलेगी.
नतीजा
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis guide provides a structured workflow for text classification, breaking it down into manageable steps tailored to your dataset's characteristics.\u003c/p\u003e\n"],["\u003cp\u003eModel selection is guided by the ratio of samples to words per sample, helping you quickly identify a suitable model for optimal performance.\u003c/p\u003e\n"],["\u003cp\u003eThe guide includes code and a flowchart to facilitate learning, understanding, and implementing a first-cut solution for your text classification problem.\u003c/p\u003e\n"]]],[],null,["# Conclusion\n\nText classification is a fundamental machine learning problem with applications\nacross various products. In this guide, we have broken down the text\nclassification workflow into several steps. For each step, we have suggested a\ncustomized approach based on the characteristics of your specific dataset. In\nparticular, using the ratio of number of samples to the number of words per\nsample, we suggest a model type that gets you closer to the best performance\nquickly. The other steps are engineered around this choice. We hope that\nfollowing the guide, the\n[accompanying code](https://github.com/google/eng-edu/tree/master/ml/guides/text_classification),\nand the\n[flowchart](/machine-learning/guides/text-classification/step-2-5#figure-5)\nwill help you learn, understand, and get a swift first-cut solution to your text\nclassification problem."]]