-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added Evaluator parser * Evolution of parser * Added tuner parser
- Loading branch information
Showing
8 changed files
with
256 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/main/scala/io/github/jsarni/CaraStage/TuningStage/TuningStageDescription.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package io.github.jsarni.CaraStage.TuningStage | ||
|
||
case class TuningStageDescription(tuningStage: String, paramName: String, paramValue: String) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/main/scala/io/github/jsarni/PipelineParser/CaraPipeline.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package io.github.jsarni.PipelineParser | ||
|
||
import org.apache.spark.ml.Pipeline | ||
import org.apache.spark.ml.evaluation.Evaluator | ||
|
||
case class CaraPipeline(pipeline: Pipeline, evaluator: Evaluator) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CaraPipeline: | ||
- stage: LogisticRegression | ||
params: | ||
- MaxIter: 10 | ||
- RegParam: 0.3 | ||
- ElasticNetParam: 0.1 | ||
- tuner: Tuner 1 | ||
- tuner: Tuner 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CaraPipeline: | ||
- stage: LogisticRegression | ||
params: | ||
- MaxIter: 10 | ||
- RegParam: 0.3 | ||
- ElasticNetParam: 0.1 | ||
- evaluator: RegressionEvaluator | ||
- evaluator: OtherEvaluator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters