简体   繁体   English

哪种精度称为深度学习模型的精度?

[英]Which accuracy is called the accuracy of a deep learning model?

I have developed a deep learning model, to predict whether an image is affected by a certain disease or not.我开发了一个深度学习模型,来预测图像是否受到某种疾病的影响。 Accuracies of 99.8%, 88.8%, and 89% have been achieved on the training set, testing set, and validation set respectfully.在训练集、测试集和验证集上分别达到了 99.8%、88.8% 和 89% 的准确率。 I'm going to publish my research work in a journal, therefore, whichever accuracy will be the accuracy of my deep model?我将在期刊上发表我的研究工作,因此,我的深度模型的准确度以哪个准确度为准? If I say the accuracy of 99.8% is the accuracy of my model, is it justified?如果我说 99.8% 的准确率是我模型的准确率,是否合理?

Let's borrow some definitions from MachineLearningMastery/Jason Brownlee让我们借用MachineLearningMastery/Jason Brownlee 的一些定义

  • Your training set is the sample of data used to fit the model.您的训练集是用于拟合模型的数据样本。
  • Your validation set is the sample of data used to provide an unbiased evaluation of a model fit on the training dataset while tuning model hyperparameters.您的验证集是用于在调整模型超参数时对训练数据集上的模型拟合提供无偏评估的数据样本。
  • Your test set is the sample of data used to provide an *unbiased evaluation of a final parameter-tuned model's performance on new data.您的测试集是用于对最终参数调整模型在新数据上的性能进行*无偏评估的数据样本。

In other words, the result of your experiment is the outcome of applying your model to new data, ie your test data.换句话说,您的实验结果是将您的模型应用于新数据(即您的测试数据)的结果。 In your case, that means that your can report an accuracy of 89%.就您而言,这意味着您可以报告 89% 的准确率。

You must always report the metrics of the test set;您必须始终报告测试集的指标; ie the data set that has been used only once to assess the performance of the final network.使用过一次的数据集来评估最终网络的性能。 Anything else might be biased due to fitting or hyperparameter tuning.由于拟合或超参数调整,其他任何事情都可能有偏差。 Then, you should also report other classification metrics alongside accuracy, such as recall or F1 score (again evaluated on the test set).然后,您还应该报告其他分类指标以及准确性,例如召回率或 F1 分数(再次在测试集上进行评估)。 For imbalanced data sets (ie one class label dominates), it's also important to balance the data set, or to take this into account when computing classification scores.对于不平衡的数据集(即一个类标签占主导地位),平衡数据集或在计算分类分数时考虑这一点也很重要。

No, AFAIK there is no designer support for hotspots - I use a piece of paper. 不,AFAIK没有针对热点的设计器支持-我使用一张纸。

Concerning the code, you'll have to set HotSpotMode="PostBack" PostBackValue="HS1" for each hotspot and use a switch statement in ImageMap1_Click to react to the different Postback values. 关于代码,您必须为每个热点设置HotSpotMode =“ PostBack” PostBackValue =“ HS1”,并在ImageMap1_Click中使用switch语句对不同的Postback值做出反应。

You can capture mouse clicks on the imagemap using jQuery, then pass the x, y coordinates of mouseposition to textbox. 您可以使用jQuery捕获图像地图上的鼠标点击,然后将鼠标位置的x, y坐标传递到文本框。 At the end you can add captured areas to your imagemap. 最后,您可以将捕获的区域添加到图像映射中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM