Skip to content

victorqribeiro/budget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Budget

A smart budgeting app that that predicts the location of the expense being made.

Budget is a JavaScript toy app that implements a KNN to predict where the expense is being made.

An online version is hosted here. You can add it to your phone as an app, if you like.

It uses the day of the week, the hour of the day and the value of the expense as features to predict the location of the purchase. Its a toy app because it stores data in the localStorage of the browser. Its not reliable or robust and the code is a bit messy; it was made as an exercise (or proof of concept) after a machine learning class.

The app was written in portuguese, but a quick hack was made to accept other languages. Right now you can choose between english and Brazilian portuguese.

How to Translate

Make a copy of the en.json file and replace the sentences, translating to the desired language. After that, change the variable langSetting in js/main.js to the name of the json file you made:

let langSetting = 'js/en.json';

Donations