This project alow you to find best actions to buy with two versions of code: a brute force version and an optimized version using dynamic programming.
The program allows users to choose datasets for actions datas, performs RAM and time profiling, and exports profiling graphs.
The project utilizes libraries such as psutil, itertools, pandas, and matplotlib.
- Two Versions:
- Brute Force: Exhaustively tests all combinations to find the optimal solution.
- Optimized: Uses dynamic programming to efficiently find the optimal solution.
- Dataset Selection: Users can choose different datasets for testing.
- Profiling:
- RAM usage and execution time profiling.
- Exports graphs of the profiling results.
- Libraries Used:
psutil: For process and system utilization monitoring.itertools: For efficient looping and combination generation.pandas: For data manipulation and analysis.matplotlib.pyplot: For plotting and visualizing profiling data.
- Python 3.6 or later
Once the code has been downloaded, go to the project directory and enter the following commands in terminal
install a new vitual environement :
python -m venv env
activate the environement :
env/Scripts/activate
install all the depedencies :
pip install -r requirements.txt
run the code :
python main.py
Note
The commands above are for Windows use. Go to the official Python documentation for MacOS or Unix usage.
Feel free to mail me for any questions, comments, or suggestions.