{"repo":"rclement/datasette-ml","free":true,"listed":false,"github":"https://github.com/rclement/datasette-ml","clone":"git clone https://github.com/rclement/datasette-ml.git","description":"A Datasette plugin providing an MLOps platform to train, eval and predict machine learning models","language":"Python","stars":18,"topics":["ai","datasette","datasette-plugin","machine-learning","python","scikit-learn","sql","sqlite","mlops"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Datasette ML Bringing Machine Learning models near your data, not the other way around! Datasette ML is a Datasette plugin providing an MLOps platform to train, evaluate and make predictions from machine learning models. All the underlying features are provided by sqlite-ml . WARNING : this plugin is still experimental and not ready for production. Some breaking changes might happen between releases before reaching a stable version. Use it at your own risks! Installation Install this plugin in the same environment as Datasette: Usage Define configuration within metadata.yml / metadata.json : A new menu entry is now available, pointing at /-/ml to access the MLOps dashboard. Configuration properties Property Type Description -------- -------- ----------------------------------------------- db string Database to store ML models (default is sqml ) Tutorial Using datasette-ml you can start training Machine Learning models directly along your data, simply by using custom SQL functions! Let's get started by training a classifier against the famous \"Iris Dataset\" to predict flower types. Loading the dataset First let's load our data. For a real world project, your data may live with its own table or being accessed through an SQL view. For the purpose of this tutorial, we can use the sqml load dataset function to load standard Scikit-Learn datasets: It will return the following data: dataset --- {\"table\": \"dataset iris\", \"feature names\": [\"sepal length (cm)\", \"sepal width (cm)\", \"pet","default_branch":null,"files":null,"tree":[],"storefront":"/r/rclement","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rclement/datasette-ml/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}