{"info":{"_postman_id":"426cd7db-3e52-47e5-98b6-bd5fe25f7451","name":"ML Tools for Developer Professionals","description":"<html><head></head><body><p>ML Tools for Developer Professionals allows users of all skill levels to build neural networks and have it trained with their data. Using the neural network, they are able to classify strings, integers, and images as well as build models that can be tested against our API to see how well a user’s API performs. <br><br>We also integrated a few helpful datasets using chain calls to established Facebook and Yelp API for any users to practice our tools for retrieving information and training models for any specific need to offer a more ready-made experience.<br><br> Overall, our tools allow any developer ranging from newly curious developers with no machine learning experience to seasoned developers who want the convenience of readily-trained models to harness the power of machine learning and extract insightful information from the datasets of their choice.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13723471","collectionId":"426cd7db-3e52-47e5-98b6-bd5fe25f7451","publishedId":"TW6tKpdL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-01-23T04:57:56.000Z"},"item":[{"name":"Registeration","item":[{"name":"Register","event":[{"listen":"prerequest","script":{"id":"fdcd448c-c532-4a01-bc26-08f7c6c9b49b","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"8cf6b03f-6552-484c-bc3f-ea3e6fe66ddd","exec":["pm.test(\"Status test\", function () {","    pm.response.to.have.status(200);","});",""],"type":"text/javascript"}}],"id":"6dfccb58-5e96-490f-be0a-89faaf9e62a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/register","description":"<p>Registers a user to our API service and returns a unique API key which will authenticate all other API calls the user makes to our API.</p>\n","urlObject":{"path":["register"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"2c6b776c-48d4-406a-bc64-9ba13e494cce","name":"Sucessful Registeration","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"9"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sat, 23 Jan 2021 04:53:02 GMT"}],"cookie":[],"responseTime":null,"body":"\"0E44IH\""}],"_postman_id":"6dfccb58-5e96-490f-be0a-89faaf9e62a0"}],"id":"c59ab390-4350-425c-807a-6d524996d524","_postman_id":"c59ab390-4350-425c-807a-6d524996d524","description":""},{"name":"Models","item":[{"name":"Create Model","event":[{"listen":"prerequest","script":{"id":"d7ab6796-1b49-4b30-b8d3-03854012291e","exec":[""],"type":"text/javascript"}}],"id":"edb0490f-8f8c-4282-83c8-042a68c94711","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"url":"{{url}}/createmodel?id=ab1214&name=Text Classifier 1&model=nn&desc=Classifies Twitter Post for Bernie Memes","description":"<p>Creates a Machine Learning Model with the defined name, description, and type. <br />Stores the user's Model with its name, date, model type, model object, and description. <br /></p>\n<h3>Query Parameters</h3>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n<tr>\n<td>name</td>\n<td>True</td>\n<td>None</td>\n<td>name of model</td>\n</tr>\n<tr>\n<td>model</td>\n<td>True</td>\n<td>None</td>\n<td>regression(reg), bayes net (bn), neural net(nn)</td>\n</tr>\n<tr>\n<td>desc</td>\n<td>True</td>\n<td>None</td>\n<td>description of model</td>\n</tr>\n</tbody>\n</table>\n</div><h3>Header</h3>\napikey: API key","urlObject":{"path":["createmodel"],"host":["{{url}}"],"query":[{"key":"id","value":"ab1214"},{"key":"name","value":"Text Classifier 1"},{"key":"model","value":"nn"},{"key":"desc","value":"Classifies Twitter Post for Bernie Memes"}],"variable":[]}},"response":[{"id":"5d191e31-675a-44e5-95b6-ffebf375442b","name":"Model Name + Model ID Duplicate","originalRequest":{"method":"PUT","header":[],"url":{"raw":"http://127.0.0.1:5000/createmodel?id=ab1214&name=Text Classifier 1&model=nn&desc=Classifies Twitter Post for Bernie Memes","protocol":"http","host":["127","0","0","1"],"port":"5000","path":["createmodel"],"query":[{"key":"id","value":"ab1214"},{"key":"name","value":"Text Classifier 1"},{"key":"model","value":"nn"},{"key":"desc","value":"Classifies Twitter Post for Bernie Memes"}]}},"status":"CONFLICT","code":409,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sat, 23 Jan 2021 09:31:29 GMT"}],"cookie":[],"responseTime":null,"body":"Model ID or Model Name already exists"}],"_postman_id":"edb0490f-8f8c-4282-83c8-042a68c94711"},{"name":"Get Model","id":"b8569c5f-9d91-4b46-8a1e-c8467b6ffc20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/getmodel?id=ab1214","description":"<p>Returns a Model's id, name, type, description, and date given the name and a valid API key. </p>\n<h3>Query Parameters</h3>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n</tbody>\n</table>\n</div><h3>Header</h3>\napikey: API key","urlObject":{"path":["getmodel"],"host":["{{url}}"],"query":[{"key":"id","value":"ab1214"}],"variable":[]}},"response":[{"id":"a33bfe6d-e611-4dd2-a84d-d963b8c640c6","name":"Get Model","originalRequest":{"method":"GET","header":[],"url":{"raw":"http://127.0.0.1:5000/getmodel?id=ab1214","protocol":"http","host":["127","0","0","1"],"port":"5000","path":["getmodel"],"query":[{"key":"id","value":"ab1214"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"194"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sat, 23 Jan 2021 07:47:44 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"ModelDate\": \"Fri, 22 Jan 2021 23:43:50 GMT\",\n    \"ModelDesc\": \"Classifies Twitter Post for Bernie Memes\",\n    \"ModelID\": \"ab1214\",\n    \"ModelName\": \"Text Classifier 1\",\n    \"ModelType\": \"nn\"\n}"}],"_postman_id":"b8569c5f-9d91-4b46-8a1e-c8467b6ffc20"},{"name":"Get all Models","id":"b003241f-872d-4103-a8e6-d73511bfc575","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/getallmodels","description":"<p>Gets all Models associated with an API key.</p>\n<h3>Header</h3>\napikey: API key","urlObject":{"path":["getallmodels"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f65e854a-b903-4228-8049-61b4c61310a4","name":"Get all Models","originalRequest":{"method":"GET","header":[],"url":"http://127.0.0.1:5000/getall"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"619"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sat, 23 Jan 2021 07:53:32 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"ModelDate\": \"Fri, 22 Jan 2021 23:39:46 GMT\",\n        \"ModelDesc\": \"Classifies Facebook Post for Racist Comments\",\n        \"ModelID\": \"ab1234\",\n        \"ModelName\": \"Text Classifier 2\",\n        \"ModelType\": \"bn\"\n    },\n    {\n        \"ModelDate\": \"Fri, 22 Jan 2021 23:43:50 GMT\",\n        \"ModelDesc\": \"Classifies Twitter Post for Bernie Memes\",\n        \"ModelID\": \"ab1214\",\n        \"ModelName\": \"Text Classifier 1\",\n        \"ModelType\": \"nn\"\n    },\n    {\n        \"ModelDate\": \"Fri, 22 Jan 2021 23:53:29 GMT\",\n        \"ModelDesc\": \"Classifies Digits 1 ~ 9\",\n        \"ModelID\": \"dig1234\",\n        \"ModelName\": \"Digit Classifier\",\n        \"ModelType\": \"nn\"\n    }\n]"}],"_postman_id":"b003241f-872d-4103-a8e6-d73511bfc575"},{"name":"Edit Model","id":"fdc351b9-d438-43d9-8533-2679477d5be5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{url}}/editmodel?name=Classification Model, with a name chanage.&desc=Changed Description too!&id=ab1214","description":"<p>Edits a Model's details.</p>\n<h3>Query Parameters</h3>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>True</td>\n<td>None</td>\n<td>name of model</td>\n</tr>\n<tr>\n<td>desc</td>\n<td>True</td>\n<td>None</td>\n<td>description of model</td>\n</tr>\n<tr>\n<td>id</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["editmodel"],"host":["{{url}}"],"query":[{"key":"name","value":"Classification Model, with a name chanage."},{"key":"desc","value":"Changed Description too!"},{"key":"id","value":"ab1214"}],"variable":[]}},"response":[{"id":"1486786f-5002-41f9-9abc-134831290730","name":"Sucessful Edit of a Existing Model","originalRequest":{"method":"POST","header":[],"url":{"raw":"http://127.0.0.1:5000/editmodel?name=Classification Model, with a name chanage.&desc=Changed Description too!&id=ab1214","protocol":"http","host":["127","0","0","1"],"port":"5000","path":["editmodel"],"query":[{"key":"name","value":"Classification Model, with a name chanage."},{"key":"desc","value":"Changed Description too!"},{"key":"id","value":"ab1214"}]}},"status":"ACCEPTED","code":202,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"7"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sat, 23 Jan 2021 23:47:53 GMT"}],"cookie":[],"responseTime":null,"body":"Success"}],"_postman_id":"fdc351b9-d438-43d9-8533-2679477d5be5"},{"name":"Delete Model","id":"149ff330-e169-41de-ba65-2ffbfebcc7d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/deletemodel?id=dig1236","description":"<p>Deletes a Model given its ID.</p>\n<h3>Query Parameters</h3>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["deletemodel"],"host":["{{url}}"],"query":[{"key":"id","value":"dig1236"}],"variable":[]}},"response":[{"id":"0909f715-9109-4769-afd3-1579396fcb84","name":"Deletion with valid id","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/deletemodel?id=dig1234","host":["{{url}}"],"path":["deletemodel"],"query":[{"key":"id","value":"dig1234"}]}},"status":"ACCEPTED","code":202,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"7"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sun, 24 Jan 2021 05:32:26 GMT"}],"cookie":[],"responseTime":null,"body":"Success"},{"id":"64434879-3fa3-4ee3-b3f4-e126fb27f784","name":"Deletion with invalid id","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"{{url}}/deletemodel?id=dig1236","host":["{{url}}"],"path":["deletemodel"],"query":[{"key":"id","value":"dig1236"}]}},"status":"BAD REQUEST","code":400,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"51"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sun, 24 Jan 2021 05:33:05 GMT"}],"cookie":[],"responseTime":null,"body":"Cannot find model associated with model id: dig1236"}],"_postman_id":"149ff330-e169-41de-ba65-2ffbfebcc7d2"}],"id":"0cf8ec53-2192-4d6a-90ac-573624a2dc7a","_postman_id":"0cf8ec53-2192-4d6a-90ac-573624a2dc7a","description":""},{"name":"Datasets","item":[{"name":"Create Data Set","id":"e0dea6a2-58e9-4d71-83f6-d3d14ad084bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"url":"{{url}}/createdataset?datasetid=yelp&modelid=bernie101&datasetname=Yelp Reviews&datatype=str","description":"<p>Creates a Dataset associated with a Model.</p>\n<h5>Query Parameters</h5>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>datasetid</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with dataset</td>\n</tr>\n<tr>\n<td>modelid</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>id of model associated with dataset</td>\n</tr>\n<tr>\n<td>datasetname</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>name of dataset</td>\n</tr>\n<tr>\n<td>datatype</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>type of data to store in the dataset (img/str/int)</td>\n</tr>\n<tr>\n<td>imgw</td>\n<td>int</td>\n<td>True</td>\n<td>None</td>\n<td>width of image if datatype is img</td>\n</tr>\n<tr>\n<td>imgh</td>\n<td>int</td>\n<td>True</td>\n<td>None</td>\n<td>width of image if datatype is img</td>\n</tr>\n</tbody>\n</table>\n</div><h5>Header</h5>\napikey: API key","urlObject":{"path":["createdataset"],"host":["{{url}}"],"query":[{"key":"datasetid","value":"yelp"},{"key":"modelid","value":"bernie101"},{"key":"datasetname","value":"Yelp Reviews"},{"key":"datatype","value":"str"},{"disabled":true,"key":"imgw","value":"300"},{"disabled":true,"key":"imgh","value":"300"}],"variable":[]}},"response":[{"id":"2fd34e28-bfb8-4034-b108-9a3d3706d263","name":"Duplicate ID or Duplicate Dataset Name","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{url}}/createdataset?datasetid=Trump1234&modelid=ab1214&datasetname=TrumpImages&datatype=str","host":["{{url}}"],"path":["createdataset"],"query":[{"key":"datasetid","value":"Trump1234"},{"key":"modelid","value":"ab1214"},{"key":"datasetname","value":"TrumpImages"},{"key":"datatype","value":"str"},{"key":"imgw","value":"300","disabled":true},{"key":"imgh","value":"300","disabled":true}]}},"status":"CONFLICT","code":409,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"41"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sun, 24 Jan 2021 07:45:29 GMT"}],"cookie":[],"responseTime":null,"body":"Dataset ID or Dataset Name already exists"},{"id":"a2b90410-c066-492a-b5bd-4e05be67e05e","name":"String Dataset","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{url}}/createdataset?datasetid=Biden1234&modelid=ab1214&datasetname=BidenSpeeches&datatype=str","host":["{{url}}"],"path":["createdataset"],"query":[{"key":"datasetid","value":"Biden1234"},{"key":"modelid","value":"ab1214"},{"key":"datasetname","value":"BidenSpeeches"},{"key":"datatype","value":"str"},{"key":"imgw","value":"300","disabled":true},{"key":"imgh","value":"300","disabled":true}]}},"status":"CREATED","code":201,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"7"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sun, 24 Jan 2021 07:46:15 GMT"}],"cookie":[],"responseTime":null,"body":"Success"},{"id":"aa7a20f9-68aa-4c2a-b846-3021aa128872","name":"Image Dataset","originalRequest":{"method":"PUT","header":[],"url":{"raw":"{{url}}/createdataset?datasetid=Trump1234&modelid=ab1214&datasetname=TrumpImages&datatype=img&imgw=300&imgh=300","host":["{{url}}"],"path":["createdataset"],"query":[{"key":"datasetid","value":"Trump1234"},{"key":"modelid","value":"ab1214"},{"key":"datasetname","value":"TrumpImages"},{"key":"datatype","value":"img"},{"key":"imgw","value":"300"},{"key":"imgh","value":"300"}]}},"status":"CREATED","code":201,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"7"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sun, 24 Jan 2021 07:41:58 GMT"}],"cookie":[],"responseTime":null,"body":"Success"}],"_postman_id":"e0dea6a2-58e9-4d71-83f6-d3d14ad084bd"},{"name":"Add Data","id":"019ae3ed-03f1-4c36-9979-20a9346b473b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"file","file":{"src":"/Users/s3kim2018/Desktop/45_donald_trump.jpg"}},"url":"{{url}}/adddata?datasetid=Trump1234&classification=trump&data=2","description":"<p>Adds data to Dataset.</p>\n<h5>Query Parameters</h5>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>datasetid</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with dataset</td>\n</tr>\n<tr>\n<td>classification</td>\n<td>True</td>\n<td>None</td>\n<td>classification of data</td>\n</tr>\n<tr>\n<td>data</td>\n<td>True</td>\n<td>None</td>\n<td>data to be added</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["adddata"],"host":["{{url}}"],"query":[{"key":"datasetid","value":"Trump1234"},{"key":"classification","value":"trump"},{"key":"data","value":"2"}],"variable":[]}},"response":[{"id":"0371ba9f-b223-4c7a-803f-48773d93c51a","name":"Adding Image as a Data Point","originalRequest":{"method":"PUT","header":[],"body":{"mode":"file","file":{"src":"/Users/s3kim2018/Desktop/45_donald_trump.jpg"}},"url":{"raw":"{{url}}/adddata?datasetid=Trump1234&classification=Trump","host":["{{url}}"],"path":["adddata"],"query":[{"key":"datasetid","value":"Trump1234"},{"key":"classification","value":"Trump"}]}},"status":"CREATED","code":201,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"7"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sun, 24 Jan 2021 11:09:04 GMT"}],"cookie":[],"responseTime":null,"body":"Success"},{"id":"88599823-38b3-477b-9e2e-e73c8957cc51","name":"Adding Integers as a Data Point","originalRequest":{"method":"PUT","header":[],"body":{"mode":"file","file":{"src":""}},"url":{"raw":"{{url}}/adddata?datasetid=poly1&classification=4&data=2","host":["{{url}}"],"path":["adddata"],"query":[{"key":"datasetid","value":"poly1"},{"key":"classification","value":"4"},{"key":"data","value":"2"}]}},"status":"CREATED","code":201,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"7"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sun, 24 Jan 2021 11:20:59 GMT"}],"cookie":[],"responseTime":null,"body":"Success"},{"id":"e33a72a6-9ad6-4378-986d-e428b1c6c719","name":"Adding String as a Data Point","originalRequest":{"method":"PUT","header":[],"body":{"mode":"file","file":{"src":"/Users/s3kim2018/Desktop/45_donald_trump.jpg"}},"url":{"raw":"{{url}}/adddata?datasetid=Biden1234&classification=Biden&data=Hello America, I am President elect Biden.","host":["{{url}}"],"path":["adddata"],"query":[{"key":"datasetid","value":"Biden1234"},{"key":"classification","value":"Biden"},{"key":"data","value":"Hello America, I am President elect Biden."}]}},"status":"CREATED","code":201,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"7"},{"key":"Server","value":"Werkzeug/0.16.0 Python/3.7.4"},{"key":"Date","value":"Sun, 24 Jan 2021 11:20:01 GMT"}],"cookie":[],"responseTime":null,"body":"Success"}],"_postman_id":"019ae3ed-03f1-4c36-9979-20a9346b473b"},{"name":"Add Facebook Hashtag Images","event":[{"listen":"prerequest","script":{"id":"67d597a8-d43a-40af-899e-2aa5a3446962","exec":["let userid = postman.getEnvironmentVariable('user_id');","let accesstok = postman.getEnvironmentVariable('access_token');","let label = pm.request.url.query.get('label')","console.log(label)","pm.sendRequest({","    url: \"https://graph.facebook.com/ig_hashtag_search?user_id=\" + userid + \"&q=\" + label,","    method: 'GET',","    header: {","        'Authorization': 'Bearer ' + accesstok        ","    }","}, function (err, res) {","    let hashtag_id = res.json()['data'][0]['id'];","    pm.sendRequest({","        url: \"https://graph.facebook.com/\" + hashtag_id + \"/recent_media?user_id=\" + userid + \"&fields=id, media_type, media_url\",","        method: 'GET',","        header: {","            'Authorization': 'Bearer ' + accesstok        ","        }","    }, function (err, res) {","        let result = res.json()['data']","        res = ''","        let firsttime = true;","        for (let i = 0; i < result.length; i++) {","            if (result[i]['media_type'] == \"IMAGE\") {","                if (firsttime) {","                    res = result[i]['media_url']","                    firsttime = false","                } else {","                    res = res + \",\" + result[i]['media_url']","                }","            }","        }","        pm.environment.set(\"facebookimgurl\", res);","    });","});","","","",""],"type":"text/javascript"}},{"listen":"test","script":{"id":"a72e5885-60ad-481c-a8b9-d6bf6f45ad1b","exec":[""],"type":"text/javascript"}}],"id":"59c6fd8a-edf8-43e1-9060-b14c0536be25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{{facebookimgurl}}","type":"text"}]},"url":"{{url}}/addfacebookdata?label=trump&datasetid=Trump1234","description":"<p>Searches for posts that include a particular hashtag. <br />\nExtracts the images and media from the post and add it to the Dataset. <br /></p>\n<h5>Query Parameters</h5>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>label</td>\n<td>True</td>\n<td>None</td>\n<td>label of hashtag</td>\n</tr>\n<tr>\n<td>datasetid</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with dataset</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["addfacebookdata"],"host":["{{url}}"],"query":[{"key":"label","value":"trump"},{"key":"datasetid","value":"Trump1234"}],"variable":[]}},"response":[],"_postman_id":"59c6fd8a-edf8-43e1-9060-b14c0536be25"},{"name":"Add Yelp Reviews","event":[{"listen":"prerequest","script":{"id":"f03dd4aa-d138-400a-a312-f1a67249749e","exec":["let accesstok = postman.getEnvironmentVariable('auth_token');","let label = pm.request.url.query.get('label')","let loc = pm.request.url.query.get('location')","pm.sendRequest({","    url: \"https://api.yelp.com/v3/businesses/search?location=\" + loc,","    method: 'GET',","    header: {","        'Authorization': 'Bearer ' + accesstok        ","    }","}, async function (err, res) {","    iter = res.json()['businesses']","    ret = []","    finalret = ''","    for (let i = 0; i < iter.length; i++) {","        ret.add(iter[i]['id'])","    }","    for (let i = 0; i < ret.length; i++) {","        let key = ret[i]","        await pm.sendRequest({","            url: \"https://api.yelp.com/v3/businesses/\" + key + \"/reviews\",","            method: 'GET',","            header: {","                'Authorization': 'Bearer ' + accesstok        ","            }","        }, async function(err, res) {","            node = res.json()","            if (node['error']) {","                return","            } else {","                for (let j = 0; j < node['reviews'].length; j++) {","                    if (finalret == '') {","                        finalret = finalret + node['reviews'][j]['rating'] + node['reviews'][j]['text']","                        pm.environment.set(\"yelpurl\", finalret);","","                    } else {","                        finalret = finalret + ';:;' + node['reviews'][j]['rating'] + node['reviews'][j]['text']","                        pm.environment.set(\"yelpurl\", finalret);","                    }","                }","            }","        })","        console.log(finalret)","        console.log(\"HI\")","","    }","","});",""],"type":"text/javascript"}}],"id":"63b4e000-ea9a-4ae3-8689-fc5cc6495365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"","type":"text"}]},"url":"{{url}}/addyelpdata?loc=berkeley&datasetid=yelp","description":"<p>Searches for Yelp businesses that match a given location. <br />Compiles a comprehensive set of reviews from the businesses found and add to the Dataset. <br /></p>\n<h5>Query Parameters</h5>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>loc</td>\n<td>True</td>\n<td>None</td>\n<td>location to search for</td>\n</tr>\n<tr>\n<td>datasetid</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with dataset</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["addyelpdata"],"host":["{{url}}"],"query":[{"key":"loc","value":"berkeley"},{"key":"datasetid","value":"yelp"}],"variable":[]}},"response":[],"_postman_id":"63b4e000-ea9a-4ae3-8689-fc5cc6495365"},{"name":"Visualize Data","event":[{"listen":"test","script":{"id":"dbc76624-7a1b-4eaf-90f2-88f410f25806","exec":["var template = `","    <table bgcolor=\"#FFFFFF\">","        <tr>","            <th>classification</th>","            <th>Review</th>","        </tr>","","        {{#each response}}","            <tr>","                <td>{{classification}}</td>","                <td>{{word}}</td>","            </tr>","        {{/each}}","    </table>","`;","","pm.visualizer.set(template, {","    // Pass the response body parsed as JSON as `data`","    response: pm.response.json()","});"],"type":"text/javascript"}}],"id":"f781bfd9-dc61-4e9d-964d-e320fccee0df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/getalldata?datasetid=yelp","description":"<p>Visualizes data for the Yelp reviews collected.<br /></p>\n<h5>Query Parameters</h5>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>datasetid</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with dataset</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["getalldata"],"host":["{{url}}"],"query":[{"key":"datasetid","value":"yelp"}],"variable":[]}},"response":[{"id":"3c9af428-f9f4-4fb5-9e3b-0e37bf8c2de5","name":"Visualized Yelp Reviews","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{url}}/getalldata?datasetid=yelp","host":["{{url}}"],"path":["getalldata"],"query":[{"key":"datasetid","value":"yelp"}]}},"status":"CREATED","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"6311"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.6.12"},{"key":"Date","value":"Tue, 26 Jan 2021 00:59:18 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"classification\": \"5\",\n        \"word\": \"(December 2020)\\n\\nIt was my second time in my life to visit Katz's; my partner's first.  As my first visit was YEARS ago, I don't remember much about it, so...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Due to The city shut down we got food to go. Luckily we picked up that morning when it wasn't busy at all. They checked our temperatures when we walked in...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Pre-COVID review:\\nI was doing a Spartan race in New Jersey with a friend and when we flew in to NY decided to try this famous sandwich shop. \\nIt was in the...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"My fave rice pudding place!  In fact the only rice pudding place I know.  It's been years since i left New York but this is the place I know I want to go to...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Whoa, I never thought I would be craving rice pudding so much until now!\\n\\nAmbiance: There are a couple of tables where you can relax and enjoy your rice...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Still so good and they are open for business.\\n\\nI got the same flavors as my first time since they are not allowing tastings due to Coronavirus.\\n\\nCoconut...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"The great thing about pizza? You can enjoy it everywhere and anywhere and Lombardi's sets the standard for New York-style pizza and I have to say this is...\"\n    },\n    {\n        \"classification\": \"4\",\n        \"word\": \"Pizza was great, crispy and crunchy. I had it in my car cause the pizza doesnt taste 100% the same when you get take out. Due to coronavirus, naturally its...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"I have no photos because I was hungry and I ate it first.   I forgot how good the balance of cheese and sauce are for this classic, floppy, thin bottom,...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Easily one of the best places in the city to sit down for pizza and drinks. I used to bring anyone visiting New York here for pizza (whenever I could manage...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"I always want to try Rubirosa pizza. But how can I finish my pizza myself. \\nSo I ordered Cavatelli. NO doubt, still too good to be true. cant stop eating...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Absolutely delicious.\\n\\nCame here to celebrate a friend's birthday for lunch. I was between the tie dye pizza and a pasta dish, but after speaking with the...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"This place is definitely worth a visit. Pre-Covid, my friends and I would come here regularly after our Friday Night dinners, especially during the summer....\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"So good! The shop is small so with COVID, customers aren't allowed inside. The green tea was amazing, the cones were fresh and warm. I preferred the custard...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"It's been a long while since I've eaten here- a little over a year tbh.  No better time to review it than Coronavirus lockdown!\\n\\nDefinitely left a solid...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"The cheesecakes tarts are perfectly sized. One is big enough to share and small enough to eat on your own. You would probably want one for yourself though...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"I had a weird relationship with Eileen's at first but after devouring four of their mini cheesecakes in one sitting, I can definitely tell you I'm a fan....\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"I can't walk by the area without stopping by and indulging on at least 2 cheesecakes from Eileen's! The cheesecake from here is what I wish all cheesecake...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"(December 2020)\\n\\nIt was my second time in my life to visit Katz's; my partner's first.  As my first visit was YEARS ago, I don't remember much about it, so...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Due to The city shut down we got food to go. Luckily we picked up that morning when it wasn't busy at all. They checked our temperatures when we walked in...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Pre-COVID review:\\nI was doing a Spartan race in New Jersey with a friend and when we flew in to NY decided to try this famous sandwich shop. \\nIt was in the...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Pre-Covid Review. \\n\\nAfter a long day, one can never go wrong with a bowl of ramen. It's the perfect combination that hits just the right spot. I wish I was...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"I've held off on posting this review for months.  March 12, 2020 was the last night I spent in NYC before our worlds got flipped upside down. Lil ole...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"This was my first time trying Ippudo Ramen and it was amazing! I had the Karaka Spicy Ramen (with Tokyo thick noodles and pork belly chashu) and it had nice...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"Russ & Daughters is one of the best for spreads, schmears, smoked fish, and bagels! Pre-covid and currently in covid times, there will be a line. Luckily it...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"This place deserves all the stars. Great people working there and I can't stop thinking about their bagels! There was a line to get in due to Covid...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"An $18 bagel (The Classic/Lox)! Is it worth it? Absolutely. Would it be regular go to bagel? No. I'd probably just go to Bagel Pub or Bagelsmith in my...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"The great thing about pizza? You can enjoy it everywhere and anywhere and Lombardi's sets the standard for New York-style pizza and I have to say this is...\"\n    },\n    {\n        \"classification\": \"4\",\n        \"word\": \"Pizza was great, crispy and crunchy. I had it in my car cause the pizza doesnt taste 100% the same when you get take out. Due to coronavirus, naturally its...\"\n    },\n    {\n        \"classification\": \"5\",\n        \"word\": \"I have no photos because I was hungry and I ate it first.   I forgot how good the balance of cheese and sauce are for this classic, floppy, thin bottom,...\"\n    }\n]"}],"_postman_id":"f781bfd9-dc61-4e9d-964d-e320fccee0df"}],"id":"161f9d68-351c-4653-a5ea-b4959b1a2b7a","_postman_id":"161f9d68-351c-4653-a5ea-b4959b1a2b7a","description":""},{"name":"Layers","item":[{"name":"Pop Layer","id":"ddbcba6d-aeae-43c2-aa2f-0580ee50e57c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{url}}/poplayer?modelid=bernie101","description":"<p>Deletes the most recent layer associated with a Model.<br /></p>\n<h5>Query Parameters</h5>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>modelid</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["poplayer"],"host":["{{url}}"],"query":[{"key":"modelid","value":"bernie101"}],"variable":[]}},"response":[],"_postman_id":"ddbcba6d-aeae-43c2-aa2f-0580ee50e57c"},{"name":"Append Flattening Layer","id":"8de8e9cd-12c0-4160-b8be-27756b567242","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{url}}/appendflattenlayer?modelid=bernie101&name=flattenLayer","description":"<p>Appends a flattening layer to the neural network associated with a Model. <br /></p>\n<h5>Query Parameters</h5>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>modelid</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with dataset</td>\n</tr>\n<tr>\n<td>name</td>\n<td>True</td>\n<td>None</td>\n<td>name of layer</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["appendflattenlayer"],"host":["{{url}}"],"query":[{"key":"modelid","value":"bernie101"},{"key":"name","value":"flattenLayer"}],"variable":[]}},"response":[],"_postman_id":"8de8e9cd-12c0-4160-b8be-27756b567242"},{"name":"Append Dense Layer","id":"0f36257a-d9ab-4c08-be26-cdaa8f4e8836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{url}}/appenddenselayer?modelid=bernie101&units=10&activation=softmax&use_bias=true&name=dense-layer1","description":"<p>Appends a dense layer to the neural network associated with a Model. <br /></p>\n<h4>Query Parameters</h4>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>modelid</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n<tr>\n<td>units</td>\n<td>int</td>\n<td>True</td>\n<td>None</td>\n<td>dimensionality of output space of layer</td>\n</tr>\n<tr>\n<td>activation</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>choose from: <em>relu, sigmoid, softmax, softplus, softsign, tanh, selu, elu, exponential</em></td>\n</tr>\n<tr>\n<td>user_bias</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>true for a bias vector, false otherwise</td>\n</tr>\n<tr>\n<td>name</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>name of layer</td>\n</tr>\n</tbody>\n</table>\n</div><h4>Headers</h4>\napikey: API key","urlObject":{"path":["appenddenselayer"],"host":["{{url}}"],"query":[{"key":"modelid","value":"bernie101"},{"key":"units","value":"10"},{"key":"activation","value":"softmax"},{"key":"use_bias","value":"true"},{"key":"name","value":"dense-layer1"}],"variable":[]}},"response":[{"id":"0ee3b811-d577-4370-b21c-503aaa991c77","name":"Add Dense Layer With Relu Activation","originalRequest":{"method":"POST","header":[],"url":{"raw":"{{url}}/appenddenselayer?modelid=ab1234&units=36&activation=relu&use_bias=true","host":["{{url}}"],"path":["appenddenselayer"],"query":[{"key":"modelid","value":"ab1234"},{"key":"units","value":"36"},{"key":"activation","value":"relu"},{"key":"use_bias","value":"true"}]}},"status":"ACCEPTED","code":202,"_postman_previewlanguage":"html","header":[{"key":"Content-Type","value":"text/html; charset=utf-8"},{"key":"Content-Length","value":"7"},{"key":"Server","value":"Werkzeug/1.0.1 Python/3.6.12"},{"key":"Date","value":"Mon, 25 Jan 2021 10:07:08 GMT"}],"cookie":[],"responseTime":null,"body":"Success"}],"_postman_id":"0f36257a-d9ab-4c08-be26-cdaa8f4e8836"},{"name":"Append Embedding Layer","id":"1a2586fa-ced2-48c8-8760-d569f38cbc8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{url}}/appendembeddinglayer?modelid=ab1234&input_dim=1000&output_dim=64&input_len=10&mask_zero=false","description":"<p>Appends an embedded layer to the neural network associated with a Model. <br /></p>\n<h4>Query Parameters</h4>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>modelid</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n<tr>\n<td>input_dim</td>\n<td>int</td>\n<td>True</td>\n<td>None</td>\n<td>dimension of input space of layer</td>\n</tr>\n<tr>\n<td>output_dim</td>\n<td>int</td>\n<td>True</td>\n<td>None</td>\n<td>dimension of output space of layer</td>\n</tr>\n<tr>\n<td>input_len</td>\n<td>int</td>\n<td>True</td>\n<td>None</td>\n<td>length of input sequences, when constant</td>\n</tr>\n<tr>\n<td>mask_zero</td>\n<td>boolean</td>\n<td>True</td>\n<td>None</td>\n<td>whether or not input value 0 is a special \"padding\" value that should be masked out</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["appendembeddinglayer"],"host":["{{url}}"],"query":[{"key":"modelid","value":"ab1234"},{"key":"input_dim","value":"1000"},{"key":"output_dim","value":"64"},{"key":"input_len","value":"10"},{"key":"mask_zero","value":"false"}],"variable":[]}},"response":[],"_postman_id":"1a2586fa-ced2-48c8-8760-d569f38cbc8a"},{"name":"Get all Layers","id":"798282e3-80ed-46b2-a3e5-2e47b55363af","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url}}/getlayers?modelid=bernie101","description":"<p>Gets all layers from a given Model.<br /></p>\n<h4>Query Parameters</h4>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>modelid</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["getlayers"],"host":["{{url}}"],"query":[{"key":"modelid","value":"bernie101"}],"variable":[]}},"response":[],"_postman_id":"798282e3-80ed-46b2-a3e5-2e47b55363af"}],"id":"3db42eea-d205-4e5f-85cc-9fa076fcbeb0","_postman_id":"3db42eea-d205-4e5f-85cc-9fa076fcbeb0","description":""},{"name":"Train","item":[{"name":"Train Data","id":"a4d8e8d6-7b50-415d-9ee2-f84034b0ff8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"apikey"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"url":"{{url}}/traindata?modelid=abcdef&datasetid=Trump1234&epoch=3&optimizer=adam&loss=sparse_categorical_cross_entrophy","description":"<p>Trains data and saves the loss to our database. <br /></p>\n<h4>Query Parameters</h4>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameters</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>modelid</td>\n<td>str</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with model</td>\n</tr>\n<tr>\n<td>datasetid</td>\n<td>srt</td>\n<td>True</td>\n<td>None</td>\n<td>id associated with dataset</td>\n</tr>\n<tr>\n<td>epoch</td>\n<td>int</td>\n<td>True</td>\n<td>None</td>\n<td>number of runs</td>\n</tr>\n<tr>\n<td>optimizer</td>\n<td>int</td>\n<td>True</td>\n<td>None</td>\n<td>optimizer function</td>\n</tr>\n<tr>\n<td>loss</td>\n<td>boolean</td>\n<td>True</td>\n<td>None</td>\n<td>loss function</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["traindata"],"host":["{{url}}"],"query":[{"key":"modelid","value":"abcdef"},{"key":"datasetid","value":"Trump1234"},{"key":"epoch","value":"3"},{"key":"optimizer","value":"adam"},{"key":"loss","value":"sparse_categorical_cross_entrophy"}],"variable":[]}},"response":[],"_postman_id":"a4d8e8d6-7b50-415d-9ee2-f84034b0ff8b"}],"id":"57ec8fce-5743-4ce2-83ea-0653097b1139","_postman_id":"57ec8fce-5743-4ce2-83ea-0653097b1139","description":""}]}