Skip to main content

Script for apartment price benchmarking based on market data

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

melon_analytics_pricing-0.0.1.tar.gz (16.4 kB view hashes)

Uploaded Source

Built Distribution

melon_analytics_pricing-0.0.1-py3-none-any.whl (17.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page