summaryrefslogtreecommitdiff
path: root/report/pyp_clustering/bleu_condentropy.R
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-23 21:57:46 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-23 21:57:46 +0000
commit1090a065dc48211dd71f4980cf8ff34e47333ad0 (patch)
tree47459041aa8c7b7a2c54c9988ebf43c21fe12f65 /report/pyp_clustering/bleu_condentropy.R
parent697df987d5c20ef5237738a3270b3d8a1357ae2a (diff)
correlation stuff
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@617 ec762483-ff6d-05da-a07a-a48fb63a330f
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)