Skip to content

Commit c59017a

Browse files
Laura DevendorfLaura Devendorf
authored andcommitted
moving ml within file structure
1 parent f8464cf commit c59017a

File tree

10 files changed

+575
-546
lines changed

10 files changed

+575
-546
lines changed

src/app/core/core.module.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,14 @@ import { MaterialModal } from './modal/material/material.modal';
4646
import { FileService } from './provider/file.service';
4747
import { ShuttlesModal } from './modal/shuttles/shuttles.modal';
4848
import { DraftviewerComponent } from './draftviewer/draftviewer.component';
49-
import { VAE } from '../weaver/learning/vae';
5049

5150
import { WeaverViewComponent } from './modal/weaverview/weaverview.component';
5251
import { SelectionComponent } from './draftviewer/selection/selection.component';
5352
import { SidebarComponent } from './sidebar/sidebar.component';
5453
import { LoomModal } from './modal/loom/loom.modal';
5554
import { Action } from 'rxjs/internal/scheduler/Action';
55+
import { VaeService } from './provider/vae.service';
56+
import { PatternfinderService } from './provider/patternfinder.service';
5657

5758
@NgModule({
5859
imports: [
@@ -111,7 +112,8 @@ import { Action } from 'rxjs/internal/scheduler/Action';
111112
UploadService,
112113
CollectionService,
113114
FileService,
114-
VAE //potentially need to delete
115+
VaeService,
116+
PatternfinderService
115117
],
116118

117119
exports: [
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// import { Injectable } from '@angular/core';
2+
// import { HttpClient, HttpResponse } from '@angular/common/http';
3+
4+
// /**
5+
// * Definition of VAE service provider (allows for access to model weights)
6+
// * @class
7+
// */
8+
// @Injectable()
9+
// export class VaeService {
10+
// constructor(private http: HttpClient) { }
11+
12+
// // getVaeWeights() {
13+
// // /**TODO */
14+
// // }
15+
16+
// // getEncoderMeanWeights(collection: string) {
17+
// // return this.http.get('assets/encodermean' + collection + '.json', {observe: 'response'});
18+
// // }
19+
20+
// // getEncoderLogVarWeights(collection: string) {
21+
// // return this.http.get('assets/encoderlogvar' + collection + '.json', {observe: 'response'});
22+
// // }
23+
24+
// // getDecoderWeights(collection: string) {
25+
// // return this.http.get('assets/decoder' + collection + '.json', {observe: 'response'});
26+
// // }
27+
// }
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { TestBed } from '@angular/core/testing';
2+
3+
import { PatternfinderService } from './patternfinder.service';
4+
5+
describe('PatternfinderService', () => {
6+
beforeEach(() => TestBed.configureTestingModule({}));
7+
8+
it('should be created', () => {
9+
const service: PatternfinderService = TestBed.get(PatternfinderService);
10+
expect(service).toBeTruthy();
11+
});
12+
});

0 commit comments

Comments
 (0)