src/app/models/DatasetInfos.ts
This class contains the description of the dataset.
Properties |
|
Optional defaultSelection |
Type : string[]
|
Default value : []
|
Defined in src/app/models/DatasetInfos.ts:11
|
description |
Type : string
|
Defined in src/app/models/DatasetInfos.ts:10
|
id |
Type : string
|
Defined in src/app/models/DatasetInfos.ts:5
|
image |
Type : string
|
Defined in src/app/models/DatasetInfos.ts:9
|
path |
Type : string
|
Defined in src/app/models/DatasetInfos.ts:6
|
subtitle |
Type : string
|
Defined in src/app/models/DatasetInfos.ts:8
|
title |
Type : string
|
Defined in src/app/models/DatasetInfos.ts:7
|
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: []
}
];