~/bend-docscommunity

main.bend fails

raw source on the hub · import mlbend-datasets@0.1.2.0/main.bend as Main

mlbend-datasets: the datasets of scikit-learn, fetched from the hub.

import mlbend-datasets@0.1.0.0/main.bend as Datasets

The features of a dataset and its labels beside them: a Mat<r, c> of the features and a list of the labels.

Every dataset here comes from HuggingFace, over the network, at run time: the effect is at the edge and the data that comes back is a value, so an estimator over it stays pure and a run is reproducible.

The iris dataset is the one scikit-learn calls load_iris: 150 rows, four features, three classes. It is fetched as the file the dataset's own repository holds, which holds the same numbers scikit-learn ships.

The file has one row per line, comma separated, the four features and then the class:

5.1,3.5,1.4,0.2,Iris-setosa

3 imports
import Base
import mlbend-huggingface@0.1.1.0/main.bend as Hf
import bend-ml-tensor-array@0.1.14.0/main.bend as TA