(可视化模型表现)Visualizing Model Performance

  • Stakeholders outside of the data science team may have little patience for details, and will often want a higher-level, more intuitive view of model performance.

     

  •  It is important for the data scientist to realize that clear communication with key stakeholders is not only a primary goal of her job, but also is essential for doing the right modeling (in addition to doing the modeling right).

     

    ————————————————————————————————————————————————

     

    主要内容:

    1. Profit curves
    1. ROC  graph (receiver operating characteristic)
      • AUC graph (The area under the ROC Curve)
    2. Cumulative response and lift curve

     

    ————————————————————————————————————————————————

     

    (一)Profit curve

     

     

    The disadvantage of a profit graph is that it requires that operating conditions be known and specified exactly. With many real-world problems, the operating conditions are imprecise or change over time, and the data scientist must contend with uncertainty.

     

     

    (二)ROC graph

     

    在先验分布和损益不清楚的情况下,我们可以依据不同情况依次建立模型绘制Profit graph,但这显然不能让人满意

     

    为解决这个问题,我们可以将各种情况的模型表现都绘制在一张图中,其中一种方法便是 Receiver Operating Characteristics (ROC) graph

     

     

     

    ROC graph 的详细产生过程见下图

     

     

    ROC数据点的计算方式

     

    Confusion Matrix

     



    P



    N


    Y


    a



    b



    N



    c



    d

     

    ROC  Point

     

     

    An advantage of ROC graphs is that they decouple classifier performance from the conditions under which the classifiers will be used. Specifically, they are independent of the class proportions as well as the costs and benefits.

     

     

    The area under the RCO  curve (AUC)

    • Though a ROC curve provides more information than its area, the AUC is useful when a single number is needed to summarize performance, or when nothing is known about the operating conditions.

     

     

    (三)Cumulative response and lift curve

     

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值