mlbend-datasets
Releases (6)
Definitions (44)
main.bend
- type Table
- type RowOne row of the file: its features and its label.
- type RowsThe rows read so far.
- def add_featuresOne row's features, appended to the rows so far.
- def add_row_ofThe rows of a file, and the row one line makes.
- def feature_rowsThe rows of the features, one after the other.
- def data_ofThe dataset the rows make.
- def not_emptyA line that holds something.
- def drop_emptyThe lines of a file without its empty ones: a file ends with a newline, and the line after it is empty.
- def number_or_zeroA number that may be there, or zero when it is not.
- def cellA field of a row, as a number: a number is itself, True is 1, False is 0, and anything else is 0.
- def cells_ofThe cells of a row, as numbers.
- def label_indexThe place of the label in a row: the last column, less the columns that are left out at the end.
- def fields_beforeThe fields before the label.
- def features_ofThe features of a row: the fields before the label, as numbers.
- def class_ofThe class of a row, by name: 0, 1 or 2 for the three iris species.
- def class_or_numberThe label of a row: a class name is its class, a number is itself.
- def label_atThe label of a row, when the field is there.
- def text_atThe text of a field of a row.
- def label_ofThe label of a row: the column at its place.
- def row_of_partsOne row of the file, from its fields.
- def row_ofOne row of the file.
- def rows_goThe rows of a file, one line at a time.
- def rows_ofThe rows of a file.
- def buildThe dataset a file of rows makes.
- def build_csv_rowsThe dataset the rows of a CSV make.
- def drop_firstThe lines of a file without its first.
- def build_csvThe dataset a file of CSV makes: the first line is the header and the label is the column before the ones left out at the end.
- def csv_textThe dataset the text of a file makes.
- def csv_of_textThe dataset a file of text makes.
- def cached_path
- def read_result
- def read_done
- def sized_done
- def opened
- def read_cachedThe text of a cached file, or None when it is not there.
- def cached_or_failA table from the cache when it is there.
- def fetch_csvA table from the hub, when there is no cache to read.
- def from_env
- def csv_ofA file of a dataset's repository, and the dataset it makes.
- def cancerThe breast cancer dataset: 683 rows, nine features, and the label.
- def heartThe heart failure dataset: 299 rows, twelve features, and the label.
- def irisThe iris dataset, fetched from the hub.
- def wineThe wine dataset: 6497 rows, eleven features, and the quality.