fschwartzer commited on
Commit
9a4e238
·
1 Parent(s): 1892d4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -200,7 +200,7 @@ st.markdown(f"""<style>
200
  # Check if KNN should be applied
201
  if selected_coords == 'Direcionada' and radius_visible:
202
  # Apply KNN and get predicted V_oferta values
203
- predicted_V_oferta = knn_predict(filtered_data, 'V_oferta', ['latitude', 'longitude', 'Area']) # Update with your features
204
  # Add predicted V_oferta values to filtered_data
205
  filtered_data['Predicted_V_oferta'] = predicted_V_oferta
206
 
 
200
  # Check if KNN should be applied
201
  if selected_coords == 'Direcionada' and radius_visible:
202
  # Apply KNN and get predicted V_oferta values
203
+ predicted_V_oferta = knn_predict(filtered_data, 'V_oferta', ['latitude', 'longitude']) # Update with your features
204
  # Add predicted V_oferta values to filtered_data
205
  filtered_data['Predicted_V_oferta'] = predicted_V_oferta
206