知识卡片
分类标签不等于现实事件真伪
灾害推文案例预测数据标注的灾害相关类别,不是直接验证事件真假、新闻价值或发帖者意图。要区分这些任务及标签来源,才能选择评价;一个二元分类分数不应被解释为现实灾害已被证实。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- · 查看原书依据
In the following listing, you will load X (formerly Twitter or, as fedies21 call it, Birdsite) tweets that have been labeled with their newsworthiness by Kaggle contributors. Listing 7.16 Loading news posts >>> URL = 'https://gitlab.com/tangibleai/nlpia2/-/raw/' \ ... 'main/src/nlpia2/ch07/cnn/data/disaster-tweets.csv' >>> df = pd.read_csv(URL) >>> df = df[['text', 'target']] #1 >>> print(df)text target 0 Our Deeds are the Reason of this #earthquake M... 1 1 Forest
参考来源
- 位置:《Natural Language Processing in Action, Second Edition》第07章《卷积网络识别文本模式》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-7.html)
- 结论依据:摘录中关于分类标签不等于现实事件真伪的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:In the following listing, you will load X (formerly Twitter or, as fedies21 call it, Birdsite) tweets that have been labeled with their newsworthiness by Kaggle contributors. Listing 7.16 Loading news posts >>> URL = 'https://gitlab.com/tangibleai/nlpia2/-/raw/' \ ... 'main/src/nlpia2/ch07/cnn/data/disaster-tweets.csv' >>> df = pd.read_csv(URL) >>> df = df[['text', 'target']] #1 >>> print(df)text target 0 Our Deeds are the Reason of this #earthquake M... 1 1 Forest