Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically detect / suggest category #61

Open
radulucaciu opened this issue Feb 10, 2018 · 1 comment
Open

Automatically detect / suggest category #61

radulucaciu opened this issue Feb 10, 2018 · 1 comment
Assignees

Comments

@radulucaciu
Copy link
Collaborator

Right now the user has to select the category for each transaction. We can improve this by automatically selecting a category.

Option 1: Select the last used category

Option 2: Use KNN to make an educated guess on which category to pick.
Ideally we'd want to use the following features:

  • day of the month
  • transaction value
  • transaction type (income / expense)

However, there is a worry here that changing the category after the user has entered the value could be confusing (since the category would change). A solution would be to identify the category based on just day of the month and type, then, once the user adds the value, we can run the algo again and suggest a new category

@radulucaciu
Copy link
Collaborator Author

radulucaciu commented Feb 10, 2018

Going with KNN.

For the purpose of this implementation, we'll ignore any optimizations, we'll go with a static value for k=3

For the scope of this exercise, we will not be running validation on this algorithm.

@radulucaciu radulucaciu self-assigned this Feb 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant