File

src/app/models/DatasetInfos.ts

Description

This class contains the description of the dataset.

Index

Properties

Properties

Optional defaultSelection
Type : string[]
Default value : []
description
Type : string
id
Type : string
image
Type : string
path
Type : string
subtitle
Type : string
title
Type : string
export class DatasetInfo {
  id: string;
  path: string;
  title: string;
  subtitle: string;
  image: string;
  description: string;
  defaultSelection?: string[] = [];
}

/**
 * Dataset information for the test-set and the 'Recipe Ingredients Dataset'.
 */
export let DatasetInfos: DatasetInfo[] = [
  {
    id: '0',
    path: 'assets/sets/test.json',
    title: 'Test Dataset',
    subtitle: 'A development dataset.',
    image: 'assets/set_images/test_data.jpg',
    description: `This dataset is very small and simple. It contains only
    four sets and was mainly used during the development this software.`,
    defaultSelection: ['Set 1', 'Set 2', 'Set 3', 'Set 4']
  },
  {
    id: '1',
    path: 'assets/sets/cuisines.json',
    title: 'Cuisines',
    subtitle: 'What are the main ingredients?',
    image: 'assets/set_images/food.jpg',
    description: `This dataset is a collection of the ingredients that are used around the globe.
    The foundation was a dataset of about 3k recipes with their corresponding cuisines.`,
    defaultSelection: ['greek', 'filipino', 'southern_us', 'indian', 'spanish']
  },
  {
    id: '2',
    path: 'assets/sets/actors.json',
    title: 'Genres',
    subtitle: 'Actors vs Genres',
    image: 'assets/set_images/movies.jpg',
    description: `This dataset is based on the 1,000 most popular movies on IMDB from the years 2006-2016. It is a mapping from
    the movie genres to the actors in the movies.`,
    defaultSelection: []
  }
];

result-matching ""

    No results matching ""