fix df.drop in VectorAssembler (#117)
fix df.drop in VectorAssembler to return correct DataFrame
This commit is contained in:
parent
6ec83fd0f7
commit
19c41464c7
@ -34,7 +34,6 @@ object VectorAssembler extends BenchmarkAlgorithm with TestFromTraining {
|
||||
df = df.withColumn(colName, sliceVec(col("features"), lit(fromIndex), lit(untilIndex)))
|
||||
}
|
||||
df.drop(col("features"))
|
||||
df
|
||||
}
|
||||
|
||||
override def getPipelineStage(ctx: MLBenchContext): PipelineStage = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user