-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from SOCR/dev
chore: Release 0.1.5-alpha.5 #SOCRFW-224
- Loading branch information
Showing
13 changed files
with
573 additions
and
250 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
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
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
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
100 changes: 51 additions & 49 deletions
100
app/partials/analysis/tools/machineLearning/kMeans/sidebar.jade
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 |
---|---|---|
@@ -1,53 +1,55 @@ | ||
div(ng-controller="kMeansSidebarCtrl") | ||
form | ||
legend Parameters | ||
div.checkbox | ||
label | ||
input(type="checkbox", ng-model="wholedataseton") | ||
| Cluster whole dataset (visualize 2D projection) | ||
div.form-group | ||
label X column | ||
//- show data header column names | ||
select(ng-model="xCol", ng-options="col for col in cols").form-control | ||
div.form-group | ||
label Y column | ||
//- show data header column names | ||
select(ng-model="yCol", ng-options="col for col in cols").form-control | ||
div.form-group | ||
fieldset(ng-disabled="!labelson") | ||
label Labels column | ||
fieldset(ng-disabled="kmeanson") | ||
div.checkbox | ||
label | ||
input(type="checkbox", ng-model="wholedataseton") | ||
| Cluster whole dataset (visualize 2D projection) | ||
div.form-group | ||
label X column | ||
//- show data header column names | ||
select(ng-model="labelCol", ng-options="col for col in cols").form-control | ||
div.checkbox | ||
label | ||
input(type="checkbox", ng-model="labelson") | ||
| Labels present | ||
div.form-group | ||
label k | ||
select(ng-model="k", ng-options="k for k in ks").form-control | ||
div.checkbox(ng-hide="!labelson") | ||
label | ||
input( | ||
type="checkbox" | ||
ng-model="accuracyon" | ||
ng-disabled="k !== numUniqueLabels.num || labelCol !== numUniqueLabels.labelCol") | ||
| Compute accuracy | ||
div.form-group | ||
label Distance | ||
select(ng-model="dist", ng-options="dist for dist in distances").form-control | ||
div.form-group | ||
label Initialization | ||
select(ng-model="initMethod", ng-options="init for init in inits").form-control | ||
button.btn.btn-info( | ||
type="submit" | ||
aria-label="Get k value" | ||
ng-click="detectKValue()" | ||
ng-disabled="!labelson") | ||
| Detect k | ||
button.btn.btn-primary( | ||
type="submit" | ||
aria-label="Run k-Means" | ||
ng-click="run()" | ||
ng-disabled="kmeanson") | ||
| Run | ||
span.glyphicon.glyphicon-refresh(aria-hidden="true", ng-class="running") | ||
select(ng-model="xCol", ng-options="col for col in cols", ng-change="updateDataPoints()").form-control | ||
div.form-group | ||
label Y column | ||
//- show data header column names | ||
select(ng-model="yCol", ng-options="col for col in cols", ng-change="updateDataPoints()").form-control | ||
div.form-group | ||
fieldset(ng-disabled="!labelson") | ||
label Labels column | ||
//- show data header column names | ||
select(ng-model="labelCol", ng-options="col for col in cols").form-control | ||
div.checkbox | ||
label | ||
input(type="checkbox", ng-model="labelson") | ||
| Labels present | ||
div.form-group | ||
fieldset.form-inline | ||
label k | ||
select(ng-model="k", ng-options="k for k in ks").form-control | ||
button.btn.btn-info( | ||
type="submit" | ||
aria-label="Get k value" | ||
ng-click="detectKValue()" | ||
ng-disabled="!labelson") | ||
| Detect k | ||
div.checkbox(ng-hide="!labelson") | ||
label | ||
input( | ||
type="checkbox" | ||
ng-model="accuracyon" | ||
ng-disabled="k !== numUniqueLabels.num || labelCol !== numUniqueLabels.labelCol") | ||
| Compute accuracy | ||
div.form-group | ||
label Distance | ||
select(ng-model="dist", ng-options="dist for dist in distances").form-control | ||
div.form-group | ||
label Initialization | ||
select(ng-model="initMethod", ng-options="init for init in inits").form-control | ||
button.btn.btn-primary( | ||
type="submit" | ||
aria-label="Run k-Means" | ||
ng-click="run()" | ||
ng-disabled="kmeanson") | ||
| Run | ||
span.glyphicon.glyphicon-refresh(aria-hidden="true", ng-class="running") |
Oops, something went wrong.