Skip to content

Commit

Permalink
Add Image Autoencoder for monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mkf-simpson committed Mar 19, 2019
1 parent 152e074 commit 0f4be2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export class DialogAddMetricComponent implements OnDestroy, OnInit {
public metricSpecificationKinds: IMetricSpecifiocationKind[] = [
{name: 'Kolmogorov-Smirnov', className: 'KSMetricSpec'},
{name: 'Autoencoder', className: 'AEMetricSpec'},
{name: 'Image Autoencoder', className: 'ImageAEMetricSpec'},
{name: 'Random Forest', className: 'RFMetricSpec'},
{name: 'GAN', className: 'GANMetricSpec'},
{name: 'Latency', className: 'LatencyMetricSpec'},
Expand Down Expand Up @@ -77,6 +78,7 @@ export class DialogAddMetricComponent implements OnDestroy, OnInit {
tap(([withHealth, kind]) => {
switch (kind) {
case 'AEMetricSpec':
case 'ImageAEMetricSpec':
case 'RFMetricSpec':
case 'LatencyMetricSpec':
const config = this.form.get('config') as FormGroup;
Expand All @@ -93,6 +95,7 @@ export class DialogAddMetricComponent implements OnDestroy, OnInit {
kindChange.pipe(withLatestFrom(withHealthChange)).subscribe(([kind, withHealth]) => {
switch (kind) {
case 'AEMetricSpec':
case 'ImageAEMetricSpec':
case 'RFMetricSpec':
const x: any = {
input: this.fb.control(''),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export class ModelVersionMonitoringComponent implements OnInit, OnDestroy {
CounterMetricSpec: ['counter'],
KSMetricSpec: ['kolmogorovsmirnov', 'kolmogorovsmirnov_level'],
AEMetricSpec: ['autoencoder_reconstruction'],
ImageAEMetricSpec: ['image_autoencoder_reconstructed'],
RFMetricSpec: ['randomforest'],
GANMetricSpec: ['gan_outlier', 'gan_inlier'],
LatencyMetricSpec: ['latency'],
Expand Down

0 comments on commit 0f4be2e

Please sign in to comment.