SeterusnyaPanduan seterusnya
Anotasi Teks untuk NER dan Klasifikasi
AI bahasa
PANDUAN AI Bahasa
Klasifikasi teks secara automatik mengisih kepingan teks ke dalam kategori, seperti menandai e-mel sebagai spam atau ulasan sebagai positif.
Dengar panduan iniAI-diceritakan · ~3 min
Ia adalah salah satu tugas NLP yang paling banyak digunakan kerana ia menukar teks bebas yang tidak kemas kepada label berstruktur yang boleh digunakan oleh sistem.
Text classification assigns categories to documents, messages, or other text sequences. Binary classification selects between two labels, such as spam and not spam. Multi-class classification assigns exactly one category from a larger set, while multi-label classification permits several categories for the same example. An article can carry both politics and economy tags without requiring those topics to exclude each other. Sentiment and intent can also be classification targets when the task defines their labels. Representations differ across systems: sparse word-count features and dense learned embeddings are two possibilities. A classifier converts those features into scores associated with the defined labels. Evaluation should match the intended decisions. Accuracy is the fraction of correct predictions, but it can conceal failures on a rare category. If almost every message is ordinary, always predicting ordinary can score highly while missing every relevant spam case. Recall for a designated positive class is true positives divided by all actual positives. Precision instead divides true positives by all predicted positives. In an illustrative evaluation with six true positives and two false positives, precision is six divided by eight, or 75 percent. Those quantities answer different questions. A model can have a useful recall yet flag many irrelevant messages. A further distinction concerns output scores: single-label softmax scores sum to one across mutually exclusive alternatives, whereas a separate sigmoid score for each label permits several labels to score highly together. Neither transformation alone establishes that scores are calibrated estimates of real-world frequency.
Pembekal e-mel menapis mesej spam dan pancingan data daripada peti masuk anda.
Jenama menjalankan analisis sentimen pada ulasan produk dan siaran sosial untuk mengukur mood pelanggan.
Meja sokongan mengarahkan tiket masuk secara automatik kepada pasukan yang betul berdasarkan kandungan mesej.
Platform sosial membenderakan ucapan benci atau komen toksik untuk semakan sederhana.
Label descriptions and examples can make it easier to explore a new classification task, but they do not establish consistent performance across domains. Comparing sparse models, dense encoders, and prompted language models can reveal different accuracy, latency, and maintenance tradeoffs. For operational use, evaluation should include rare classes and the consequences of missed or incorrect labels. Changes in language and input sources can also change those results. Report per-class precision and recall where relevant, and assess output calibration separately from the act of assigning a category.
Newsletter percuma
Tiga cerita AI yang disahkan setiap pagi hari bekerja, ditulis dalam Bahasa Inggeris biasa. Percuma selamanya, tiada iklan.
Satu e-mel setiap hari bekerja. Berhenti melanggan dalam satu klik. Kami tidak pernah menjual atau berkongsi alamat anda.
Uji diri anda
Maklum balas segera pada setiap jawapan, dan sijil yang boleh dikongsi dengan ID yang boleh disahkan sebaik sahaja anda lulus kursus.
Sokong pendidikan AI percuma. AI Understanding ialah pertubuhan bukan keuntungan 501(c)(3) — tiada iklan, tiada bayaran dinding, selamanya. Buat derma
Klasifikasi teks secara automatik mengisih kepingan teks ke dalam kategori, seperti menandai e-mel sebagai spam atau ulasan sebagai positif. Ia adalah salah satu tugas NLP yang paling banyak digunakan kerana ia menukar teks bebas yang tidak kemas kepada label berstruktur yang boleh digunakan oleh sistem.
The output associates the text with the categories defined by the task.
Pengelasan berbilang label membolehkan lebih daripada satu kategori digunakan pada item yang sama secara serentak.
Predicting the majority class can yield high accuracy while missing all rare positives, so category-specific evaluation matters.
Ingat ialah sebahagian kecil daripada kes positif sebenar yang dikenal pasti dengan betul oleh sistem, menangkap berapa banyak ia terlepas.
A zero-shot model can be pretrained or trained on other tasks; the absence concerns task-specific labeled examples.
Teruskan belajar
Lebih banyak panduan dipilih untuk topik ini
SeterusnyaPanduan seterusnya
Anotasi Teks untuk NER dan Klasifikasi
AI bahasa