Back To Projects

Predicting the Performance of Code using Machine Learning

Zachary R.

The goal of this research paper is to see the potential of machine learning to predict the performance of a given program.


The goal of this research paper is to see the potential of machine learning to predict the performance of a given program. Doing this could allow for faster predictions than compiling and properly testing a given program, especially with high compile-time optimization, allowing for faster optimization of a program. To accomplish this, we trained a model consisting of a TreeLSTM and an MLP on a dataset sourced from CodeChef in order to predict the time and memory taken by a given program. After training, we received an average percent error of 22.43% and 1261.07% for time and memory respectively which is fairly poor overall but somewhat fine for the time. As such, this paper concludes that machine learning can potentially be used to accomplish this goal but would likely need a more involved and thought through implementation to work effectively.

Zachary R.
Zachary Gittelman
MS in Information Systems from Cornell; startup co-founder

Related Projects

Evaluating Autonomous Vehicle Safety: A Comparative Analysis of ADS and ADAS Incident Data Using Machine Learning Models

This research evaluates the safety performance of Advanced Driver Assistance Systems (ADAS) and Automated Driving Systems (ADS) by training supervised machine learning models on incident report data to predict injury severity. The best results were achieved using a fine-tuned Random Forest model, offering insights to improve autonomous systems and enhance road safety.
Quang M.
Mentored by Edoardo Contente
Predictive Analysis of Aircraft Engine Lifespan: Leveraging Neural Networks on NASA's C-MAPSS Dataset

This research paper explores the application of neural networks for predictive maintenance of aircraft engines, focusing on the estimation of their Remaining Useful Life (RUL).
Sambhav A.
Mentored by
Smart Agriculture: Optimizing Soil pH and Crop Recommendations Using Machine Learning

This study explores how hyperparameter tuning enhances the performance of machine learning models, achieving a 99.5% accuracy in crop classification and highlighting the potential of AI-driven optimization for sustainable precision agriculture.
Pracheth G.
Mentored by Henry Cerbone