Plant leaf classification based on weighted locally linear embedding