get WL entities representing two artists:
get WL entities representing two artists:
{dali,matisse}=SemanticInterpretation/@{"salvador dali","henri matisse"}
,
get artworks by an artist:
get artworks by an artist:
getArtworks[artist_]:=DeleteMissing@EntityValue[Take[artist["NotableArtworks"],30],"Image"];
Take[getArtworks[dali],5]
,
,
,
,
build a classifier from these examples
build a classifier from these examples
classifier=Classify@AssociationMap[getArtworks,artists]
ClassifierFunction
test the classifier on an Dali artwork it hadn’t seen before:
test the classifier on an Dali artwork it hadn’t seen before:
classifier