Tracking car energy use (as dollars)

2024-01-24 Thread Ken Mankoff
Hello, I used to track car gas usage with beancount. I now have an electric car. It's plugged in at home, and is therefore part of my electric bill. I know exactly how many kWh go into my car each month, and would like to get an estimate of what portion of my electric bill goes to the car. This

Re: Tracking car energy use (as dollars)

2024-01-24 Thread Chary Chary
Looks good for me. The only thing is that I do not think you need this {0.15 USD} notation, as such notation is used for tracking things at cost and is needed for stock trading. You could have used the *@ 0.15 USD* notation, but even this is redundant, as you already have a price entry So, ju

Re: Automatically flagging expenses of interest

2024-01-24 Thread Yichu Zhou
There is a kind of machine learning problem called outlier detection. I think sciki-learn library is a good starting point if we want to use ML techniques. But in our case, I feel the definition of “abnormal” varies on different personal situations. It might be tricky to formulate the problem prope

Re: Automatically flagging expenses of interest

2024-01-24 Thread Eric Altendorf
This would probably be more useful if users can provide their own examples of abnormal and normal expenses. In that case, the model itself is probably not very difficult; I imagine a variety of off the shelf toolkits would work. To me, the harder part seems like making the workflow smooth and rob

Re: Automatically flagging expenses of interest

2024-01-24 Thread Red S
Very interesting, thank you all. I wonder if a single user's journal would suffice for a learning dataset in this case. For me, expenses across categories of interest are those have been stable for years. Plus, I’m willing to deal with false positives (but preferably not false negatives). The

Re: Automatically flagging expenses of interest

2024-01-24 Thread Timothy Jesionowski
Maybe take a page from fraud detection and try to annotate each transaction with the hour of the day, day of the week, day of the month, and accumulated transaction volume/value when the transaction occurred. Eve