mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
removing temp code from router
This commit is contained in:
parent
59271a5009
commit
68320571ba
1 changed files with 0 additions and 5 deletions
|
|
@ -164,9 +164,6 @@ async def trigger_plan(body: PlanTriggerRequest):
|
|||
|
||||
model_api = ModelApi(portfolio_id=body.portfolio_id, timestamp=created_at)
|
||||
|
||||
# recommendations_scoring_data.loc[17, 'photo_supply_ending'] = 50
|
||||
recommendations_scoring_data.loc[5, 'walls_thermal_transmittance_ending'] = 0.25
|
||||
|
||||
all_predictions = model_api.predict_all(
|
||||
df=recommendations_scoring_data,
|
||||
bucket=get_settings().DATA_BUCKET,
|
||||
|
|
@ -240,8 +237,6 @@ async def trigger_plan(body: PlanTriggerRequest):
|
|||
]
|
||||
recommendations[property_id] = final_recommendations
|
||||
|
||||
impact_df = pd.DataFrame(recommendations[input_properties[0].id])
|
||||
|
||||
# This is a temporary step, to estimate the impact of the measured on heat demand and carbon
|
||||
# TODO: This needs to be cleaned up, if it happens to be kept
|
||||
representative_recs = {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue