Model/model_data
2023-07-04 20:11:05 +01:00
..
analysis removed outlier testing but got some decent results binning some variables 2023-07-04 20:11:05 +01:00
epc_attributes fixed minor bug which commented out the averages cleaning 2023-07-03 18:31:49 +01:00
optimiser Setting up the data_collection projec 2023-06-29 16:20:36 +01:00
plotting Added plotting functions 2023-06-27 09:56:14 +01:00
recommendations Added first floor recommendation tests 2023-06-27 12:23:55 +01:00
tests Added spelling correction using nlp textblob 2023-07-03 18:12:23 +01:00
__init__.py renamed epc_data to model_data 2023-06-15 15:05:50 +01:00
app.py Testing dropping features - new best accuracy 2023-07-04 15:45:34 +01:00
BaseUtility.py Added first floor recommendation tests 2023-06-27 12:23:55 +01:00
BoreholeClient.py Added borehole tests 2023-06-19 20:31:55 +01:00
config.py renamed epc_data to model_data 2023-06-15 15:05:50 +01:00
ConservationAreaClient.py Implemented conservation area logic 2023-06-21 17:40:47 +01:00
downloader.py Added new epc-api-python version and increased amount of data being used 2023-07-01 16:02:35 +01:00
EpcClean.py fixed minor bug which commented out the averages cleaning 2023-07-03 18:31:49 +01:00
LandRegistryClient.py finished land registry client for the moment 2023-06-16 09:17:46 +01:00
OpenUprnClient.py coordinate distance functions 2023-06-17 11:47:17 +01:00
Property.py Fixed property tests 2023-07-03 15:42:24 +01:00
rdsap_tables.py Added U-value and perimeter estimation functions 2023-06-26 13:05:12 +01:00
README.md renamed epc_data to model_data 2023-06-15 15:05:50 +01:00
requirements.txt Testing dropping features - new best accuracy 2023-07-04 15:45:34 +01:00
temp_inputs.py renamed epc_data to model_data 2023-06-15 15:05:50 +01:00
utils.py Added spelling correction using nlp textblob 2023-07-03 18:12:23 +01:00

Environment setup

We're using conda to manage environments to circumvent the issues with Mac M1. This documentation will also cover Pycharm setup.

We're working in python 3.10 so

conda create -n hestia-data python=3.10

Then activate the environment

conda activate hestia-data

To set up with Pycharm, run

which python

and grab the path to the python executable. Then in Pycharm, go to Settings > Project > Python Interpreter and click the gear icon to add a new interpreter. Select Conda and either paste the path to the python executable and click OK, or select the conda environment from the dropdown.

You may need to restart Pycharm for the new interpreter to be recognised.

To install project dependencies navigate to /model_data and run

pip install -r requirements.txt

Running Tests

If you are not in a virtual environment, activate it with

conda activate envName

Then run

python -m pytest