Datasets:
snapshot 2026-10-20
Browse files- README.md +106 -0
- data/test.parquet +3 -0
- data/train.parquet +3 -0
- stats.json +118 -0
README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- fa
|
| 5 |
+
- en
|
| 6 |
+
pretty_name: Tehran & Karaj apartment rent asks (Divar)
|
| 7 |
+
size_categories:
|
| 8 |
+
- 10K<n<100K
|
| 9 |
+
task_categories:
|
| 10 |
+
- tabular-regression
|
| 11 |
+
tags:
|
| 12 |
+
- real-estate
|
| 13 |
+
- rent
|
| 14 |
+
- tehran
|
| 15 |
+
- iran
|
| 16 |
+
- tabular
|
| 17 |
+
configs:
|
| 18 |
+
- config_name: default
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: data/train.parquet
|
| 22 |
+
- split: test
|
| 23 |
+
path: data/test.parquet
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# Tehran & Karaj apartment rent asks (Divar)
|
| 27 |
+
|
| 28 |
+
Asking rents of whole-flat yearly leases listed on [Divar](https://divar.ir) in 489 neighborhoods of
|
| 29 |
+
Tehran (five zones covering all 22 municipal districts) and Karaj. Built by `hf_dataset.py` of
|
| 30 |
+
[rent.nlogn.ir](https://rent.nlogn.ir) from the crawl snapshots 2026-10-09, 2026-10-13, 2026-10-15, 2026-10-19, 2026-10-20.
|
| 31 |
+
|
| 32 |
+
Prices are **asks**, not signed leases. All money is in **million toman**.
|
| 33 |
+
|
| 34 |
+
## Task
|
| 35 |
+
|
| 36 |
+
Predict `log_ppm`: the log of the full-deposit (رهن کامل) equivalent price per m²,
|
| 37 |
+
`ppm = (deposit_m + rent_m / 0.03) / area_m2`. The 3% monthly rate is the median rate Divar
|
| 38 |
+
posters use on the convertible-rent slider. `equiv_m` is the same price for the whole flat.
|
| 39 |
+
|
| 40 |
+
Do not use `deposit_m`, `rent_m`, `equiv_m` or `ppm` as inputs: they are the target in other units.
|
| 41 |
+
|
| 42 |
+
## Splits
|
| 43 |
+
|
| 44 |
+
Forward in time, by publish date: `test` = ads published 2026-10-13 < date ≤ 2026-10-20
|
| 45 |
+
(the last 7 days), `train` = published on or before 2026-10-13.
|
| 46 |
+
|
| 47 |
+
| Split | Rows |
|
| 48 |
+
|---|---|
|
| 49 |
+
| train | 24,213 |
|
| 50 |
+
| test | 9,438 |
|
| 51 |
+
|
| 52 |
+
For cross-validation on `train`, group folds by `group` (hood, build year, floor) so agency reposts of one flat never
|
| 53 |
+
straddle folds.
|
| 54 |
+
|
| 55 |
+
## Columns
|
| 56 |
+
|
| 57 |
+
| Column | Type | Meaning |
|
| 58 |
+
|---|---|---|
|
| 59 |
+
| token, url | str | Divar ad id and link |
|
| 60 |
+
| city, zone | str | `tehran`/`karaj`; site zone (west, east, north, center, south, karaj) |
|
| 61 |
+
| hood, hood_name | str | Divar neighborhood slug and Persian name |
|
| 62 |
+
| hood_lat, hood_lon | float | Divar's public centroid of the neighborhood (not the ad's pin) |
|
| 63 |
+
| area_m2 | int | floor area |
|
| 64 |
+
| year_built | int | Jalali build year; Divar caps the oldest at 1370 ("1370 or before") |
|
| 65 |
+
| age | int | Jalali year at `last_seen` − `year_built` |
|
| 66 |
+
| floor, floors_total, rooms | int | floor (0 = ground; may be null), building floors (often null), bedrooms |
|
| 67 |
+
| elevator, parking, storage | bool | Divar's structured amenities |
|
| 68 |
+
| renovated, complex | bool | ad text mentions renovation / a complex (مجتمع، شهرک، برج …) |
|
| 69 |
+
| convertible | bool | the poster allows converting deposit ↔ rent |
|
| 70 |
+
| deposit_m, rent_m | float | deposit and monthly rent as asked |
|
| 71 |
+
| published_date | date | Divar's publish date |
|
| 72 |
+
| first_seen, last_seen | date | first and last crawl snapshot that listed the ad |
|
| 73 |
+
| days_listed | int | `last_seen` − `published_date` |
|
| 74 |
+
| group | str | hood, build year and floor joined by `/`, for grouped CV |
|
| 75 |
+
| equiv_m | float | full-deposit equivalent of the flat |
|
| 76 |
+
| ppm | float | `equiv_m / area_m2` |
|
| 77 |
+
| log_ppm | float | **target**: `ln(ppm)` |
|
| 78 |
+
|
| 79 |
+
## Collection and cleaning
|
| 80 |
+
|
| 81 |
+
Each weekly crawl reads the newest 150 rent ads per neighborhood. One row per ad: its latest observation across
|
| 82 |
+
snapshots. Per zone, ads are dropped when their area is outside the zone's size range; they miss area, build year or
|
| 83 |
+
price; are shared housing, office, furnished, short-term or single-room ads; price to zero; repeat another ad's (area,
|
| 84 |
+
build year, floor, deposit, rent), keeping the newest; or sit more than 3 MADs from the zone's median log price per m².
|
| 85 |
+
|
| 86 |
+
| Zone | Name | Size m² | Ads | Rows | Dropped |
|
| 87 |
+
|---|---|---|---|---|---|
|
| 88 |
+
| west | غرب تهران | 40–110 | 16,289 | 13,048 | out_of_size 581, missing 20, not_whole_flat 1,223, zero 6, dup 1,199, outlier 212 |
|
| 89 |
+
| east | شرق تهران | 40–110 | 8,202 | 7,116 | out_of_size 105, missing 8, not_whole_flat 535, zero 3, dup 387, outlier 48 |
|
| 90 |
+
| north | شمال تهران | 40–110 | 3,067 | 2,341 | out_of_size 222, missing 7, not_whole_flat 294, zero 1, dup 168, outlier 34 |
|
| 91 |
+
| center | مرکز تهران | 40–110 | 6,272 | 4,850 | out_of_size 96, missing 17, not_whole_flat 897, zero 3, dup 360, outlier 49 |
|
| 92 |
+
| south | جنوب تهران | 40–110 | 3,252 | 2,711 | out_of_size 53, missing 2, not_whole_flat 292, zero 4, dup 156, outlier 34 |
|
| 93 |
+
| karaj | کرج | 40–110 | 4,332 | 3,585 | out_of_size 210, missing 7, not_whole_flat 285, zero 4, dup 213, outlier 28 |
|
| 94 |
+
|
| 95 |
+
Ad titles, descriptions, phone numbers and map pins are not included.
|
| 96 |
+
|
| 97 |
+
## Baseline
|
| 98 |
+
|
| 99 |
+
An OLS on age (hinges at 3/8/15/25 years), log size, parking, elevator, flights without a lift, renovated, complex,
|
| 100 |
+
publish age and a neighborhood fixed effect reaches about 9% median absolute percentage error on a forward week
|
| 101 |
+
(west Tehran, 2026-10-13; method at [rent.nlogn.ir](https://rent.nlogn.ir/#method)).
|
| 102 |
+
|
| 103 |
+
## License
|
| 104 |
+
|
| 105 |
+
[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). The rows are structured fields of public Divar ads
|
| 106 |
+
(see the `url` column); attribute as "Tehran rent asks, rent.nlogn.ir, from Divar listings".
|
data/test.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d8e574bf357ce1cb0c8f89be1dedd75b10c365f515f9e96c04febabd91198812
|
| 3 |
+
size 463963
|
data/train.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:424dc1c7f92902b46ae1ece2cfe07327ac56b137aacbb4d32374660793bf4f40
|
| 3 |
+
size 1130803
|
stats.json
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"zones": {
|
| 3 |
+
"west": {
|
| 4 |
+
"name": "غرب تهران",
|
| 5 |
+
"size_m2": [
|
| 6 |
+
40,
|
| 7 |
+
110
|
| 8 |
+
],
|
| 9 |
+
"ads": 16289,
|
| 10 |
+
"rows": 13048,
|
| 11 |
+
"dropped": {
|
| 12 |
+
"out_of_size": 581,
|
| 13 |
+
"missing": 20,
|
| 14 |
+
"not_whole_flat": 1223,
|
| 15 |
+
"zero": 6,
|
| 16 |
+
"dup": 1199,
|
| 17 |
+
"outlier": 212
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
"east": {
|
| 21 |
+
"name": "شرق تهران",
|
| 22 |
+
"size_m2": [
|
| 23 |
+
40,
|
| 24 |
+
110
|
| 25 |
+
],
|
| 26 |
+
"ads": 8202,
|
| 27 |
+
"rows": 7116,
|
| 28 |
+
"dropped": {
|
| 29 |
+
"out_of_size": 105,
|
| 30 |
+
"missing": 8,
|
| 31 |
+
"not_whole_flat": 535,
|
| 32 |
+
"zero": 3,
|
| 33 |
+
"dup": 387,
|
| 34 |
+
"outlier": 48
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"north": {
|
| 38 |
+
"name": "شمال تهران",
|
| 39 |
+
"size_m2": [
|
| 40 |
+
40,
|
| 41 |
+
110
|
| 42 |
+
],
|
| 43 |
+
"ads": 3067,
|
| 44 |
+
"rows": 2341,
|
| 45 |
+
"dropped": {
|
| 46 |
+
"out_of_size": 222,
|
| 47 |
+
"missing": 7,
|
| 48 |
+
"not_whole_flat": 294,
|
| 49 |
+
"zero": 1,
|
| 50 |
+
"dup": 168,
|
| 51 |
+
"outlier": 34
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
"center": {
|
| 55 |
+
"name": "مرکز تهران",
|
| 56 |
+
"size_m2": [
|
| 57 |
+
40,
|
| 58 |
+
110
|
| 59 |
+
],
|
| 60 |
+
"ads": 6272,
|
| 61 |
+
"rows": 4850,
|
| 62 |
+
"dropped": {
|
| 63 |
+
"out_of_size": 96,
|
| 64 |
+
"missing": 17,
|
| 65 |
+
"not_whole_flat": 897,
|
| 66 |
+
"zero": 3,
|
| 67 |
+
"dup": 360,
|
| 68 |
+
"outlier": 49
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"south": {
|
| 72 |
+
"name": "جنوب تهران",
|
| 73 |
+
"size_m2": [
|
| 74 |
+
40,
|
| 75 |
+
110
|
| 76 |
+
],
|
| 77 |
+
"ads": 3252,
|
| 78 |
+
"rows": 2711,
|
| 79 |
+
"dropped": {
|
| 80 |
+
"out_of_size": 53,
|
| 81 |
+
"missing": 2,
|
| 82 |
+
"not_whole_flat": 292,
|
| 83 |
+
"zero": 4,
|
| 84 |
+
"dup": 156,
|
| 85 |
+
"outlier": 34
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"karaj": {
|
| 89 |
+
"name": "کرج",
|
| 90 |
+
"size_m2": [
|
| 91 |
+
40,
|
| 92 |
+
110
|
| 93 |
+
],
|
| 94 |
+
"ads": 4332,
|
| 95 |
+
"rows": 3585,
|
| 96 |
+
"dropped": {
|
| 97 |
+
"out_of_size": 210,
|
| 98 |
+
"missing": 7,
|
| 99 |
+
"not_whole_flat": 285,
|
| 100 |
+
"zero": 4,
|
| 101 |
+
"dup": 213,
|
| 102 |
+
"outlier": 28
|
| 103 |
+
}
|
| 104 |
+
}
|
| 105 |
+
},
|
| 106 |
+
"snapshots": [
|
| 107 |
+
"2026-10-09",
|
| 108 |
+
"2026-10-13",
|
| 109 |
+
"2026-10-15",
|
| 110 |
+
"2026-10-19",
|
| 111 |
+
"2026-10-20"
|
| 112 |
+
],
|
| 113 |
+
"end": "2026-10-20",
|
| 114 |
+
"cutoff": "2026-10-13",
|
| 115 |
+
"rate": 0.03,
|
| 116 |
+
"holdout_days": 7,
|
| 117 |
+
"undated": 0
|
| 118 |
+
}
|