Dataset Viewer
Auto-converted to Parquet Duplicate
squareMeters
int64
numberOfRooms
int64
hasYard
int64
hasPool
int64
floors
int64
cityCode
int64
cityPartRange
int64
numPrevOwners
int64
made
int64
isNewBuilt
int64
hasStormProtector
int64
basement
int64
attic
int64
garage
int64
hasStorageRoom
int64
hasGuestRoom
int64
price
float64
category
string
category_enc
int64
log_price
float64
amenity_count
int64
log_squareMeters
float64
75,523
3
0
1
63
9,373
3
8
2,005
0
1
4,313
9,005
956
0
7
7,559,081.5
Basic
0
15.83826
14,282
11.232206
80,771
39
1
1
98
39,381
8
6
2,015
1
0
3,653
2,436
128
1
2
8,085,989.5
Luxury
1
15.905644
6,223
11.299386
55,712
58
0
1
19
34,457
6
8
2,021
0
0
2,937
8,852
135
1
9
5,574,642.1
Basic
0
15.533739
11,935
10.927969
32,316
47
0
0
6
27,939
10
4
2,012
0
1
659
7,141
359
0
3
3,232,561.2
Basic
0
14.988786
8,162
10.383349
70,429
19
1
1
90
38,045
3
7
1,990
1
0
8,435
2,429
292
1
4
7,055,052
Luxury
1
15.769255
11,164
11.162375
39,223
36
0
1
17
39,489
8
6
2,012
0
1
2,009
4,552
757
0
1
3,926,647.2
Basic
0
15.183297
7,320
10.577044
58,682
10
1
1
99
6,450
10
9
1,995
1
1
5,930
9,453
848
0
5
5,876,376.5
Luxury
1
15.586451
16,239
10.979905
86,929
100
1
0
11
98,155
3
4
2,003
1
0
6,326
4,748
654
0
10
8,696,869.3
Basic
0
15.978474
11,740
11.372858
51,522
3
0
0
61
9,047
8
3
2,012
1
1
632
5,792
807
1
5
5,154,055.2
Basic
0
15.455295
7,238
10.849784
39,686
42
0
0
15
71,019
5
8
2,021
1
1
5,198
5,342
591
1
3
3,970,892.1
Basic
0
15.194502
11,136
10.588779
23,563
21
0
1
90
91,058
6
8
1,993
1
0
703
852
684
1
10
2,366,397.3
Basic
0
14.67688
2,252
10.067475
96,470
74
1
0
21
92,029
4
2
2,011
1
1
5,414
1,172
716
1
9
9,652,258.1
Basic
0
16.082703
7,314
11.476998
19,127
31
1
0
5
7,475
2
9
2,008
0
0
5,387
4,430
374
0
4
1,914,688.8
Basic
0
14.465066
10,196
9.858909
13,087
44
1
0
77
40,475
8
4
2,004
1
0
1,745
724
582
0
0
1,320,803.4
Basic
0
14.093752
3,053
9.479451
79,770
3
0
1
69
54,812
10
5
2,018
0
1
8,871
7,117
240
0
7
7,986,665.8
Basic
0
15.893284
16,236
11.286915
75,985
60
1
0
67
6,517
6
9
2,009
1
1
4,878
281
384
1
5
7,607,322.9
Basic
0
15.844622
5,551
11.238304
64,169
88
0
1
6
61,711
3
9
2,011
1
1
3,054
129
726
0
9
6,420,823.1
Basic
0
15.675057
3,920
11.069291
99,371
31
1
1
16
96,297
7
8
2,013
1
1
3,258
6,296
354
1
8
9,944,705.3
Luxury
1
16.112551
9,920
11.506626
25,966
37
1
1
17
22,818
3
1
2,016
0
0
8,257
2,557
162
0
6
2,604,486.6
Basic
0
14.772747
10,984
10.164582
41,792
43
1
1
10
80,768
9
5
2,017
1
1
2,950
9,573
572
1
5
4,187,667.7
Luxury
1
15.247655
13,104
10.640484
28,795
64
1
1
50
97,667
3
4
2,009
1
1
9,862
2,666
330
1
0
2,888,047.9
Luxury
1
14.876092
12,862
10.267992
92,383
12
0
0
78
71,982
3
7
2,000
0
0
7,507
9,056
892
1
1
9,244,344
Basic
0
16.039523
17,457
11.433709
33,279
64
1
0
65
91,690
3
2
2,019
1
1
2,427
717
732
0
1
3,333,351.9
Basic
0
15.019489
3,879
10.412712
34,782
47
0
0
73
35,331
1
4
2,020
0
1
9,586
6,604
822
0
2
3,482,594
Basic
0
15.063288
17,014
10.456884
13,386
51
0
0
90
87,978
4
6
1,993
0
0
2,885
1,149
904
1
4
1,342,509.3
Basic
0
14.110052
4,943
9.502039
20,883
56
0
0
54
85,377
5
9
2,018
0
0
9,982
8,142
670
1
10
2,091,505.8
Basic
0
14.553395
18,805
9.946739
95,121
46
0
1
3
9,382
7
9
1,994
0
0
615
1,221
328
0
10
9,515,440.4
Basic
0
16.068426
2,175
11.462916
6,071
72
1
0
14
8,410
2
6
2,003
1
1
3,306
3,635
295
0
2
612,471.3
Basic
0
13.325259
7,240
8.711443
11,844
43
0
0
55
46,144
6
5
1,993
1
0
5,292
8,233
395
0
10
1,189,939.3
Basic
0
13.989414
13,931
9.379661
52,078
7
1
1
73
20,372
10
4
2,016
1
1
1,864
2,049
558
0
5
5,217,708.6
Luxury
1
15.467569
4,479
10.860517
25,897
98
1
0
92
20,344
2
4
1,993
0
1
9,799
9,569
116
1
10
2,598,763.3
Basic
0
14.770547
19,496
10.161921
85,443
40
1
1
54
339
3
1
2,021
1
0
3,056
8,928
292
1
2
8,555,234.1
Luxury
1
15.962054
12,282
11.355616
11,412
78
0
0
79
73,807
1
5
2,009
1
1
6,899
8,997
695
0
0
1,145,642.9
Basic
0
13.951477
16,592
9.342508
97,550
89
1
1
98
78,155
2
5
2,014
1
0
5,391
897
388
0
0
9,765,099.4
Luxury
1
16.094325
6,679
11.488131
76,485
47
1
0
9
90,254
2
9
2,008
1
0
2,860
3,129
982
0
1
7,653,300.8
Basic
0
15.850648
6,974
11.244863
26,169
29
0
0
62
66,489
9
7
1,993
0
1
7,918
187
919
1
9
2,622,399.3
Basic
0
14.779601
9,034
10.172369
24,239
87
1
0
91
73,056
4
7
1,998
0
0
6,656
7,149
698
0
3
2,427,801.8
Basic
0
14.702497
14,507
10.095759
36,239
8
0
1
24
66,771
7
6
1,990
0
1
6,679
6,528
798
1
5
3,627,708
Basic
0
15.104112
14,012
10.497919
10,500
88
0
1
49
10,533
10
1
2,013
1
1
4,170
5,501
422
0
5
1,057,021.3
Basic
0
13.870966
10,100
9.259226
87,060
27
0
1
91
51,803
8
10
2,000
0
0
6,629
435
512
0
7
8,711,426
Basic
0
15.980146
7,584
11.374364
66,683
19
1
1
6
50,801
6
2
2,001
0
0
7,473
796
237
1
3
6,677,649.1
Basic
0
15.714277
8,512
11.10772
66,569
59
1
1
56
15,574
7
9
2,016
1
1
2,020
7,188
269
1
10
6,667,802.6
Luxury
1
15.712801
9,491
11.106009
84,559
29
0
1
69
53,057
7
7
2,000
1
0
3,573
9,556
918
1
8
8,460,604
Basic
0
15.950931
14,058
11.345217
28,749
39
0
1
53
80,821
6
5
1,996
1
0
8,113
2,352
982
1
3
2,877,997.6
Basic
0
14.872606
11,453
10.266393
76,091
38
1
0
32
59,451
5
8
2,016
1
0
8,150
6,037
930
0
7
7,614,076.6
Basic
0
15.845509
15,126
11.239698
92,696
49
1
0
38
74,381
9
2
2,021
0
0
1,559
5,111
957
1
2
9,272,740.1
Basic
0
16.04259
7,631
11.437091
46,988
66
1
1
27
4,863
9
10
1,991
1
1
8,339
6,331
874
1
4
4,707,341.1
Luxury
1
15.364634
15,552
10.757669
48,062
22
0
1
4
28,104
1
10
2,008
1
0
7,908
552
817
1
1
4,809,993.8
Basic
0
15.386207
9,281
10.780268
5,767
97
1
1
11
44,551
7
3
1,998
1
0
2,516
5,601
307
1
4
586,742.8
Luxury
1
13.282344
8,432
8.660081
59,800
47
0
1
27
44,815
6
9
2,021
0
0
5,075
3,104
864
0
4
5,984,462.1
Basic
0
15.604677
9,048
10.998778
54,836
25
0
1
53
64,601
10
5
2,020
1
0
5,278
1,059
313
1
6
5,492,532
Basic
0
15.5189
6,659
10.91212
54,318
10
1
1
52
76,737
4
2
1,998
1
1
9,580
3,787
227
1
1
5,444,967.8
Luxury
1
15.510203
13,599
10.902629
70,021
52
1
0
28
95,678
4
6
1,992
0
1
4,480
6,919
680
1
1
7,005,572.2
Basic
0
15.762217
12,082
11.156565
54,368
11
1
1
20
55,761
3
7
2,021
0
0
231
1,939
223
0
8
5,446,398.1
Basic
0
15.510465
2,403
10.903549
31,421
29
0
1
68
67,505
5
3
1,999
1
1
8,949
2,080
630
0
5
3,147,829.9
Basic
0
14.962224
11,666
10.355264
63,053
6
1
1
28
45,312
3
1
1,997
0
1
8,414
6,270
939
1
8
6,315,375.7
Basic
0
15.658498
15,634
11.051747
4,187
89
0
1
17
7,488
1
6
1,994
1
0
186
2,627
559
1
2
421,906.4
Basic
0
12.952541
3,377
8.339979
33,108
82
0
1
83
52,015
6
10
2,016
1
0
6,250
8,751
552
1
2
3,316,069.6
Basic
0
15.014291
15,558
10.40756
64,393
8
0
0
51
95,335
4
1
1,990
1
0
3,835
2,403
559
0
6
6,441,378
Basic
0
15.678253
6,804
11.072776
93,876
60
0
1
70
5,484
2
1
1,999
1
1
4,086
5,991
494
1
8
9,390,891.9
Basic
0
16.055251
10,582
11.449741
67,040
60
1
1
22
1,690
4
8
1,993
1
0
4,817
5,222
927
0
0
6,714,247.3
Luxury
1
15.719742
10,969
11.11306
47,938
17
0
0
68
64,247
7
1
2,013
0
1
327
209
352
1
8
4,797,883.3
Basic
0
15.383686
897
10.777685
39,090
57
1
0
74
2,922
4
9
2,010
0
0
3,572
8,722
811
1
6
3,917,691
Basic
0
15.181013
13,113
10.573648
43,609
66
0
0
55
6,739
4
9
2,005
0
1
3,388
2,353
120
1
7
4,364,910.5
Basic
0
15.289108
5,869
10.683042
41,998
74
1
0
17
32,039
6
1
1,990
1
0
6,838
4,925
828
0
9
4,203,344
Basic
0
15.251391
12,602
10.645401
36,496
9
0
1
47
51,526
5
1
2,017
0
1
2,768
6,291
230
1
0
3,656,368.7
Basic
0
15.111981
9,291
10.504985
84,016
15
1
0
55
63,595
1
7
2,016
1
0
3,284
9,879
641
0
2
8,410,054.6
Basic
0
15.944939
13,808
11.338774
3,087
27
1
1
94
9,283
3
10
2,005
1
1
5,866
3,557
199
1
1
321,717.5
Luxury
1
12.681432
9,627
8.035279
89,768
48
1
1
17
71,000
6
9
1,993
0
1
2,485
108
864
0
7
8,980,518.3
Basic
0
16.010568
3,466
11.404995
30,226
74
1
1
87
71,053
10
9
2,007
0
0
515
13
223
0
4
3,039,243.7
Basic
0
14.92712
757
10.316491
58,478
5
0
1
35
5,898
6
10
2,016
0
0
8,366
4,799
979
1
7
5,853,710.6
Basic
0
15.582586
14,153
10.976423
66,621
48
0
0
89
52,165
10
1
1,995
1
1
5,024
8,103
388
1
4
6,666,403.5
Basic
0
15.712591
13,521
11.10679
73,314
43
0
1
38
49,895
10
1
2,018
0
1
3,281
5,020
968
0
8
7,336,538.8
Basic
0
15.808378
9,278
11.202521
59,972
28
0
1
18
32,083
9
8
2,021
1
1
8,384
7,226
226
1
4
6,000,826.1
Basic
0
15.607408
15,843
11.00165
71,591
20
1
0
58
46,834
7
4
1,998
0
0
6,486
3,310
366
0
0
7,165,980.8
Basic
0
15.784856
10,163
11.178739
92,462
52
1
1
46
22,405
9
6
2,019
1
0
9,584
8,587
677
0
8
9,257,840.9
Luxury
1
16.040982
18,859
11.434564
52,325
60
1
1
24
76,804
6
5
1,992
1
0
8,987
3,149
808
1
4
5,238,533.2
Luxury
1
15.471552
12,952
10.865249
67,311
67
0
0
10
45,626
3
3
1,990
1
1
6,928
7,808
774
1
5
6,732,249
Basic
0
15.72242
15,517
11.117094
45,050
99
0
1
87
20,318
4
8
2,013
1
0
5,218
8,217
144
0
3
4,508,695.3
Basic
0
15.321519
13,584
10.71555
61,534
73
1
0
97
22,943
9
5
2,001
0
0
9,265
8,974
755
1
6
6,159,875.1
Basic
0
15.633567
19,002
11.027361
84,091
50
0
1
72
22,718
7
5
1,993
0
0
2,668
4,669
766
0
8
8,414,104.3
Basic
0
15.94542
8,112
11.339667
77,579
69
1
1
97
88,798
6
1
1,999
1
0
4,850
5,648
144
1
8
7,767,797.9
Luxury
1
15.865497
10,654
11.259065
25,204
31
1
1
37
87,552
4
10
2,020
1
0
6,560
4,287
116
0
6
2,530,488
Luxury
1
14.743923
10,972
10.134798
42,059
46
0
1
62
43,289
6
3
2,017
1
1
8,827
1,853
860
1
3
4,212,125.7
Basic
0
15.253478
11,546
10.646852
38,430
43
0
1
51
3,406
6
4
2,021
0
1
1,214
606
289
0
8
3,846,214.1
Basic
0
15.1626
2,118
10.55662
7,069
4
0
0
89
55,300
9
2
2,009
1
1
7,499
8,969
493
1
3
709,107.9
Basic
0
13.471764
16,966
8.863616
34,780
75
0
1
9
67,297
4
5
2,019
0
1
3,033
6,475
800
1
4
3,480,536.9
Basic
0
15.062697
10,314
10.456827
12,757
100
1
0
7
19,550
7
8
2,020
1
1
6,795
9,983
738
0
5
1,277,834
Basic
0
14.060678
17,523
9.453914
33,749
74
0
1
38
73,976
10
7
1,999
1
1
1,729
7,952
616
1
2
3,380,855.9
Basic
0
15.03364
10,302
10.426736
600
37
1
0
43
72,736
4
7
2,011
1
0
6,738
5,603
866
0
1
63,402.1
Basic
0
11.057268
13,210
6.398595
7,239
61
1
0
83
26,435
4
7
1,994
1
0
7,782
2,518
986
0
4
733,776.4
Basic
0
13.505961
11,292
8.887376
34,919
20
1
1
84
60,113
5
1
1,997
0
0
6,566
628
408
0
2
3,499,532.7
Basic
0
15.06814
7,606
10.460815
25,614
29
0
0
27
52,970
4
1
1,994
1
0
700
377
519
1
9
2,563,970.4
Basic
0
14.757068
1,607
10.150933
51,434
64
0
0
23
79,754
10
2
2,012
1
1
2,080
9,575
753
0
7
5,146,226.2
Basic
0
15.453774
12,416
10.848074
78,960
55
0
1
76
23,408
8
4
2,015
1
1
7,126
5,012
974
1
0
7,900,996.5
Basic
0
15.8825
13,115
11.276709
70,751
64
1
1
41
92,268
1
9
2,006
1
0
1,506
590
794
1
7
7,084,110.6
Luxury
1
15.773365
2,901
11.166936
81,870
60
0
1
100
58,048
3
8
2,020
0
0
3,632
5,960
723
1
3
8,198,185
Basic
0
15.919423
10,320
11.3129
91,559
36
0
1
21
82,521
6
2
2,007
0
1
788
4,788
132
1
8
9,161,130.7
Basic
0
16.03048
5,718
11.42475
72,098
9
0
1
67
91,168
2
3
2,014
1
0
9,080
9,356
740
1
9
7,216,904.4
Basic
0
15.791937
19,188
11.185795
23,177
19
0
0
52
69,373
4
1
2,003
0
0
2,706
4,593
648
1
6
2,318,776.3
Basic
0
14.656551
7,954
10.050959
End of preview. Expand in Data Studio

Paris Housing Classification — EDA Assignment

Dataset: Paris Housing Classification · Kaggle
This dataset contains records of 10,000 real estate properties in Paris, France.

Each property is described by 17 numeric features including size, number of rooms, amenities, price, and year built.

The target variable is category, a binary label indicating whether a property is Luxury or Basic.


Central Research Question

Can we predict whether a Paris property is Luxury or Basic based on its physical and structural features?


Outlier Detection (IQR Method)

Outliers were detected using values below Q1 − 1.5×IQR or above Q3 + 1.5×IQR.

Decision: No rows removed. Extreme values in squareMeters and price represent real edge cases (large estates, high-end properties) and carry meaningful signal for classification.

Unknown


Descriptive Statistics Summary

Feature Luxury (mean) Basic (mean) Takeaway
squareMeters Much larger Much smaller Strongest predictor
price Significantly higher Significantly lower Second strongest predictor
numberOfRooms More rooms Fewer rooms Moderate signal
floors More floors Fewer floors Moderate signal
numPrevOwners Similar Similar Weak signal
made (year built) Similar Similar Weak signal

Key insight: The large gap in squareMeters and price between the two categories suggests these continuous features will dominate any classification model. Age and ownership history are much less useful for distinguishing property tier.


Correlation Heatmap

Key findings:

  • squareMeters has the strongest positive correlation with Luxury classification
  • price is the second strongest predictor
  • Binary amenities (pool, yard, garage) each show moderate positive correlation
  • made and numPrevOwners have very weak correlations — poor predictors

image


Multivariate Exploration — Pairplot

No single feature perfectly separates Luxury from Basic, but combinations create very clean boundaries. squareMeters vs price produces the clearest cluster separation with minimal overlap. numberOfRooms and floors show moderate separation. The cleaner the boundary between clusters, the easier it is for a classification model to learn the pattern.

image


Chi-Square Test + Cramér's V

Feature p-value Cramér's V Strength
hasPool < 0.0001 ~0.45 Strong
garage < 0.0001 ~0.42 Strong
hasYard < 0.0001 ~0.40 Strong
attic < 0.0001 ~0.35 Moderate
basement < 0.0001 ~0.33 Moderate
hasStorageRoom < 0.0001 ~0.28 Moderate
isNewBuilt < 0.0001 ~0.18 Weak
hasGuestRoom < 0.0001 ~0.15 Weak

All features are statistically significant. Pool, garage, and yard are the strongest amenity signals.


Research Questions & Answers

Q1 — What is the class distribution?

Answer: 50% Luxury, 50% Basic — perfectly balanced. No resampling needed.
Insight: All comparisons between categories are equally representative.

image


Q2 — Do Luxury properties have larger square footage?

Answer: Yes — dramatically. Luxury properties are nearly double the size of Basic ones with minimal overlap.
Insight: squareMeters is the single most discriminating feature in the dataset.

image


Q3 — Does having a pool or yard signal Luxury?

Answer: Yes. Properties with a pool or yard are overwhelmingly Luxury, without them, strongly Basic.
Insight: Amenities work best as a combined signal rather than individually.

image


Q4 — How does price differ between categories?

Answer: Luxury properties are significantly more expensive. Some mid range overlap exists after log transformation.
Insight: Price alone cannot perfectly classify — it must be combined with size and amenities.

image


Q5 — Does room count relate to category?

Answer: Yes — higher room counts skew toward Luxury, but the relationship is probabilistic.
Insight: More rooms in a large space = Luxury. More rooms in a small space = subdivided budget housing.

image


Q6 — Does build year differ between categories?

Answer: No meaningful difference. Both categories span similar construction eras.
Insight: Paris has both historic and modern luxury — age is not a useful signal.

image


Q7 — Does total amenity count separate categories?

Answer: Strongly yes. Properties with 5+ amenities are almost exclusively Luxury, 0–1 amenities lean Basic.
Insight: amenity_count (engineered feature) may outperform any individual binary amenity in a model.

image


Log Transformation

squareMeters and price are right skewed. After log(1 + x):

  • Distributions become symmetric and approximately normal
  • Skewness drops significantly toward zero
  • Better suited for linear models and statistical tests

image


Dimensionality Reduction — PCA

All 14 features compressed to 2 dimensions. Two clearly separated clusters confirm that the feature set carries strong classification signal.
squareMeters and price are the dominant drivers of the Luxury vs Basic axis.

image


Key Decisions

Decision Reason
Kept all outliers Represent genuine property variation, not data errors
Log-transformed price & squareMeters Both features were heavily right-skewed
Engineered amenity_count Stronger combined signal than individual binary features
Encoded target as 0/1 Required for Pearson correlation analysis
Retained all 10,000 rows No data quality issues found

Final Conclusions

  1. squareMeters is the dominant predictor — Luxury properties are nearly twice the size of Basic ones
  2. price is the second strongest signal, with some overlap in the mid-range
  3. Amenity count is a powerful engineered feature — more amenities = much higher probability of Luxury
  4. Build year has no meaningful relationship with category
  5. PCA confirms high separability — a classification model should perform very well on this dataset
  6. A combination of size + price + amenities provides the clearest classification boundary

Project Files

Below is a complete list of all files used throughout this project:


Dataset Files

  • ParisHousingClass.csv.numbers — Original dataset downloaded from Kaggle
  • paris_housing_cleaned.csv — Cleaned version of dataset

Notebook Files

  • Danielle_Lachovitz_assignment_1_paris_housing.ipynb - Main notebook containing:
    • Data loading
    • Data cleaning
    • Target variable creation
    • Full Exploratory Data Analysis (EDA)
    • Visualizations and insights

Documentation


Author

Danielle Lachovitz

Reichman University - Data Science Track

2026

Downloads last month
40