|
1 |
| -<a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/edit/master/lib/helper/projectsHelper.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/ce774c5/lib/helper/projectsHelper.js#L6" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">projectsHelper</code> |
2 |
| -<div><span class="hint">service in module <code ng:non-bindable="">predicsis.jsSDK</code> |
| 1 | +<a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/edit/master/lib/helper/projectsHelper.js" class="improve-docs"><i class="icon-edit"> </i>Improve this doc</a><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/95d5aca/lib/helper/projectsHelper.js#L6" class="view-source"><i class="icon-eye-open"> </i>View source</a><h1><code ng:non-bindable="">projectsHelper</code> |
| 2 | +<div><span class="hint">service in module <code ng:non-bindable="">predicsis.jsSDK.helpers</code> |
3 | 3 | </span>
|
4 | 4 | </div>
|
5 | 5 | </h1>
|
6 | 6 | <div><div class="member method"><h2 id="methods">Methods</h2>
|
7 |
| -<ul class="methods"><li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/ce774c5/lib/helper/projectsHelper.js#L61" class="view-source icon-eye-open"> </a><h3 id="methods_addlearningdataset">addLearningDataset(project, datasetId)</h3> |
| 7 | +<ul class="methods"><li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/95d5aca/lib/helper/projectsHelper.js#L62" class="view-source icon-eye-open"> </a><h3 id="methods_addlearningdataset">addLearningDataset(project, datasetId)</h3> |
8 | 8 | <div class="addlearningdataset"><div class="addlearningdataset-page"><p>Simply adds an entry to <code>learning_dataset_id</code> project's property.</p>
|
9 | 9 | <p><span class="badge patch">patch</span><code>/projects/:projectId</code></p>
|
10 | 10 | </div><h5 id="methods_addlearningdataset_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>project</td><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="addlearningdataset-page"><p><a href="#/api/API.model.Projects">Projects model</a></p>
|
11 | 11 | </div></td></tr><tr><td>datasetId</td><td><a href="" class="label type-hint type-hint-string">String</a></td><td><div class="addlearningdataset-page"><p>Id of the dataset which will be used for learning</p>
|
12 | 12 | </div></td></tr></tbody></table><h5 id="methods_addlearningdataset_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="addlearningdataset-page"><p>Promise of an updated project</p>
|
13 | 13 | </div></td></tr></table></div>
|
14 | 14 | </li>
|
15 |
| -<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/ce774c5/lib/helper/projectsHelper.js#L96" class="view-source icon-eye-open"> </a><h3 id="methods_addscoreset">addScoreset(project, datasetId)</h3> |
| 15 | +<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/95d5aca/lib/helper/projectsHelper.js#L97" class="view-source icon-eye-open"> </a><h3 id="methods_addscoreset">addScoreset(project, datasetId)</h3> |
16 | 16 | <div class="addscoreset"><div class="addscoreset-page"><p>Simply adds an entry to <code>scoreset_ids</code> project's array.</p>
|
17 | 17 | <p><span class="badge patch">patch</span><code>/projects/:projectId</code></p>
|
18 | 18 | </div><h5 id="methods_addscoreset_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>project</td><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="addscoreset-page"><p><a href="#/api/API.model.Projects">Projects model</a></p>
|
19 | 19 | </div></td></tr><tr><td>datasetId</td><td><a href="" class="label type-hint type-hint-string">String</a></td><td><div class="addscoreset-page"><p>Id of the dataset which will store score results</p>
|
20 | 20 | </div></td></tr></tbody></table><h5 id="methods_addscoreset_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="addscoreset-page"><p>Promise of an updated project</p>
|
21 | 21 | </div></td></tr></table></div>
|
22 | 22 | </li>
|
23 |
| -<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/ce774c5/lib/helper/projectsHelper.js#L77" class="view-source icon-eye-open"> </a><h3 id="methods_addscoringdataset">addScoringDataset(project, datasetId)</h3> |
| 23 | +<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/95d5aca/lib/helper/projectsHelper.js#L78" class="view-source icon-eye-open"> </a><h3 id="methods_addscoringdataset">addScoringDataset(project, datasetId)</h3> |
24 | 24 | <div class="addscoringdataset"><div class="addscoringdataset-page"><p>Simply adds an entry to <code>scoring_dataset_ids</code> project's array.</p>
|
25 | 25 | <p><span class="badge patch">patch</span><code>/projects/:projectId</code></p>
|
26 | 26 | </div><h5 id="methods_addscoringdataset_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>project</td><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="addscoringdataset-page"><p><a href="#/api/API.model.Projects">Projects model</a></p>
|
27 | 27 | </div></td></tr><tr><td>datasetId</td><td><a href="" class="label type-hint type-hint-string">String</a></td><td><div class="addscoringdataset-page"><p>Id of the dataset which will be used for score</p>
|
28 | 28 | </div></td></tr></tbody></table><h5 id="methods_addscoringdataset_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="addscoringdataset-page"><p>Promise of an updated project</p>
|
29 | 29 | </div></td></tr></table></div>
|
30 | 30 | </li>
|
31 |
| -<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/ce774c5/lib/helper/projectsHelper.js#L43" class="view-source icon-eye-open"> </a><h3 id="methods_isdictionaryverified">isDictionaryVerified(project)</h3> |
| 31 | +<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/95d5aca/lib/helper/projectsHelper.js#L44" class="view-source icon-eye-open"> </a><h3 id="methods_isdictionaryverified">isDictionaryVerified(project)</h3> |
32 | 32 | <div class="isdictionaryverified"><div class="isdictionaryverified-page"><p>Tells if the user checked its project's dictionary.</p>
|
33 | 33 | <p> A dictionary contains a description of each variable used (or unused) of the model. That's why scenario forces
|
34 | 34 | the user to check generated dictionaries.</p>
|
35 | 35 | </div><h5 id="methods_isdictionaryverified_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>project</td><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="isdictionaryverified-page"><p><a href="#/api/API.model.Projects">Projects model</a></p>
|
36 | 36 | </div></td></tr></tbody></table><h5 id="methods_isdictionaryverified_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-boolean">boolean</a></td><td><div class="isdictionaryverified-page"><p><code>true</code> / <code>false</code></p>
|
37 | 37 | </div></td></tr></table></div>
|
38 | 38 | </li>
|
39 |
| -<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/ce774c5/lib/helper/projectsHelper.js#L27" class="view-source icon-eye-open"> </a><h3 id="methods_ismodeldone">isModelDone(project)</h3> |
| 39 | +<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/95d5aca/lib/helper/projectsHelper.js#L28" class="view-source icon-eye-open"> </a><h3 id="methods_ismodeldone">isModelDone(project)</h3> |
40 | 40 | <div class="ismodeldone"><div class="ismodeldone-page"><p>Tells if there is a model for the given project.</p>
|
41 | 41 | <p> <b>Note:</b> A project can have only one Model. It means that you can go back to the first steps of the scenario
|
42 | 42 | if your current project already has a model attached. If you want to change a parameter, you have to create a new
|
|
45 | 45 | </div></td></tr></tbody></table><h5 id="methods_ismodeldone_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-boolean">boolean</a></td><td><div class="ismodeldone-page"><p><code>true</code> / <code>false</code></p>
|
46 | 46 | </div></td></tr></table></div>
|
47 | 47 | </li>
|
48 |
| -<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/ce774c5/lib/helper/projectsHelper.js#L143" class="view-source icon-eye-open"> </a><h3 id="methods_removedependencies">removeDependencies(projectId)</h3> |
| 48 | +<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/95d5aca/lib/helper/projectsHelper.js#L144" class="view-source icon-eye-open"> </a><h3 id="methods_removedependencies">removeDependencies(projectId)</h3> |
49 | 49 | <div class="removedependencies"><div class="removedependencies-page"><p>Removes linked resources prior to being able to remove the project</p>
|
50 | 50 | <div><span class="badge get">get</span><code>/projects/:projectId</code></div>
|
51 | 51 | <div><span class="badge delete">delete</span><code>/dictionaries/:project.dictionary_id</code></div>
|
52 | 52 | <div><span class="badge delete">delete</span><code>/model/:project.classifier_id</code></div></div><h5 id="methods_removedependencies_parameters">Parameters</h5><table class="variables-matrix table table-bordered table-striped"><thead><tr><th>Param</th><th>Type</th><th>Details</th></tr></thead><tbody><tr><td>projectId</td><td><a href="" class="label type-hint type-hint-string">String</a></td><td><div class="removedependencies-page"><p>Id of the project you want to update</p>
|
53 | 53 | </div></td></tr></tbody></table><h5 id="methods_removedependencies_returns">Returns</h5><table class="variables-matrix"><tr><td><a href="" class="label type-hint type-hint-object">Object</a></td><td><div class="removedependencies-page"><p>Promise of an updated project</p>
|
54 | 54 | </div></td></tr></table></div>
|
55 | 55 | </li>
|
56 |
| -<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/ce774c5/lib/helper/projectsHelper.js#L121" class="view-source icon-eye-open"> </a><h3 id="methods_resetdictionary">resetDictionary(projectId)</h3> |
| 56 | +<li><a href="https://github.com/yllieth/predicsis_ml_sdk-javascript/blob/95d5aca/lib/helper/projectsHelper.js#L122" class="view-source icon-eye-open"> </a><h3 id="methods_resetdictionary">resetDictionary(projectId)</h3> |
57 | 57 | <div class="resetdictionary"><div class="resetdictionary-page"><p>Simply set to <code>null</code> the following project's properties:</p>
|
58 | 58 | <ul>
|
59 | 59 | <li><code>dictionary_id</code></li>
|
|
0 commit comments