Create your first MindsDB model
Last updated August 24, 2024
Welcome to MindsDB, where we simplify the process of building machine learning models by allowing you to create, train, and deploy models using your existing data. This guide will walk you through the steps to create your first model in MindsDB, enabling you to unlock insights from your data with ease.
Step-by-Step Guide to Creating Your First MindsDB Model
- Sign in to Your MindsDB Account
- Visit MindsDB and sign in using your credentials.
- If you don’t have an account yet, you can sign up for free.
- Connect Your Data Source
- Navigate to the "Data Sources" section from the dashboard.
- Click on “Add Data Source” and select the type of data you want to connect (e.g., MySQL, PostgreSQL, CSV).
- Provide the necessary connection details and click "Connect."
- Create a New Project
- Go to the “Projects” tab on the left-hand menu.
- Click “New Project” and give your project a name.
- Select the data source you connected earlier.
- Define Your Model
- In the project view, click on “Create Model.”
- Choose the data you want to use for training the model.
- Specify the target variable (the outcome you want the model to predict).
- Configure Model Settings
- Set up the model's parameters, such as the type of algorithm, training settings, and any custom configurations.
- Review the settings and click “Create Model” to start the training process.
- Monitor Training Progress
- Once the model training begins, you can monitor its progress in real-time.
- View logs, performance metrics, and make adjustments if necessary.
- Deploy and Use Your Model
- After training is complete, your model will be ready for deployment.
- Go to the “Deployments” tab, and select your model to deploy it.
- You can now use the deployed model to make predictions by querying it via the MindsDB interface or API.
Was this article helpful?