-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAssignment-4 output.txt
45 lines (39 loc) · 1.53 KB
/
Assignment-4 output.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Spark context Web UI available at http://172.22.10.23:4040
Spark context available as 'sc' (master = local[*], app id = local-1570859372737).
Spark session available as 'spark'.
The number of rows in DF is 9822
+--------------------+-----+----------+
| features|label|prediction|
+--------------------+-----+----------+
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 1.0| 0.0|
|(85,[0,1,2,3,4,5,...| 0.0| 0.0|
|(85,[0,1,2,3,4,5,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,5,...| 0.0| 0.0|
|(85,[0,1,2,3,4,5,...| 0.0| 0.0|
|(85,[0,1,2,3,4,5,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,5,...| 1.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,5,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,5,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
|(85,[0,1,2,3,4,5,...| 0.0| 0.0|
|(85,[0,1,2,3,4,6,...| 0.0| 0.0|
+--------------------+-----+----------+
only showing top 20 rows
Welcome to
____ __
/ __/__ ___ _____/ /__
_\ \/ _ \/ _ `/ __/ '_/
/___/ .__/\_,_/_/ /_/\_\ version 2.4.4
/_/
Using Scala version 2.11.12 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_211)
Type in expressions to have them evaluated.
Type :help for more information.
scala>