Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Bear-Witness-98 committed Jul 19, 2024
1 parent 71b13b8 commit 4255a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion challenge/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def post_predict(flight_data: FlightData) -> dict:
flight_data_df = flight_data_to_pandas(flight_data)
preprocessed_data = model.preprocess(flight_data_df)

# sorts column too feed the model
# sorts column to feed the model
column_order = model._model.feature_names_in_
preprocessed_data = preprocessed_data[column_order]

Expand Down

0 comments on commit 4255a34

Please sign in to comment.