Real recordings of the Studio

Videos

How to build AI models with the Studio, and five examples, each from a real study: what is predicted, what kind of AI model it is and which engine wins.

The videos are real recordings of the Studio running a real study; the voice is synthetic and in English, and they have subtitles.

How to use it

  • GuideLength 2:38

    Getting started: download, start and set up

    Guide · Linux, CPU package · from the website to your machine

    In the members' area you choose the package (the standard one runs on any computer with Docker; the GPU one uses an NVIDIA card) and download it. You unzip it and run start.sh (on Windows, double-click start.bat): its four steps, with the license validated on that machine, and the Studio at http://localhost:8080. In Settings you connect the language model (provider, model and key, which stays on your machine) and see the limit profiles. Here the PyTorch image was already prepared and took seconds; on the first day it takes a few minutes.

  • GuideLength 4:03

    The lab: how a neural network learns

    Guide · expert mode · experimental, for learning

    The lab is opened from the home page, a real example is uploaded (540 runs of a climate model) and a small network is built. The settings come with their default values, and training brings the loss from 0.306 down to 0.118: 92.6% accuracy, although always answering the most frequent class already gives 91.7% and the macro F1 is 64.7%. Then a suggested experiment, a very high learning rate: the same accuracy, and the macro F1 falls to 58.1%. The run history compares both runs, and «Inside the network» shows the weights with each column's name and one row walking through the layers. It is for learning; for the best model for your data, there is the study.

    "Climate Model Simulation Crashes" dataset by D. Lucas, R. Klein, J. Tannahill, D. Ivanova, S. Brandon, D. Domyancic and Y. Zhang (2013), UCI Machine Learning Repository, https://doi.org/10.24432/C5HG71, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 40994, v4): the target becomes a category, and the first two variables (the experiment batch, "Study" and "Run") are marked to be ignored; the file keeps them.

  • GuideLength 6:30

    «Does it work here?»: check a risk score on your own cases

    Guide · nothing is trained · the report and what each result means

    Hospitals use risk scores built on other patients; this checks whether they work on yours. A real, public example is uploaded, 9,105 seriously ill patients from the SUPPORT study exported from a Spanish Excel, and each column is declared: death within two months, the model's risk and the doctors', the 50% threshold, and that these cases were used to build the model (so it is not an external validation). The bar counts the real calculations. The model ranks well (AUROC 0.81) and gets the risk right (+1.7 points); the doctors rank just as well (0.80), but their probabilities are too extreme (slope 0.37). The threshold is explored with a slider, the groups it fails are shown, and both scores are compared on the same patients. Finally, what the report is not, the report and the receipt to download, and the check saved to view again.

    Data: SUPPORT study ("support2"), Knaus WA, Harrell FE Jr, Lynn J, et al. The SUPPORT prognostic model: objective estimates of survival for seriously ill hospitalized adults. Ann Intern Med 1995;122:191-203. Data obtained from http://hbiostat.org/data courtesy of the Vanderbilt University Department of Biostatistics.

  • GuideLength 2:51

    From a CSV to a signed Living Report, checked in your browser

    Guide · quick mode · a file you hand over, and the person who receives it checks it

    Recorded for real with v2.18. We load the climate example (540 runs of a climate model, to predict which ones crash), confirm the target and run a QUICK study (LightGBM, HGB and a baseline; no neural networks). The study takes 35 s in real time and the wait is skipped with a label that says so. LightGBM wins, and the screen itself says the comparison does not show a clear winner: it is a choice under uncertainty. On the held-out test, AUROC 0.964. One button makes the Living Report: a single .html file (443 KB) with the model inside and no row of the test, with its fingerprint and an Ed25519 signature. We download it, cut the network in the browser and open it: the study card and the page that scores and explains a row work offline. In Settings we copy the installation's public key, and at matrixaistudio.org/verificar we choose the file, paste the key and get "Valid signature". With one character changed in a copy (0.964 becomes 0.965), "The signature does not match". A valid signature says nobody touched the file since it was signed; it does not say who holds the key, nor that the model is right.

    "Climate Model Simulation Crashes" dataset by D. Lucas, R. Klein, J. Tannahill, D. Ivanova, S. Brandon, D. Domyancic and Y. Zhang (2013), UCI Machine Learning Repository, https://doi.org/10.24432/C5HG71, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 40994, v4): the target becomes a category, and the first two variables (the experiment batch, "Study" and "Run") are marked to be ignored; the file keeps them.

  • GuideLength 3:37

    Reading a Living Report: binary and regression

    Guide · two examples published on /informes-vivos · nothing sped up

    Recorded for real on the published page matrixaistudio.org/informes-vivos. We read two of the example Living Reports (single .html files that carry the model and open offline), made with MatrixAI Studio on public data. Binary, "Climate model simulation crashes": the practical reading at the top (on the 108 test rows it detected 4 of 9 cases with 1 false alarm, and the report says the estimate is uncertain), the note that the champion is a choice under uncertainty and not a clear winner, the decision map, and the simulator tab, which says "pending" and how to get it. In "Try and explain a row" the report itself computes the answer in the file: 0.2 % for class 0 with the stored values, and 77.0 % (prediction 0, though no class is sure enough) after changing three values. Regression, "Violent crime in US communities": the report speaks in units of the target (off by about 0.09 on average; RMSE 0.13 on 399 test rows), gives the range of the target in training (0.00 to 1.00, median 0.16), answers a row with an interval (0.16, between -0.06 and 0.39) and warns when a typed value is outside what training saw. The decision map and the simulator say they do not apply to regression, and why. The tab "What travels in this file" lists what the file carries and what it does not (no row of the test set). No published example has several classes yet, so this video does not show one. In the video the report opens in Spanish inside the frame and we switch its language selector to English.

    "Climate Model Simulation Crashes" dataset by D. Lucas, R. Klein, J. Tannahill, D. Ivanova, S. Brandon, D. Domyancic and Y. Zhang (2013), UCI Machine Learning Repository, https://doi.org/10.24432/C5HG71, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 40994, v4): the target becomes a category, and the first two variables (the experiment batch, "Study" and "Run") are marked to be ignored; here they are removed. "Communities and Crime" dataset by Michael Redmond (La Salle University), UCI Machine Learning Repository, https://doi.org/10.24432/C53W3X, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 42730, v2): the communityname attribute is marked to be ignored; state, county, community and fold are also removed. MatrixAI trained and measured a model on the data. The scores are those of public datasets: they do not say how a model would work on yours.

  • GuideLength 3:26

    Repeated patients: split by subject and by time

    Guide · quick mode · SYNTHETIC table · the split that prevents the leak

    Recorded for real in MatrixAI Studio (v2.18). When the same patient appears in many rows, a random split can put that patient on both sides of the exam, and the score looks better than it is. Here is the split that prevents it. THE TABLE IS SYNTHETIC, made up for this video: 120 patients, 1,072 visits, a Yes/No outcome and ISO dates; the patient effects were chosen to make the leak visible, and it is not a clinical claim. We upload it, fill in the target, the positive class, what a row is, the prediction date and a 90 day horizon, and confirm. The Studio warns that the patient column repeats in 100% of the rows, and we choose the fourth split: by subject and by time, with the patient column and the date column. We run a QUICK study (LightGBM, HGB and a baseline: no neural networks). Real time: 25 s; 17 s of the wait are skipped with a label that says so. HGB wins, with AUROC 0.685 on the held-out test (accuracy 0.728). Results says how the rows were split: cut in time 2023-10-18, a 90 day gap, 83 subjects in development and 37 in the test, none on both sides, and 393 rows (36.7%) left out on purpose. The interval is resampled by subject and marked approximate: with fewer than 50 test subjects it falls short of its 95% level. Then the same file and the same answers, with the split set to random (the form is filled in off-screen, and the card says so). A second real study: 35 s, 28 s skipped. AUROC 0.855, higher, and the screen warns that all 96 test patients were already among the rows the model learned from. That is the number that does not survive. Nothing in the video is sped up.

  • GuideLength 5:42

    Model behaviour: what does a model do when data change?

    Guide · Results and Use · three tests on demand · not a guarantee

    Recorded for real in MatrixAI Studio (v2.19). The example is "Climate Model Simulation Crashes" (UCI), loaded from a Parquet file made for this video from the example's CSV, with the same values. We run a study (LightGBM, HGB and a baseline): 2 min 21 s in real time, with the wait skipped and a label that says so. LightGBM wins, with an AUROC of 0.964 on the held-out test, and the screen itself says it is a choice under uncertainty. Then three tests on the delivered model, asked for on demand: what happens if a column is missing (the model is retrained in 5 folds and 18 columns and their groups are measured, 120 measurements; vconst_corr worsens the AUROC most, by 0.113, and ah_bolus least, by −0.004), how sensitive the answer is to small changes (1% and 5% of the range, in 200 development rows: in every column no row changes its decision), and a direction declared after seeing the results, with its verdict, its tolerance and its fixed sentence. With the starting tolerance (20%) the verdict is "could not be checked"; with 2%, "no counterexamples on this grid", with 2 of 200 rows stepping back. They describe what was tried; they are not a guarantee. Last, "Try a single row" and "What changes would give a different result?": alternatives according to the model, not causes and not advice.

    "Climate Model Simulation Crashes" dataset by D. Lucas, R. Klein, J. Tannahill, D. Ivanova, S. Brandon, D. Domyancic and Y. Zhang (2013), UCI Machine Learning Repository, https://doi.org/10.24432/C5HG71, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 40994, v4): the target becomes a category, and the first two variables ("Study" and "Run") are removed.

  • GuideLength 6:35

    Excel, offline predictions and signed traces

    Guide · formats, browser and service · the traffic at the end is SIMULATED

    Recorded for real in MatrixAI Studio (v2.19). We open an Excel workbook (sheet "Data", header on row 2) and a Parquet file, both made for this video from the CSV of "Climate Model Simulation Crashes" (UCI) with the same values; the Studio declares what it did to turn them into a table, and for the Parquet it says what it read: 540 rows and 19 columns, and nothing to declare. A second public dataset (clothing reviews, a 3,000-row sample) shows text and columns in one study: the quick study takes 1 min 40 s in real time, with the wait skipped and a label that says so; here the text-only model wins (AUROC 0.945 on the held-out test) and the mixed ones do not. Then the climate winner travels: as one page that predicts in the browser with the network off (a row of 18 values, with a probability of class 0 of 0.0015) and as a Docker service whose signed, chained record (counts only, no row and no value) is checked with matrixai trace verify (valid signature, two blocks; with one character changed in a copy, the signature does not match) and imported in the Studio to see the drift: in the first point every column stays under 0.05, and in the second vconst_2 and convect_corr jump to a PSI above 10. The traffic in that part is SIMULATED (a script of ours: 1,000 requests like the training data, then 1,000 with two columns pushed to the upper half). The signed record measures traffic, not whether answers are right. The voice is synthetic.

    "Climate Model Simulation Crashes" dataset by D. Lucas, R. Klein, J. Tannahill, D. Ivanova, S. Brandon, D. Domyancic and Y. Zhang (2013), UCI Machine Learning Repository, https://doi.org/10.24432/C5HG71, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 40994, v4): the target becomes a category, and the first two variables ("Study" and "Run") are removed. The Excel and Parquet files in the video were made from that CSV, with the same values. "Women's E-Commerce Clothing Reviews" (OpenML id 43673), CC0; a random sample of 3,000 of its 22,636 rows was used, only to show text and columns together.

Examples — one minute each

  • BinaryLength 0:55

    Is this tree diseased?

    Satellite imagery · binary classification

    Each row is a group of pixels from a satellite image (4,839 rows, five numeric columns), and the model says whether they are diseased trees or not, with its probability. Several engines compete on the same data and the MatrixAI TabM neural network wins: AUROC 0.999 on the held-out test, which no engine saw while training. Then the model is exported as a Docker service and, in a real terminal, it is built, started and answers a row.

    "Wilt" dataset: Brian Johnson (2013), UCI Machine Learning Repository, https://doi.org/10.24432/C5KS4M, licensed under CC BY 4.0. Adapted by OpenML (id 40983, v2): variables renamed to match the description; no changes to the data itself.

  • MulticlassLength 0:53

    Which digit was written by hand?

    Handwriting on a tablet · multiclass classification

    10,992 digits handwritten on a tablet, each described by 16 numbers, and the model says which of the ten it is (0 to 9), with the probability of each. It is a multiclass classification. The MatrixAI TabM neural network wins, with accuracy 0.992 on the held-out test, and the Studio says its improvement over the runner-up is demonstrated.

    "Pen-Based Recognition of Handwritten Digits" (pendigits) dataset: E. Alpaydin and Fevzi Alimoglu, UCI Machine Learning Repository, https://doi.org/10.24432/C5MG6K, licensed under CC BY 4.0. Available through OpenML (id 32, v1).

  • BinaryLength 0:52

    Will this climate simulation crash?

    Climate models · binary classification

    540 runs of a climate model, each with the 18 parameters it was launched with, and the model says whether it will crash or not, with its probability. It is a binary classification. Several engines compete and LightGBM, a tree model, wins: AUROC 0.963 on the held-out test.

    "Climate Model Simulation Crashes" dataset by D. Lucas, R. Klein, J. Tannahill, D. Ivanova, S. Brandon, D. Domyancic and Y. Zhang (2013), UCI Machine Learning Repository, https://doi.org/10.24432/C5HG71, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 40994, v4): the target becomes a category, and the first two variables (the experiment batch, "Study" and "Run") are marked to be ignored; the file keeps them.

  • RegressionLength 0:53

    How much violent crime will a community have?

    US communities data · regression

    1,994 US communities with 126 input columns (four of them, “state”, “county”, “community” and “fold”, are codes and the fold number of a non-random cross-validation, not socio-economic measurements), and the model predicts a number: the violent-crime rate per inhabitant, on a 0-to-1 scale. It is a regression. The neural network had the best mean, but without enough margin: it is a tie, and the Studio delivers the tree, LightGBM, the simpler model. Its typical error (RMSE) on the held-out test is 0.127.

    "Communities and Crime" dataset by Michael Redmond (La Salle University), UCI Machine Learning Repository, https://doi.org/10.24432/C53W3X, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 42730, v2): the `communityname` attribute is marked to be ignored, and the video was recorded without it. UCI, the original source, also does not count `state`, `county`, `community` and `fold` among the predictive columns (its listing: "122 predictive, 5 non-predictive, 1 goal"); the video keeps those four, and the Studio's example no longer has them.

  • BinaryLength 0:52

    Will this dress be recommended?

    Fashion sales · the tie-break

    500 dresses with 12 attributes (style, price, season…), and the model says whether each one will be recommended, based on its sales. It is a binary classification, and it shows the tie-break: the neural network had the best mean, but its advantage over the best tree is within the noise, so the Studio delivers the tree (HGB), the simpler model. It is a hard dataset and the figure is shown as it is: AUROC 0.578 on the held-out test.

    "Dresses_Attribute_Sales" dataset by Muhammad Usman and Adeel Ahmed (2014), UCI Machine Learning Repository, https://doi.org/10.24432/C56W3V, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Adapted by OpenML (id 23381): 500 rows vs. 501 in the current UCI listing (unexplained difference).

More videos on our YouTube channel ↗