
KMDS
Knowledge Management for Data Science
3 followers
Knowledge Management for Data Science
3 followers
KMDS is a python package that helps data scientists and data analysts collaborate and document their analysis and model development projects.See the kmds wiki for recipes to use kmds: https://github.com/rajivsam/kmds_recipes/wiki





There a lot of updated features in this product now, you can check https://github.com/rajivsam/kmds_migration for examples. Now, you can use an assistant like co-pilot to compleletly drive data-cleaning, featurization and modeling. I don't want to give the impression that you give your dataset to this tool and you get a product. If you know data science, it takes the tedious code generation out of the picture. You still need good judgement and understanding of data science to write a good design document and feature spec for this tool to implement. The examples show you the consistency and the inputs that are required. The examples cover a range of ML tasks.
Another update — survival analysis is supported now as a model type. Added an example using an IT service management dataset, modeling time to ticket resolution across different support groups. This one's a good illustration of the point I made in my last comment about judgement still being needed: most people would default to treating "will this ticket breach SLA" as a plain classification problem, but that throws away information — tickets still open when you pull the data aren't "not resolved," they're censored, and a survival model handles that correctly where a classifier can't. The tool doesn't pick that framing for you, you still need to know to ask for it. Example is here alongside the others: https://github.com/rajivsam/kmds_migration
Also wrote up how this fits with using coding agents day to day — same idea as before, agent handles the code generation, you still need to know what you're asking it to build:
https://rajivsam.github.io/r2ds-blog/posts/kmds_update_1/
https://rajivsam.github.io/r2ds-blog/posts/kmds_update_example/
I have been meaning to simplify and point out the conceptual motivation of the ideas behind this product, so here they are:
Background about the problem this solves and the specific approach: https://r2dssanity.substack.com/p/beyond-the-agent-illusion-leveraging?r=3ncgel&utm_campaign=post-expanded-share&utm_medium=web
The first task getting from a business use case to a data science task: https://r2dssanity.substack.com/p/from-business-use-case-to-technical?r=3ncgel
The second task, cleaning the data associated with the data science task: https://r2dssanity.substack.com/p/from-task-specific-data-to-modeling?r=3ncgel
The third task, featurizing the data and the fourth task, building a model with the featurized data are covered here: https://r2dssanity.substack.com/p/modeling-and-featurization?r=3ncgel
https://github.com/rajivsam/kmds-dataset-util is a utility that solves a KMDS problem and a general data science problem. Most teams start with a set of data assets they download from some http end point - could be an operational data store or a data lake or simply a S3 bucket. They then have to generate data representation from these assets for some canoical modeling task. This utility solves this with a two step process:
A download step
A transformation to task representation step.
The goal is to support both graph and tabular datasets. There are a small set of tasks supported right now, this will grow in the future. The important fact to note with this utility is that it will transform your dataset into a data representation and a set of configuration and data assets that can be used by KMDS to produce a data modeling product.