본문으로 건너뛰기
cccskills
무료GitHub에 공개

data-analysis-nlp

Analyze text data with NLP — preprocessing, embeddings, topic modeling, sentiment, classification, and evaluation. Use when turning unstructured text into structured insight.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

NLP Data Analysis

Text is data with opinions, ambiguity, and mess. NLP analysis turns it into something countable: clean it, represent it, model it, and evaluate honestly — with error analysis, not just accuracy numbers.

Overview

The pipeline: define the question, collect and sample the text, clean it (with a light touch — over-cleaning destroys signal), represent it (from TF-IDF to embeddings to LLM features), model it (classify, cluster, extract), and evaluate on held-out data with error analysis. The question drives every choice: sentiment needs different handling than topic discovery, which needs different handling than entity extraction.

When to use

  • Classifying text: sentiment, topics, intent, toxicity, urgency.
  • Discovering structure: topic modeling, clustering, trend analysis over corpora.
  • Extracting information: entities, relations, key phrases from documents.
  • Analyzing language at scale: reviews, tickets, survey responses, social posts.

Core concepts

  • Preprocessing: normalization (case, unicode), tokenization, and noise removal — calibrated to the task. Keep emojis for sentiment; drop them for topic modeling. Document every step.
  • Representations: sparse (TF-IDF — interpretable, strong baseline), dense embeddings (semantic similarity, multilingual), LLM-derived (richest, most expensive). Start simple; complexity must earn its place.
  • Supervised tasks: classification/extraction with labeled data — split properly, mind class imbalance, choose metrics that match the cost of errors (F1, not accuracy, for rare classes).
  • Unsupervised discovery: topic models and clustering for exploration — validate topics by reading documents, not by coherence scores alone. Human judgment is the metric.
  • Annotation: quality labels are the ceiling. Write guidelines, measure inter-annotator agreement, adjudicate disagreements. Bad labels guarantee bad models.
  • Error analysis: read the mistakes. Confusion patterns tell you whether the problem is data, features, or the task definition itself.

Practical workflow

  1. Define the question and the decision the analysis informs; sample the data representatively.
  2. Explore: lengths, languages, noise, duplicates, class balance. Look at raw examples before any modeling.
  3. Establish baselines: keyword rules or TF-IDF + linear model. Record the score to beat.
  4. Iterate on representation and model, evaluating on a held-out set with appropriate metrics.
  5. Do error analysis on 50+ mistakes: categorize them, fix the data issues, and only then tune the model.
  6. Report with uncertainty: metrics plus confidence intervals, plus the error analysis summary and limitations.
NLP project checklist:
[ ] Question + decision defined; sample is representative
[ ] Preprocessing documented and justified per task
[ ] Baseline model + score recorded
[ ] Labels validated (agreement measured) if supervised
[ ] Held-out evaluation with task-appropriate metrics
[ ] Error analysis done; top failure modes addressed or noted

Common pitfalls

  • Skipping the baseline: jumping to LLMs for a task TF-IDF solves. Baselines are cheap and often sufficient.
  • Label leakage: information from the label in the features (e.g., the answer in the text). Always ask what the model could cheat with.
  • Ignoring class imbalance: 95% accuracy on a 95%-majority class means nothing. Use F1, PR curves, per-class metrics.
  • Over-cleaning: aggressive normalization destroying signal — casing, punctuation, and slang often carry meaning.
  • Topic models without reading: trusting coherence scores over human inspection. Read the top documents per topic.
  • No error analysis: reporting a single metric. The mistakes are where the insight — and the next improvement — lives.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aicodedecode/awesome-muse-skills252026년 10월 10일 업데이트

aicodedecode의 스킬 모두 보기

이 스킬의 문제 신고