Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 730 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 730 Bytes

Engine RPMs vs. Speed

Plots engine RPMs against car speed and performs k-means clustering to determine the gear number.

How to use:

  1. You can collect your own source data with an OBD2 reader that supports exporting to a file.
  2. Update the global constants in engine_rpms_vs_car_speed.py to match your source data file name and column names.
  3. Install the requirements: pip install --requirement requirements.txt
  4. Run the script: python engine_rpms_vs_car_speed.py

Graph of data without clustering: Without clustering

Graph of data with clustering: With clustering