特徴抽出を使ってデータ集合を可視化する
木の画像から特徴を抽出する.
In[1]:=
![Click for copyable input](assets.ja/visualize-a-dataset-using-feature-extraction/In_9.png)
特徴を二次元ベクトルに縮約し,この空間にデータ集合を可視化する.
In[2]:=
![Click for copyable input](assets.ja/visualize-a-dataset-using-feature-extraction/In_10.png)
xy = DimensionReduce[features, 2];
In[3]:=
![Click for copyable input](assets.ja/visualize-a-dataset-using-feature-extraction/In_11.png)
ListPlot[List /@ xy,
PlotMarkers -> (Image[#, ImageSize -> 50] & /@ tree),
ImageSize -> 500]
Out[3]=
![](assets.ja/visualize-a-dataset-using-feature-extraction/O_7.png)
木の画像から特徴を抽出する.
特徴を二次元ベクトルに縮約し,この空間にデータ集合を可視化する.
xy = DimensionReduce[features, 2];
ListPlot[List /@ xy,
PlotMarkers -> (Image[#, ImageSize -> 50] & /@ tree),
ImageSize -> 500]