Skip to content

Commit d36bffa

Browse files
author
James Lee
committed
improve AverageHousePriceProblem and WordCount
1 parent 1b5926d commit d36bffa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/com/sparkTutorial/pairRdd/aggregation/reducebykey/WorldCount.java renamed to src/main/java/com/sparkTutorial/pairRdd/aggregation/reducebykey/WordCount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import java.util.Arrays;
1515
import java.util.Map;
1616

17-
public class WorldCount {
17+
public class WordCount {
1818

1919
public static void main(String[] args) throws Exception {
2020

src/main/java/com/sparkTutorial/pairRdd/aggregation/reducebykey/housePrice/AverageHousePriceProblem.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ public class AverageHousePriceProblem {
55

66
public static void main(String[] args) throws Exception {
77

8-
/* TODO: Create a Spark program to read the house data from in/RealEstate.csv, output the average price for houses with different number of bedrooms.
8+
/* Create a Spark program to read the house data from in/RealEstate.csv,
9+
output the average price for houses with different number of bedrooms.
910
10-
The HOUSES dataset contains a collection of recent real estate listings in San Luis Obispo county and
11-
around it. The dataset is provided in two formats: as a CSV file and as a Microsoft Excel (1997­2003)
12-
spreadsheet.
11+
The houses dataset contains a collection of recent real estate listings in San Luis Obispo county and
12+
around it. 
1313
1414
The dataset contains the following fields:
1515
1. MLS: Multiple listing service number for the house (unique ID).

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy