---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

1.  [](/)
2.  [Capabilities](/capabilities)
3.  Sentiment Analysis

Back to Capabilities

Feature Extraction

# Sentiment Analysis

Classify text sentiment using DistilBERT with positive, negative, and neutral labels

[Try Sentiment Analysis](/start)

### Why do anything?

Understanding content sentiment enables filtering and analysis. Manual labeling doesn't scale.

### Why now?

Customer feedback, reviews, and social content need automated sentiment analysis.

### Why this feature?

DistilBERT-based sentiment classification with confidence scores and multi-class support.

## How It Works

Sentiment classifier uses DistilBERT for text sentiment analysis.

1

#### Text Processing

Tokenize and prepare text for model

2

#### Classification

DistilBERT generates sentiment logits

3

#### Label Assignment

Convert logits to labels with confidence

### Why This Approach

DistilBERT provides good accuracy with fast inference. Pre-trained on sentiment tasks.

## Where This Is Used

[

E-commerce

#### Customer Review Analysis



](/solutions/ecommerce)

## Integration

PythonAPI

client.collections.create(feature\_extractor={"feature\_extractor\_name": "universal\_extractor", "version": "v1"})

[View Documentation](https://mixpeek.com/docs/overview/concepts)

## Related Capabilities

[

often combined

#### Text Extractor

Extract text then classify



](/capabilities/text-extractor)