Skip to content

Commit f08485d

Browse files
committed
Bumping version to 0.4.3.
1 parent 0870afe commit f08485d

File tree

6 files changed

+25
-33
lines changed

6 files changed

+25
-33
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "predicsis_ml_sdk-javascript",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"authors": [
55
"Yllieth <[email protected]>",
66
"Dehau"

dist/predicsis-jsSDK.js

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2610,19 +2610,6 @@ angular
26102610
});
26112611
}
26122612

2613-
function createUnivariateSupervisedReport(project) {
2614-
var Datasets = $injector.get('Datasets');
2615-
return Datasets.getChildren(project.learning_dataset_id, project.dictionary_id)
2616-
.then(function(children) {
2617-
return self.create({
2618-
type: 'univariate_supervised',
2619-
dataset_id: children.train.id,
2620-
dictionary_id: project.dictionary_id,
2621-
variable_id: project.target_variable_id
2622-
});
2623-
});
2624-
}
2625-
26262613
// -----------------------------------------------------------------------------------------------------------------
26272614

26282615
/**
@@ -2693,7 +2680,16 @@ angular
26932680
* @return {Object} Promise of a report
26942681
*/
26952682
this.createUnivariateSupervisedReport = function(project) {
2696-
return createUnivariateSupervisedReport(project);
2683+
var Datasets = $injector.get('Datasets');
2684+
return Datasets.getChildren(project.learning_dataset_id, project.dictionary_id)
2685+
.then(function(children) {
2686+
return self.create({
2687+
type: 'univariate_supervised',
2688+
dataset_id: children.train.id,
2689+
dictionary_id: project.dictionary_id,
2690+
variable_id: project.target_variable_id
2691+
});
2692+
});
26972693
};
26982694

26992695
/**

dist/predicsis-jsSDK.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/predicsis-jsSDK.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/Reports.js

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,6 @@ angular
8383
});
8484
}
8585

86-
function createUnivariateSupervisedReport(project) {
87-
var Datasets = $injector.get('Datasets');
88-
return Datasets.getChildren(project.learning_dataset_id, project.dictionary_id)
89-
.then(function(children) {
90-
return self.create({
91-
type: 'univariate_supervised',
92-
dataset_id: children.train.id,
93-
dictionary_id: project.dictionary_id,
94-
variable_id: project.target_variable_id
95-
});
96-
});
97-
}
98-
9986
// -----------------------------------------------------------------------------------------------------------------
10087

10188
/**
@@ -166,7 +153,16 @@ angular
166153
* @return {Object} Promise of a report
167154
*/
168155
this.createUnivariateSupervisedReport = function(project) {
169-
return createUnivariateSupervisedReport(project);
156+
var Datasets = $injector.get('Datasets');
157+
return Datasets.getChildren(project.learning_dataset_id, project.dictionary_id)
158+
.then(function(children) {
159+
return self.create({
160+
type: 'univariate_supervised',
161+
dataset_id: children.train.id,
162+
dictionary_id: project.dictionary_id,
163+
variable_id: project.target_variable_id
164+
});
165+
});
170166
};
171167

172168
/**

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "predicsis_ml_sdk-javascript",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"description": "Javascript SDK for PredicSis ML API",
55
"main": "index.js",
66
"scripts": {
@@ -42,4 +42,4 @@
4242
"load-grunt-tasks": "^3.1.0",
4343
"phantomjs": "^1.9.16"
4444
}
45-
}
45+
}

0 commit comments

Comments
 (0)