感情140
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Sentiment140 を使用すると、Twitter でブランド、製品、またはトピックのセンチメントを発見できます。
データは、絵文字が削除された CSV です。データ ファイル形式には 6 つのフィールドがあります。
- ツイートの極性 (0 = ネガティブ、2 = ニュートラル、4 = ポジティブ)
- ツイートのID (2087)
- ツイートの日付 (Sat May 16 23:58:44 UTC 2009)
- クエリ (lyx)。クエリがない場合、この値は NO_QUERY です。
- ツイートしたユーザー (robotickilldozr)
- ツイートのテキスト (Lyx はクールです)
詳細については、 https: //cs.stanford.edu/people/alecmgo/papers/TwitterDistantSupervision09.pdf にある論文「遠隔監視による Twitter 感情分類」を参照してください。
スプリット | 例 |
---|
'test' | 498 |
'train' | 160万 |
FeaturesDict({
'date': Text(shape=(), dtype=string),
'polarity': int32,
'query': Text(shape=(), dtype=string),
'text': Text(shape=(), dtype=string),
'user': Text(shape=(), dtype=string),
})
特徴 | クラス | 形 | Dtype | 説明 |
---|
| 特徴辞書 | | | |
日にち | 文章 | | ストリング | |
極性 | テンソル | | int32 | |
クエリ | 文章 | | ストリング | |
文章 | 文章 | | ストリング | |
ユーザー | 文章 | | ストリング | |
@ONLINE {Sentiment140,
author = "Go, Alec and Bhayani, Richa and Huang, Lei",
title = "Twitter Sentiment Classification using Distant Supervision",
year = "2009",
url = "http://help.sentiment140.com/home"
}
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-12-23 UTC。
[null,null,["最終更新日 2022-12-23 UTC。"],[],[],null,["# sentiment140\n\n\u003cbr /\u003e\n\n- **Description**:\n\nSentiment140 allows you to discover the sentiment of a brand, product, or topic\non Twitter.\n\nThe data is a CSV with emoticons removed. Data file format has 6 fields:\n\n1. the polarity of the tweet (0 = negative, 2 = neutral, 4 = positive)\n2. the id of the tweet (2087)\n3. the date of the tweet (Sat May 16 23:58:44 UTC 2009)\n4. the query (lyx). If there is no query, then this value is NO_QUERY.\n5. the user that tweeted (robotickilldozr)\n6. the text of the tweet (Lyx is cool)\n\nFor more information, refer to the paper Twitter Sentiment Classification with\nDistant Supervision at\n\u003chttps://cs.stanford.edu/people/alecmgo/papers/TwitterDistantSupervision09.pdf\u003e\n\n- **Additional Documentation** :\n [Explore on Papers With Code\n north_east](https://paperswithcode.com/dataset/sentiment140)\n\n- **Homepage** :\n \u003chttp://help.sentiment140.com/home\u003e\n\n- **Source code** :\n [`tfds.datasets.sentiment140.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/sentiment140/sentiment140_dataset_builder.py)\n\n- **Versions**:\n\n - **`1.0.0`** (default): No release notes.\n- **Download size** : `77.59 MiB`\n\n- **Dataset size** : `305.13 MiB`\n\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|-----------|-----------|\n| `'test'` | 498 |\n| `'train'` | 1,600,000 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'date': Text(shape=(), dtype=string),\n 'polarity': int32,\n 'query': Text(shape=(), dtype=string),\n 'text': Text(shape=(), dtype=string),\n 'user': Text(shape=(), dtype=string),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|----------|--------------|-------|--------|-------------|\n| | FeaturesDict | | | |\n| date | Text | | string | |\n| polarity | Tensor | | int32 | |\n| query | Text | | string | |\n| text | Text | | string | |\n| user | Text | | string | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('text', 'polarity')`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n Not supported.\n\n- **Examples**\n ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\n- **Citation**:\n\n @ONLINE {Sentiment140,\n author = \"Go, Alec and Bhayani, Richa and Huang, Lei\",\n title = \"Twitter Sentiment Classification using Distant Supervision\",\n year = \"2009\",\n url = \"http://help.sentiment140.com/home\"\n }"]]