How do you deal with different dataset train/validation/test? How do you measure the degradation of the model? Is there any way to select the metric you target (accuracy, f1-score or any other)?
The data split technique is one of the optional parameters for the call to ‘train’. Model degradation is a really interesting topic, that is hopefully made less difficult when retraining is trivialized, but we also want to add deeper analytics into individual model predictions, as well as better model explanations with tools like shap. We haven’t exposed custom performance metrics in the API yet, but we’re computing…
Show HN: PostgresML, now with analytics and project management
41–50 of 76 posts
Re: Show HN: PostgresML, now with analytics and project management
#42Seems like a great idea. When you look at many ML frameworks half the code and learning overhead is data schlepping code and table like structures that "reinvent" the schema that already exists inside a database. Not to mention, there can be security concerns from dumping large amounts of data out of the primary store (how are you going to GDPR delete that stuff later on?). So why not use it natively where the data a…
Re: Show HN: PostgresML, now with analytics and project management
#43Re: Show HN: PostgresML, now with analytics and project management
#44Re: Show HN: PostgresML, now with analytics and project management
#45is it possible, or how hard is it, to plug in custom proprietary models?
In the opposite direction of bespoke fully custom models being the norm, I'd like to build more "rails" for ML. Hopefully we can expose enough hyperparams, even for deep learning architectures, and automatically adapt the inputs with configurable transformers so that we cover 90% of the custom use cases out of the box.
Re: Show HN: PostgresML, now with analytics and project management
#46Great idea! I see this is implemented using the Python language interface supported by PostgreSQL and importing sklearn models. I always wonder how scalable this is considering the serialization-deserialization overhead between Postgres' core and Python. Do you see any significant performance difference between this and training the sklearn models directly on something like Dataframes?
In the end though, it'll be important to have benchmarks for all the key steps in the process, both in terms of memory and compute. Off a hunch, I think the memory inefficiency involved in high level pandas operations is more likely to be a driving force to move operations into lower layers, than CPU runtime.
Re: Show HN: PostgresML, now with analytics and project management
#47Re: Show HN: PostgresML, now with analytics and project management
#48Seems like a great idea. When you look at many ML frameworks half the code and learning overhead is data schlepping code and table like structures that "reinvent" the schema that already exists inside a database. Not to mention, there can be security concerns from dumping large amounts of data out of the primary store (how are you going to GDPR delete that stuff later on?). So why not use it natively where the data a…
Yeah — seems like all you need is Snowflake-esque separation of storage and compute and bob’s your uncle.
Re: Show HN: PostgresML, now with analytics and project management
#49What affiliation does this have with PostgreSQL?
None, it's just an extension. Which is part of what is so awesome about PostgreSQL, everyone can build extensions that look and feel native and can do almost anything.
Re: Show HN: PostgresML, now with analytics and project management
#50Earlier quoted context omitted.
Yeah — seems like all you need is Snowflake-esque separation of storage and compute and bob’s your uncle.
Looks like a good fit to run on Hydras.io (YC W22) the Postgres data warehouse that separates the PG query layer from compute / storage. Disclaimer, I'm the co-founder.