交互式 HTML 输出出现的一个常见问题是“为什么这个报告只是一张图片?” 我们试图在日志中提供反馈,以给出原因的高级指示。 不熟悉日志? 您可以在 Windows 中通过转到查看 > 日志(或按 CTRL+SHIFT+L)来访问它,或者在 Mac 上通过转到窗口 > 日志 (CMD + 1) 来访问它。 日志可以包括使用 JSL 时的脚本输出以及信息输出,例如导出交互式 HTML 时的消息输出。 我们避免使用过于模糊以致让高级用户和统计学家感到沮丧的信息,避免使用过于具体以至于对于技术水平较低的用户来说听起来像是胡言乱语的信息。 希望这些消息是信息丰富的,并且如果您请求在交互式 HTML 中实现某些内容或报告问题,它们对提供给技术支持很有用。 下面,我解码了 Profiler 作为静态图像出现的最常见原因。
原因 1:分类响应
我在上面提到了这一点,但目前只支持连续响应。 如果您尝试对分类响应建模并保存到交互式 HTML 或发布到JMP 直播, 你会收到消息“交互式 HTML:具有分类响应 <列名> 的探查器不是交互式的”在日志中。
原因 2:不支持的 JSL 命令
JMP 刻画器评估具有多个因素的数学公式,改变一个因素,同时保持其他因素固定,从而为每个因素生成一条曲线。 在内部,公式是一个 JSL 表达式,例如当您使用公式查看列的属性时会发现什么。JSL 是一种大型语言有许多命令和操作。 有些程序过于密集,无法在浏览器中执行,这可能会表现得很糟糕。
此外,我们正在尝试实现使用最广泛的子集,并将在我们了解您(用户)对它们的需求时明智地添加功能。 在 JMP 12 中,移植了在 Flash 中实现的大约 50 个相同的命令:加、减、乘、除、减、幂、根、绝对值、地板、天花板、最小值、最大值、等于、不等于、大于、小于、大于等于或等于, LessThanOrEqualTo、Or、And、Not(否定)、Exp、Log、Log10、Sine、Cosine、Tangent、SinH、CosH、TanH、ArcSine、ArcCosine、ArcTangent、ArcSinH、ArcCosH、OpArcTanH、If、Match、Choose 和一个数字财务计算 DDB、FinFV、FinIPMT、FinIRR、FinMIRR、FinNPER、FinNPV、FinPMT、FinPPMT、FinPV、FinRATE、FinSLN、FinSYD。
在JMP 15 ,添加了六个额外的(Is Missing、Zero or Missing、IfMZ、Modulo、Ln 和 Log1P),主要是因为它们被 Partition、Boosted Tree 和 Bootstrap Forest 平台大量使用。 如果由于未实现的 JSL 命令而不支持通常生成的公式,那么启用新的嵌入式平台的工作是没有意义的,因此必须首先实现这些。 如果遇到我们没有得到的命令,日志将显示消息“交互式 HTML: 的探查器由于不受支持的操作而不是交互式的。”
原因 3:不受支持的平台
如果你去 Preferences > Platforms in JMP ,您将看到列出的 100 多个平台,其中许多带有 Profiler。不计算 Prediction Profiler 平台(位于 Graph> Profiler 中),现在支持八个平台。 同样,我们从我们认为使用最广泛的平台开始,如果您需要的平台不受支持,我们希望收到您的来信。 如果您的平台是静态的,请查看日志,它会说“交互式 HTML:此平台中的嵌入式分析器不是交互式的。”
如果您在日志中收到此消息,则可能有解决方法。 对于许多具有 Profiler 的平台,红色小三角菜单将提供“保存列”子菜单,其中“保存预测公式”作为选项:
Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.Demonstrating the Save Prediction Formula option in the Partial Least Squares platform.演示“偏最小二乘”平台中的“保存预测公式”选项。
使用体脂样本数据集,运行“偏最小二乘法”脚本并从红色小三角菜单中为“NIPALS Fit with 7 Factors”添加 Profiler。 如果您要导出它,您将得到一个静态图像——我们还没有增强偏最小二乘平台以将 Profiler 导出为交互式 HTML。 但是,如果您转到同一个红色小三角菜单并选择保存列 > 保存预测公式,它将创建一个新列“Pred Formula Percent body fat”。
Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.Prediction column saved to the data table. By viewing the column's properties you can see the formula of the profiler.预测列保存到数据表中。 通过查看列的属性,您可以看到分析器的公式。如果您查看列属性,您会发现这个公式并不复杂——简单的乘法和加法。 如果您打开 Graph > Profiler 菜单并为 Y 添加此列,您将获得一个独立的 Profiler,它可以导出到 Interactive HTML 或JMP 直播. 由于因素的数量,我选择进入红色小三角菜单并利用 Arrange in Rows 功能(位于 Appearance 子菜单下)将 Profiler 包装成两行,值为 7。
原因 4:高级功能
对于单个嵌入式 Profiler,可能存在特定于该平台不支持的其他功能:
- 非混合线性约束
- 随机效应
- 多响应变量
- 噪音因素
- 偏移变量(这是特定于广义线性模型的)
如果您遇到其中一种情况,您将在日志中收到一条应说明的消息,例如: “交互式 HTML:具有非混合线性约束的探查器不是交互式的。”
我们继续改进交互式 HTML 中非常流行的 Profiler 功能的输出。 希望这篇博文有助于解释我们尚未实施的一些案例。
我们想听听您关于您希望看到的功能和嵌入式平台的信息——给我留言!
我添加了一个缺陷 (S1567660) 来跟踪这个请求。感谢您的反馈马蒂亚斯。
如果您单击或悬停在我的用户名上,它将显示我的电子邮件地址。你可以直接email给我。
嗨乔希,
我准备了一个简短的示例文件,但我看不到将其上传到此帖子的方法。 我怎样才能发送它?
嗨,Matthias,您能否提供一个示例脚本/数据集,以便我可以查看它并将其作为新功能请求输入?
我尝试了使用“保存分位数公式”并在图形菜单中使用分析器的建议方法。
但是,它仍然不起作用。 日志文件指出:
“交互式 HTML:拟合失效分位数(包括跳动,包括平均应变)的探查器不是交互式的,因为其公式中不支持操作。”
所以它似乎不适用于发行版......
你好,
谢谢,我正是那个问题/问题。
"同样,我们从我们认为使用最广泛的平台开始,如果您需要的平台不受支持,我们希望收到您的来信。 "
我正在使用“拟合参数生存平台”,并且探查器在 html 中不是交互式的。 (我使用“发布”选项来生成输出)。 我可以使用拟合模型平台,但它不允许审查数据。
问候,
马蒂亚斯
@matthias_bruchh - 跟进此请求。 Fit Parametric Survival 中交互式分析器的这个 HTML 功能在 JMP 18 的路线图上。
<编辑以删除将在 JMP 17 中可用的错误公告>