News for hackers. Stuff that matters.
Re:Improve AI – Optimize Your App Easily with AI by orasis on Friday April 08, 2022 @11:26AM (#30958391)
Hi there, Justin here, the creator of Improve AI. I would love any feedback and feel free to ask me anything. Thanks!
Re:Improve AI – Optimize Your App Easily with AI by gavinray on Friday April 08, 2022 @01:06PM (#30959729)
Going to sound cynical/snarky below, promise I'm not. Also disclaimer, I know almost nothing about ML:

- The homepage makes a vague statement about "AI". This is a personal thing, but to me "AI" sets off warning bells. It feels like a vague term, compared to "ML".

- I couldn't find any FAQ or references on the site to technical architecture. What underlying framework/library is used for the models, and what kind of NN architecture?

- If I were going to do this myself, I would probably do something like the below. Why not do this?

  > Dump tabular data of feature/option/scores and model serialized as binary in SQLite DB
  > Use a tool to autogenerate a CRUD API over SQL DB, host that as model server
  > Use Litestream to replicate SQLite DB to S3
  > Pick one of the beginner-friendly ML toolkits like PyTorch/Fast.ai/TF, use tabular data API to train prediction/scoring model from historical data
  > Option to fetch the SQLite DB to local devices so that it's offline-capable
- For option-weighting, why use ML instead of simple regression? Facebook's time-series forecasting tools are based on regression analysis.

Also as a note, the quickstart guide redirects to iOS SDK Github

Re:Improve AI – Optimize Your App Easily with AI by orasis on Friday April 08, 2022 @01:18PM (#30959892)
I hear you on the AI vs ML thing. I doubt the debate will ever be resolved, but the domain name is .ai so I went with that.

The reason to use a full machine learning model instead of a simple statistical model is three-fold:

1) The framework supports any arbitrary JSON encodable data structure as a variant, this includes nested dictionaries, lists, etc. A full ML model allows capturing the entire complexity of the data stored in the variant - numbers, strings, booleans, etc and those can even be changed and the model will still be able to predict performance.

2) A full ML model allows generalization across complex variants. So if later on you introduce new variants, it may already be imply some things about how that variant will perform. For the most part simple statistical models must learn each variant from scratch.

3) The models don't just seek to make decisions that are a global optimum, like you would do with A/B testing. They are seeking to find a contextual optimum given the current conditions. This type of modeling also requires the generalization that ML gives you.

Re:Improve AI – Optimize Your App Easily with AI by gavinray on Friday April 08, 2022 @01:27PM (#30960017)
Those are really good answers, especially the points about nested JSON structures and generalization.

Not sure I understand point #3 -- not familiar with global vs contextual optimum. The idea is that a global optimum is the aggregate optimum across all users, versus a contextual optimum which is the optimum for just the current user/device?

Couldn't you do this by doing regressions on a per-user-id basis or similar if that was the case? (I really don't know)

Re:Improve AI – Optimize Your App Easily with AI by marcelluscat on Friday April 08, 2022 @01:20PM (#30959913)
This looks awesome! Is there anyway to pay you for the license but self host it instead of aws?
Re:Improve AI – Optimize Your App Easily with AI by orasis on Friday April 08, 2022 @01:25PM (#30959978)
I'd love to learn more about what you're envisioning, you can e-mail me at [email protected] or hit me up on Discord at https://discord.com/invite/mxtdJxfyRk
Re:Improve AI – Optimize Your App Easily with AI by 100k on Friday April 08, 2022 @12:34PM (#30959264)
Interesting product. FYI, you have a typo in your post: utiliziing -> utilizing
Re:Improve AI – Optimize Your App Easily with AI by orasis on Friday April 08, 2022 @12:44PM (#30959422)
Thanks so much! fixed!
Re:Improve AI – Optimize Your App Easily with AI by 0x6862 on Friday April 08, 2022 @10:51PM (#30964885)
Any technical reason why there's no Typescript SDK?
Re:Improve AI – Optimize Your App Easily with AI by orasis on Saturday April 09, 2022 @02:50PM (#30970846)
For our initial launch we decided to go with Python and Java. For the time being for other backend frameworks we figure people can fairly easily spin up a Python microservice. We are listening to the requests for other SDKs so thanks for mentioning it.