datasets/main.bend fails
raw source on the hub · import mlbend-datasets@0.1.0.0/datasets/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 ../hf/main.bend as Hf import bend-ml-tensor-array@0.1.14.0/main.bend as TA
The reader could not load this file (at 0xbd1b4cc5d2844d9d24fe4ccd14752506/admission.bend:40). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Lost)
- observed : 'Lost'
Location:
39 | Full{lease: Lease}
40>| Lost{}
| ^^^^
41 |