Inspiration

The knapsack algorithm is an intuitive solution to the query of which properties to choose.

What it does

It generates text files containing information on each loan an a given mortgage pool. The results are printed in this format: loan_id|upb|note_rate|borrower_fico|coborrower_fico|combined_fico|state|dti|ltv|maturity_date|loan_ter |property_type Please inspect the outputted files using this guide

How we built it

We built this project in Java, using Replit to collaborate and Eclipse to edit.

Challenges we ran into

The hardest part of this challenge was managing the large data set we were given. We frequently ran out of available space on the heap and had runtime issues.

Accomplishments that we're proud of

Our code works as instructed by the Fannie Mae Challenge. Considering our group is freshmen computer science majors that are beginners, we are happy that we provided a concrete answer to the challenge.

What we learned

We learned about solving and implementing the knapsack algorithms; parsing, writing, and creating .txt files in java; utilizing RegEx expressions; managing large data sets.

What's next for Mortgage Knapsack Calculator

We would like to optimize our knapsack algorithm to be able to work on even larger data sets without running into any issues with memory management and runtime.

Built With

Share this project:

Updates