Menganalisis sentiment dari teks (positif, negatif, netral).
FLOAT (-1 to 1)Diperbarui: 6 Jan 2026SNOWFLAKE.CORTEX.SENTIMENT(text)Teks untuk dianalisis sentimentnya
1 SELECT 2 review_text, 3 SNOWFLAKE.CORTEX.SENTIMENT(review_text) as sentiment_score, 4 CASE 5 WHEN SNOWFLAKE.CORTEX.SENTIMENT(review_text) > 0.3 THEN 'Positive' 6 WHEN SNOWFLAKE.CORTEX.SENTIMENT(review_text) < -0.3 THEN 'Negative' 7 ELSE 'Neutral' 8 END as sentiment_label 9 FROM customer_reviews;
Kategorisasi review berdasarkan sentiment.
Sudah paham AI_SENTIMENT? Latih langsung di browser
Latihan interaktif, langsung di browser.