我在哪里可以找到官方的图谱API错误代码列表?
我已经使用Graph API半年了,在过去的6个月里,错误代码的格式已经改变了两次!
我第一次看到错误代码,它看起来像:
{
"error": {
"message": "Error invalidating access token: The session has been invalidated because the user has changed the password.",
"type": "OAuthException",
}
}
Run Code Online (Sandbox Code Playgroud)
这真的很奇怪,错误消息没有提供任何错误代码!
然后几个月后,引入了"预期的"错误代码.
{
"error": {
"message": "Error invalidating access token: The session has been invalidated because the user has changed the password.",
"type": "OAuthException",
"code": 190,
}
}
Run Code Online (Sandbox Code Playgroud)
但遗憾的是,你仍然无法通过检查"代码"来区分错误是什么,因为许多具有相同"类型"的错误具有相同的"代码".
刚才,我发现错误信息包含新字段:
{
"error": {
"message": "Error invalidating access token: The session has been invalidated because the user has changed the password.",
"type": "OAuthException", …
Run Code Online (Sandbox Code Playgroud) 我在这个页面上看到了pip install neo4j-doc-manager --pre
用过的东西.这面--pre
旗帜是什么意思?
我在这里搜索并用谷歌搜索,但没有结果。在 Weka 中进行聚类时,有一个方便的选项,即类到聚类,它将算法生成的聚类(例如简单的 k 均值)与您作为类属性提供的“基本事实”类标签相匹配。这样我们就可以看到聚类准确率(错误百分比)。
现在,我如何在Matlab中实现这一点,即将我的clusterClasses
向量eg转换[1, 1, 2, 1, 3, 2, 3, 1, 1, 1]
为与提供的地面真实标签向量eg相同的索引[2, 2, 2, 3, 1, 3]
?
我认为它可能是基于聚类中心和标签中心,但我不知道如何实现!
任何帮助将不胜感激。
文森特