Skip to content

Commit

Permalink
chore(preprocessing): Move Transforms and Validators to preprocessing…
Browse files Browse the repository at this point in the history
… package. (#216)
  • Loading branch information
csanden committed Jan 24, 2018
1 parent 10cdaab commit 0509d58
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ import com.netflix.kayenta.canary.{CanaryClassifierThresholdsConfig, CanaryConfi
import com.netflix.kayenta.judge.classifiers.metric._
import com.netflix.kayenta.judge.classifiers.score.{ScoreClassification, ThresholdScoreClassifier}
import com.netflix.kayenta.judge.detectors.IQRDetector
import com.netflix.kayenta.judge.preprocessing.{Transforms, ValidationResult, Validators}
import com.netflix.kayenta.judge.scorers.{ScoreResult, WeightedSumScorer}
import com.netflix.kayenta.judge.stats.DescriptiveStatistics
import com.netflix.kayenta.judge.utils.MapUtils
import com.netflix.kayenta.metrics.MetricSetPair
import com.netflix.kayenta.r.{MannWhitney, RExecutionException}
import com.typesafe.scalalogging.StrictLogging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
* limitations under the License.
*/

package com.netflix.kayenta.judge
package com.netflix.kayenta.judge.preprocessing

import com.netflix.kayenta.judge.Metric
import com.netflix.kayenta.judge.detectors.BaseOutlierDetector


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
* limitations under the License.
*/

package com.netflix.kayenta.judge
package com.netflix.kayenta.judge.preprocessing

import com.netflix.kayenta.judge.Metric

case class ValidationResult(valid: Boolean, reason: Option[String]=None)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.netflix.kayenta.judge
package com.netflix.kayenta.judge.utils

import scala.collection.JavaConverters._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package com.netflix.kayenta.judge

import java.util.Collections

import com.netflix.kayenta.judge.utils.MapUtils
import org.scalatest.FunSuite

class MapUtilsSuite extends FunSuite {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

package com.netflix.kayenta.judge

import com.netflix.kayenta.judge.Transforms.{removeNaNs, removeOutliers}
import com.netflix.kayenta.judge.preprocessing.Transforms.{removeNaNs, removeOutliers}
import com.netflix.kayenta.judge.detectors.{IQRDetector, KSigmaDetector}
import com.netflix.kayenta.judge.preprocessing.Transforms
import org.scalatest.FunSuite


Expand Down

0 comments on commit 0509d58

Please sign in to comment.