Step by step

How to build an AI model with your own data

In MatrixAI Studio you build an AI model from a table in four steps: framing, study, results and use. You do not need to program to run a study: you choose the column to predict and the Studio runs the comparison.

What do you need before you start?

A table with one row per case and a column you want to predict. In the Studio you download you can open a CSV, an Excel workbook or a Parquet file. With Excel you choose the sheet and the header row, and the Studio tells you everything it did to turn it into a CSV. The online demo only runs its seven examples.

Before you train anything you can audit your file for free: the auditor runs in your browser, so the file is not uploaded.

More: Free CSV auditor

How do you frame the question?

You choose the target column. The type of problem — yes or no, several classes or a number — is deduced from the column, or the Studio asks you. For a yes-or-no problem you say which value you want to detect, and you say what one row represents, such as a customer or a day.

That last answer matters: if one subject spans several rows, a random split could put it on both sides of the exam. You can split by subject, by time, or by both. A confirmation step checks the problem against your data without training anything.

What happens while the study runs?

Several engines compete on the same cross-validation parts: a reference that learns no pattern, LightGBM and HGB (gradient-boosted trees) and, depending on the installation, neural networks. By default 20% of the rows are held out as a test set and the rest uses 5-fold cross-validation.

The progress screen lists each engine and its parts, and gives the time as an estimate made at the start, said to be one. You can cancel at any time.

How do you read the results?

Results names the winning engine and the reason for the decision in words. It can also say that no model meets your minimum, or that the evidence is insufficient to recommend one.

  • The figures on the held-out test, with a badge that says what kind of evidence they are.
  • Curves, calibration and a confusion matrix.
  • Risk warnings, such as a probable identifier or a column that gives the target away.
  • Which columns matter, measured on rows the model did not see.

More: Features, point by point

How do you use the model and take it with you?

The Use screen offers only what is possible with the winner you got:

  • Try one row, and ask the Studio to explain it.
  • Predict a whole CSV and download the result.
  • Export a package: a folder with the model, its data preparation, a prediction script that gives the same answer as the screen and a list of dependencies.
  • Generate a Living Report, a single signed .html file that opens without internet, when the winner is a tree model.

More: Living Reports · On-premise AI

What do you not choose?

You choose the question, the kind of split and which engines compete (one box each, or the quick study). The Studio fixes the seed, the time budget, the hyperparameters and the number of folds, so every engine gets the same conditions; there is no other screen to change them.

More: What you get — and what you don’t

Studio tour · Quick start · Videos · Free CSV auditor · Features, point by point · Artificial intelligence with MatrixAI · Explainable AI · AI questions and answers