Live data from Hacker News

Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database

news.ycombinator.com

31–40 of 62 posts

Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database

#31

How does your product differ from MS SQL's integrated R, for someone who only needs MS SQL Server support?

this is a great question, I actually think that if your language is also R, MSsql r integration is a great option, what we bring to the table for MSSQL users in particular is more options as well as better performance for some types of problems like high cardinality on time-series, for example: predicting inventory for all products in a database taking into account all previous inventory as well as say marketing data, building this in the R bindings would be quite a challenge, with mindsdb its a simple SQL statement

Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database

#32

What 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…

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.

Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database

#33
post #11
post #6

I'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!

Is it possible do the anomaly deduction with clickhouse data?

Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database

#34
post #32

Earlier 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.

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 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

#35
post #33
post #11

Earlier 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?

This is actually the next milestone in our time series roadmap, so you can expect it to be possible rather soon :)

Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database

#36
Hi

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

#37
post #32

Earlier 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…

Thanks for your feedback! Based off the description of how you already do things, I'd say you're ahead of the curve as far as rigorous model quality benchmarking. You should absolutely hold off of using nitroml for a few months until it's more mature. It's very much pre-prerelease in a build-in-the-open sense. :) I'll shoot you an email once it's ready for anyone to try out. When the time comes, we'll have a blog post to announce it, and will include proper documentation.

And, congrats on the launch!

Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database

#38

Hi 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?

> So I assume that you are doing hyperparameter search? Can you share what optimization method you are using for search (e.g. random, gp )?

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

#39

Hi 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 coming releases, would you like to give it a test drive?

Re: Launch HN: MindsDB (YC W20) – Machine Learning Inside Your Database

#40
post #39

Hi 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…

I am actually working on a product in the same area (auto ml/ mlops ) as a non YC startup... We might be able partner. I am not sure how to reach you?
Post reply on HN