scikit-learn==0.24.2
scipy==1.1.0
pandas==1.1.5
numpy==1.19.5
lifelines==0.26.0
matplotlib==3.2.1
python regression.py
In the end, it can be said that there is a weak correlation between the price of a property and its liquidity. And that makes perfect sense. A house or apartment with a higher sale value generally takes longer to sell when considering a scale of months.
python train.py
python survival.py
The following image presents a graph using a Kaplan Meier estimator to generate the survival function distribution. Interpreting the plot, it is possible to explain that the longer a property has been on the market for sale, the greater the likelihood of it being sold in contrast to a property that has been on the market for less time.