【问题标题】:tfx.components.StatisticsGen display train and eval in two different figures, is it possible to have them in a single figure as tfdv does?tfx.components.StatisticsGen 在两个不同的图形中显示 train 和 eval,是否可以像 tfdv 那样将它们放在一个图形中?
【发布时间】:2023-02-06 01:38:23
【问题描述】:

使用 StatisticsGen 的 train/val 拆分的叠加显示

你好,

我目前在 kubeflow 中使用 tfx 管道。我努力让 StatisticsGen 显示一个单一的图表,其中叠加了训练和验证分割曲线,允许更好的比较分布。这正是tfdv.tfdv.visualize_statistics(lhs_statistics=train_stats, rhs_statistics=eval_stats, lhs_name='train', rhs_name='eval') 的行为方式(参见插图1),我希望StatisticsGen 也提供叠加的拆分图。

感谢您提供任何参考或帮助,以便我可以继续前进。

问候

【问题讨论】:

    标签: kubeflow tfx tensorflow-data-validation


    【解决方案1】:

    你可以使用类似的东西

    # docs-infra: no-execute
    # Compare evaluation data with training data
    tfdv.visualize_statistics(lhs_statistics=eval_stats, rhs_statistics=train_stats,
                              lhs_name='EVAL_DATASET', rhs_name='TRAIN_DATASET')
    

    来自 tensorflow 数据验证教程

    【讨论】:

      猜你喜欢
      • 2013-05-23
      • 2020-01-01
      • 1970-01-01
      • 2021-02-28
      • 2013-05-20
      • 1970-01-01
      • 1970-01-01
      • 2014-09-16
      • 1970-01-01
      相关资源
      最近更新 更多