A renowned hypermarket, that has multiple stores, is all set to grow its business. As a part of its expansion, the owner plans to introduce an exclusive section for newborns and toddlers. To help him expand its business, teams across all stores have collated numerous images that consist of products and goods purchased for children.
You are a Machine Learning expert. Your task is to:
Identify the product type [toys,consumer_products]
Extract and tag brand names of these products from each image. In case if no brand names are mentioned, tag it as ‘Unnamed’.
The extracted brand names must be represented in the format provided in sample submission.
The dataset consists of one folder and .csv file named images and test.csv respectively.
There are 1131 images in the images folder.
The test.csv file contains the name of the images for testing.
Note: Only test data is provided.
Columns |
Description |
Image | Name of image |
Class_of_image | Class of image (target column) [toys,consumer_products] |
Brand_name | Name of the brand (target column) |
You are required to write your predictions in a .csv file and upload it by clicking on the Upload file.
Image | Class_of_image | Brand_name |
1.jpg | toys | Unnamed |
2.jpg | toys | Unnamed |
3.jpg | consumer_products | Happy Cappy/Mustela |
4.jpg | consumer_products | Johnsons |
5.jpg | toys | Hot Wheels |
s1=f1_score(actual[′Class_of_image′],predicted[′Class_of_image′],average=′weighted′)s2=len(actual[′Brand_name′].intersection(predicted[′Brand_name′]))/len(actual[′Brand_name′].union(predicted[′Brand_name′]))score=0.7∗s1+0.3∗s2