How does your product differ from MS SQL's integrated R, for someone who only needs MS SQL Server support?
Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
31–40 of 62 posts
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#32What type of ML algorithms do you support? Do you have benchmarks with performance?
Regrading benchmarks, we have three main dataset collections we focus on currently: 1. Datasets from customers, but obviously those can’t be made public. 2. The OpenML benchmark, which is fairly limited because it’s mainly binary categories, but which is good because it’s a 3rd party, so unbiased. We have some intermediary results here ( https://docs.google.com/spreadsheets/d/1oAgzzDyBqgmSNC6g9CFO... ) , they are mid…
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#33I've been following you, guys, for some months and I must say I'm a huge fan. Being a hardcore Clickhouse user, I got hooked with your tutorial about how to make it work with your product. Best of luck!
thank you!! lets chat, we would love to show you the timeseries cool stuff we have done for clickhouse!
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#34Earlier quoted context omitted.
Regrading benchmarks, we have three main dataset collections we focus on currently: 1. Datasets from customers, but obviously those can’t be made public. 2. The OpenML benchmark, which is fairly limited because it’s mainly binary categories, but which is good because it’s a 3rd party, so unbiased. We have some intermediary results here ( https://docs.google.com/spreadsheets/d/1oAgzzDyBqgmSNC6g9CFO... ) , they are mid…
The benchmarking challenges you are facing are pretty common in the AutoML community. My colleagues and I at Google Research are trying to solve this with https://github.com/google/nitroml . It's still super early days (no CI yet), but I think it could help your team benchmark on a set of open standard benchmark tasks as we open source more of the system.
To be honest I'm rather happy with how the internal benchmark suite is turning out, but to some extent you are inviting bias by creating them yourself. On top of that, it doesn't hurt to have more benchmarks.
At the end of the day it's a combination of: * How much work is it to integrate (easy to measure) * How visible is it, i.e if we actually find something interesting will be visible and legible to others (ify to mesure, citations, stars, etc are some invitation) * How useful it is to "improve" the library (hard to measure, and what we aim to be good at is a moving target)
So realistically that's the equation I have to judge in terms of adding a new benchmarks suite, and it's very annoying because you'll note the most important things are the hardest to measure.
Would you want people to integrate with this now or would you rather wait a few weeks/months/years until it matures more? If the former, can you give a few details regrading where to start (README is fairly barren), if the later please ping me (george.hosu@mindsdb.com) when you think it could be ready to try.
Anyway, any open benchmark library is a step in the right direction, thanks for working on this :)
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#35Earlier quoted context omitted.
thank you!! lets chat, we would love to show you the timeseries cool stuff we have done for clickhouse!
Is it possible do the anomaly deduction with clickhouse data?
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#36So I assume that you are doing hyperparameter search? Can you share what optimization method you are using for search (e.g. random, gp )?
Also, is the search can be distributed in parallel to multi node ?
And, if mindsdb is not part of the db, what happen if minddb fail ?
Also, do you support automatic retraining? If yes, can you elaborate more?
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#37Earlier quoted context omitted.
The benchmarking challenges you are facing are pretty common in the AutoML community. My colleagues and I at Google Research are trying to solve this with https://github.com/google/nitroml . It's still super early days (no CI yet), but I think it could help your team benchmark on a set of open standard benchmark tasks as we open source more of the system.
Looks quite interesting, already pinned this in the relevant slack channel :) To be honest I'm rather happy with how the internal benchmark suite is turning out, but to some extent you are inviting bias by creating them yourself. On top of that, it doesn't hurt to have more benchmarks. At the end of the day it's a combination of: * How much work is it to integrate (easy to measure) * How visible is it, i.e if we actu…
And, congrats on the launch!
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#38Hi So I assume that you are doing hyperparameter search? Can you share what optimization method you are using for search (e.g. random, gp )? Also, is the search can be distributed in parallel to multi node ? And, if mindsdb is not part of the db, what happen if minddb fail ? Also, do you support automatic retraining? If yes, can you elaborate more?
Short answer is optuna and ax but only sometimes.
Long answer lead me down a rabbit whole and it's 10k+ words and a few experiments deep. If you're interested in this are specifically ping me, but I've got nothing concrete, however I like discussing it. A recent paper I saw that somewhat echos my thoughts is: https://arxiv.org/pdf/2102.03034.pdf | but some bits feel either over my head and/or overly pedantic and/or overly formal | and I'm not sure I agree with the conclusion | and loads of it is irrelevant. But if the problem interests you I'd suggest giving it some time, with those disclaimers in mind
> Also, is the search can be distributed in parallel to multi node ?
Theoretically yes, practically it's still WIP to get this to work, but the architecture we have right now is very much conceived with massive distribution in mind (see our docs for more details on that).
> And, if mindsdb is not part of the db, what happen if minddb fail ?
The select query you use to make a prediction returns an error, essentially. Assuming you mean "what happens if it crashes or if the model you are using crashes?".
e.g:
psql> SELECT diagnostic FROM mindsdb.flu_detector WHERE headache=true AND temperature=37.5 AND cough='mild';
psql> Error: External table returned error: "Segfault"
OR
psql> SELECT diagnostic FROM mindsdb.flu_detector WHERE headache=true AND temperature=37.5 AND coughsfsagsa='mild';
psql> Error: External table returned error: Input column `coughsfsagsa` doesn't exist
(or something like that)
> Also, do you support automatic retraining?
Not at the moment, but we're going to add it very soon, with the first implementation allowing retraining with a certain user-set frequency (e.g. once every 2 hours).
Which will allow the model to be always fresh as new data comes in (assuming there's no time limit on the query)
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#39Hi So I assume that you are doing hyperparameter search? Can you share what optimization method you are using for search (e.g. random, gp )? Also, is the search can be distributed in parallel to multi node ? And, if mindsdb is not part of the db, what happen if minddb fail ? Also, do you support automatic retraining? If yes, can you elaborate more?
Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database
#40Hi So I assume that you are doing hyperparameter search? Can you share what optimization method you are using for search (e.g. random, gp )? Also, is the search can be distributed in parallel to multi node ? And, if mindsdb is not part of the db, what happen if minddb fail ? Also, do you support automatic retraining? If yes, can you elaborate more?
These are amazing questions Streetcat, We do some hyperparameter search using Optuna, we may be moving to Ray Tune because it can be highly parallelized. If MindsDB fails, it depends on how various DBs manage federated storage, but essentially you will get a query error. Funny that you mention automatic retraining, people have been asking for this recently, we will be supporting a retrain_frequency parameter in the c…