summaryrefslogtreecommitdiff
path: root/report/pyp_clustering/bleu_condentropy.R
diff options
context:
space:
mode:
Diffstat (limited to 'report/pyp_clustering/bleu_condentropy.R')
-rw-r--r--report/pyp_clustering/bleu_condentropy.R5
1 files changed, 5 insertions, 0 deletions
diff --git a/report/pyp_clustering/bleu_condentropy.R b/report/pyp_clustering/bleu_condentropy.R
new file mode 100644
index 00000000..8c6fb1b7
--- /dev/null
+++ b/report/pyp_clustering/bleu_condentropy.R
@@ -0,0 +1,5 @@
+data <- read.table("urdu.dat", header=TRUE)
+attach(data)
+data.lm <- glm(BLEU ~ ConditionalEntropy)
+plot(data$ConditionalEntropy,data$BLEU)
+abline(data.lm)