【发布时间】:2018-06-08 17:26:21
【问题描述】:
我正在尝试查找 Azure ML 中顶部和底部深度值之间存在值的所有行。我用的是dplyr的filter函数,代码没有报错。但是当我查看结果时,它没有过滤任何东西。有人能看出我哪里出错了吗?
library(dplyr)
Upper_Depth<-dataset1$Upper_Depth
Lower_Depth<-dataset1$Lower_Depth
TopMD<-dataset1$TopMD
BaseMD<-dataset1$BaseMD
# Filter where the Perf is within the Upper and Lower Depth intervals:
#select(Upper_Depth, Lower_Depth, TopMD, BaseMD) %>%
filter(dataset1, Upper_Depth > TopMD & Lower_Depth < BaseMD);
# Subset the data where the perfs are in the L_WSEC_A:
#subset(dataset1, Upper_Depth > TopMD & Lower_Depth < BaseMD)
full_data <- dataset1
# Select data.frame to be sent to the output Dataset port
maml.mapOutputPort("full_data")
我尝试了子集函数,但得到了相同的结果。很抱歉,因为我对 r 和 Azure ML Studio 非常陌生。
【问题讨论】: