forked from freegraphics/MIDS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlearning_lines.R
More file actions
23 lines (20 loc) · 737 Bytes
/
learning_lines.R
File metadata and controls
23 lines (20 loc) · 737 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
# the script to draw learning lines
#
# [F:\\works\\projects\\python\\RecommenderSystem\\tests\\16.09.24 -- 17-35\\trace.txt] -- the folder where we run recommender system
learning <- read.table("F:\\works\\projects\\python\\RecommenderSystem\\tests\\16.09.24 -- 17-35\\trace.txt", quote="\"", comment.char="")
x <- c(min(learning$V1),max(learning$V1))
y <- c(0,max(learning$V2))
par(col="black")
plot(x,y)
lines(learning$V1,learning$V2)
lines(learning$V1,learning$V3)
lines(learning$V1,learning$V4)
lines(learning$V1,learning$V5)
lines(learning$V1,learning$V6)
lines(learning$V1,learning$V7)
#lines(learning$V1,learning$V9)
y <- c(min(learning$V2),min(learning$V2))
lines(x,y)
y <- c(min(learning$V3),min(learning$V3))
lines(x,y)