Melon analytics pricing
This package provides one class: ImmoNeighbors. You should train one such instance per floor(number_of_rooms) from 1 to 6+. Example code:
''' no_of_rooms = 3
training_data = immo[np.floor(immo["rooms"]) == no_of_rooms] neighbors = ImmoNeighbors(training_data.copy())
apartments = apartments_to_benchmark[['lon','lat','area']].to_numpy() dists,inds,rents = neighbors.k_neighbors(apartments)
rent_percentiles = neighbors.weighted_percentiles(dists,rents,percentiles=[10,50,90]) '''
Usually, problematic inputs will be ignored and have a corresponding row of NaNs in the output. More details about that can be found in the documentation of the respective function.
Metadata
Release files for melon-analytics-pricing 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| melon_analytics_pricing-0.0.1.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| melon_analytics_pricing-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.8 kB
Release files / melon_analytics_pricing-0.0.1.tar.gz
| Download URL | melon_analytics_pricing-0.0.1.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0507f9b44e1b1f62deb84b162401a16855aca6ebcf1e4709297c00f64a7cf9a8
|
|
BLAKE2b-256 checksum How to use checksums |
2799c2666b23cddd55eb89ada317d1bb346317e0cd2dff13ed57531b03deb560
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|
Release files / melon_analytics_pricing-0.0.1-py3-none-any.whl
| Download URL | melon_analytics_pricing-0.0.1-py3-none-any.whl |
|---|---|
| Size | 17.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
361fcad7eeba6e517dac43763101b82d9e41ae118394eff91cae8e66c92b06c9
|
|
BLAKE2b-256 checksum How to use checksums |
59d4d0e95ff615a51bf5e4c0cc95f322dbd2ad1d80563a6d02047546a8c36e24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.13
|