We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e66bc06 commit deff1b8Copy full SHA for deff1b8
Project/Tweets_analysis_SparkStreaming.ipynb
@@ -505,7 +505,7 @@
505
"### Functions for analysis:\n",
506
"The informativeness of features defined by the biggest ratio of conditional probability:\n",
507
"\n",
508
- "$$maxarg\\left( \\frac{p(feature|label=\"resist\")}{p(feature|label=\"maga\")}, \\frac{p(feature|label=\"maga\")}{p(feature|label=\"resist\")}\\right)$$\n",
+ "$$maxarg\\left( \\frac{p(feature|label=resist)}{p(feature|label=maga)}, \\frac{p(feature|label=maga)}{p(feature|label=resist)}\\right)$$\n",
509
510
"Intuitively, it means how much information can this feature word tells you for classifying this tweet as maga or resist."
511
]
0 commit comments