我有一个SpringBoot 2.1.4.RELEASE应用程序。带有存储库:
@Repository
public interface PercentageAlertXMenuRepository extends CrudRepository<PercentageAlertXMenu, Long> {
@Cacheable("percentageAlertXMenu", unless="#result == null")
PercentageAlertXMenu findByPercentageAlertAndMenu (MenuPercentageAlert percentageAlert, Menu Menu);
但是出现编译错误:
Syntax error on token ""percentageAlertXMenu"", invalid
MemberValuePairs
答案 0 :(得分:0)
您需要使用注释的tsne = TSNE(n_components=2).fit_transform(data, data_target)
fig = plt.figure()
ax = fig.add_subplot(111)
ax.scatter(*zip(*tsne), c=data_target)
plt.show()
属性:
value