package job
- Alphabetic
- Public
- All
Type Members
-
class
DataFrameStatFunctions extends AnyRef
Stat functions for dataframe
- case class FeathrGenPreparationInfo(sparkSession: SparkSession, applicationConfigPath: String, featureDefs: FeatureDefinitionsInput, jobContext: FeatureGenJobContext) extends Product with Serializable
- case class FeathrJoinJobContext(joinConfig: String, jobJoinContext: JoinJobContext, dataSourceConfigs: DataSourceConfigs) extends Product with Serializable
- case class FeathrJoinPreparationInfo(sparkSession: SparkSession, hadoopConf: Configuration, jobContext: FeathrJoinJobContext) extends Product with Serializable
-
case class
FeathrJointFeatureRecord[L](observation: L, joinedFeatures: Map[StringTaggedFeatureName, FeatureValue])(implicit evidence$1: ClassTag[L]) extends Product with Serializable
This case class describes feature record after join process
- class FeatureDefinitionsInput extends AnyRef
-
class
FeatureGenJobContext extends AnyRef
Feature generation job context
-
class
FeatureGenSpec extends AnyRef
wrapper of generation config and context, also does not further processing on them.
-
case class
JoinJobContext(feathrLocalConfig: Option[String] = None, feathrFeatureConfig: Option[String] = None, inputData: Option[InputData] = None, outputPath: DataLocation = SimplePath("/join_output"), numParts: Int = 1) extends Product with Serializable
Class the holds the context for the join job.
Class the holds the context for the join job. This includes parameters specifying configs and observation data, among other parameters.
- feathrLocalConfig
Optional. Path to local FeatureDef config, that is, config in user's own repo.
- feathrFeatureConfig
Optional. Path to FeatureDef config.
- inputData
Observation data
- outputPath
HDFS path to which the joined observation and feature data will be written to
- numParts
Number of output partitions
-
case class
LocalTestConfig(localConfig: Option[String], featureConfig: Option[String]) extends Product with Serializable
Convenient class to hold config strings for local testing of workflows.
Convenient class to hold config strings for local testing of workflows. See LocalFeatureJoinJob.
- localConfig
Optional local config string
- featureConfig
FeatureDef config string
Value Members
- object DataSourceUtils
- object FeatureGenJob
- object FeatureGenJobContext
- object FeatureGenSpec
-
object
FeatureJoinJob
Join features to some observations for training/testing
Join features to some observations for training/testing
Output Format: For some input observations having schema S, the output will have the following schema
{ S, featureGroupA: [ { name: string, term: string, value: double } ], featureGroupB: [ { name: string, term: string, value: double } ], ... }Note: Most of the actual join logic is found in FeathrClient.joinFeatures. This class is mostly concerned with input/output serialization and formatting, configuration, and wrapping the join logic with a job we can invoke via Azkaban.
- object JoinJobContext extends Serializable
-
object
LocalFeatureGenJob
This object is used to help user to test/debug their workflow locally with sample data.
This object is used to help user to test/debug their workflow locally with sample data. This class serves as a wrapper around FeathrClient class and invokes the FeathrClient#generateFeatures method by creating a spark session.
-
object
LocalFeatureJoinJob
This object is used to help user to test/debug their workflow locally with sample data.
This object is used to help user to test/debug their workflow locally with sample data. This class serves as a wrapper around FeathrClient class and invokes the FeathrClient#joinFeatures method by creating a spark session.
-
object
PreprocessedDataFrameManager
Object to keep the preprocessed DataFrames by Pyspark.