tarunja1ks / student

MIT License
0 stars 0 forks source link

Data Structure Writeup #5

Open tarunja1ks opened 7 months ago

tarunja1ks commented 7 months ago

Collections Blog Python Model code and SQLite Database.

From VSCode using SQLite3 Editor, show your unique collection/table in database, display rows and columns in the table of the SQLite database. Screenshot 2024-04-17 at 12 17 12 AM

From VSCode model, show your unique code that was created to initialize table and create test data. Lists and Dictionaries

Screenshot 2024-04-17 at 12 18 51 AM Screenshot 2024-04-17 at 12 19 21 AM This is a dictionary about the general User information that helps with profile.

Blog Python API code and use of List and Dictionaries.

List API Code Screenshot 2024-04-17 at 12 24 59 AM

Dictionary API code Screenshot 2024-04-17 at 12 28 11 AM I access the dictionary from model class where the dictionary object is created but I manipulate it here.

In VSCode using Debugger, show a list as extracted from database as Python objects. Screenshot 2024-04-17 at 12 25 46 AM

In VSCode use Debugger and list, show two distinct example examples of dictionaries, show Keys/Values using debugger. APIs and JSON

Screenshot 2024-04-17 at 11 12 09 AM Screenshot 2024-04-17 at 11 20 57 AM

Blog Python API code and use of Postman to request and respond with JSON.

In VSCode, show Python API code definition for request and response using GET, POST, UPDATE methods. Discuss algorithmic condition used to direct request to appropriate Python method based on request method.

Screenshot 2024-04-17 at 3 35 58 PM

In VSCode, show algorithmic conditions used to validate data on a POST condition.

Screenshot 2024-04-17 at 3 39 42 PM

In Postman, show URL request and Body requirements for GET, POST, and UPDATE methods. In Postman, show the JSON response data for 200 success conditions on GET, POST, and UPDATE methods.

Screenshot 2024-04-17 at 11 29 04 AM Screenshot 2024-04-17 at 11 29 17 AM Screenshot 2024-04-17 at 11 29 43 AM

In Postman, show the JSON response for error for 400 when missing body on a POST request.

Screenshot 2024-04-17 at 11 34 57 AM

In Postman, show the JSON response for error for 404 when providing an unknown user ID to a UPDATE request.

Screenshot 2024-04-17 at 11 37 01 AM

Frontend

Blog JavaScript API fetch code and formatting code to display JSON.

Screenshot 2024-04-17 at 11 38 49 AM

In Chrome inspect, show response of JSON objects from fetch of GET, POST, and UPDATE methods.

Screenshot 2024-04-17 at 11 43 43 AM Screenshot 2024-04-17 at 11 44 11 AM Screenshot 2024-04-17 at 11 45 42 AM

In the Chrome browser, show a demo (GET) of obtaining an Array of JSON objects that are formatted into the browsers screen.

Screenshot 2024-04-17 at 11 52 07 AM

In JavaScript code, describe fetch and method that obtained the Array of JSON objects. The fetch method asks the backend function that is a get function containing all of the designs. In JavaScript code, show code that performs iteration and formatting of data into HTML.

Screenshot 2024-04-17 at 11 54 48 AM

In the Chrome browser, show a demo (POST or UPDATE) gathering and sending input and receiving a response that show update. Repeat this demo showing both success and failure. Screenshot 2024-04-17 at 7 32 50 PM Screenshot 2024-04-17 at 7 33 19 PM Screenshot 2024-04-17 at 7 33 44 PM

In JavaScript code, show and describe code that handles success. Describe how code shows success to the user in the Chrome Browser screen. In JavaScript code, show and describe code that handles failure. Describe how the code shows failure to the user in the Chrome Browser screen.

Screenshot 2024-04-17 at 3 12 54 PM

The code that handles the failure for the login logs the error in the console and the success redirects you to the homepage as seen in the link mentioned.

Optional/Extra, Algorithm Analysis In the ML projects, there is a great deal of algorithm analysis. Think about preparing data and predictions.

Show algorithms and preparation of data for analysis. This includes cleaning, encoding, and one-hot encoding. Show algorithms and preparation for predictions. Screenshot 2024-04-17 at 7 35 39 PM This is from a project I did, which was on decrypting so over here I brute force through all combinations and use this AI model to check which one is most representative of English. Discuss concepts and understanding of Linear Regression algorithms. Some of the concepts for the understanding of liner regression is that a line is fit onto a graph of values and it matches the line closest to the points so it is most accurately represented and it is a similar concept with logistic regression as it is matching a sigma curve onto the points sio it chooses between mainly 2 values. Discuss concepts and understanding of Decision Tree analysis algorithms. Decision tree takes multiple decisions so it splits it into multiple different branches where it is sorted into the choices.

Akhil353 commented 7 months ago

Reviewed by: Akhil Singamneni Completeness: 0.95/1 - Almost all of the questions have been answered, but there are 1-2 bullet points that are missing. Looks: 0.86/1 - While there is some organization in the way the images are set up, it is hard to tell what text is for what, and it is hard to differentiate between the different sections. Total Score: 1.81/2

KinetekEnergy commented 7 months ago

I think this issue is very thorough with each image having a caption to explain what is happening. I also think that each image has all the information needed in a concise way. I also like the code examples for everything and explanations for it all.

Completeness: 0.98/1 - Just a few things missing (a couple small bullet points) Looks: 0.95/1 - I think that it is well organized apart from some spacing in some areas Total score: 1.93/1 Reviewer: Aashray Reddy

sergi1207 commented 7 months ago

Reviewer: Sergi Serpukhovitinov Score: 0.94/1

Your blog is very nice and meets the expectations. I can see that you have answered all the questions including the ML questions. Your screenshots are easy to follow but some more descriptions would make them better. I like how you descriptively mentioned your understanding of the ML portion and your use of the decision trees and linear progression in your code. Overall, you seem to have inputted effort into this write up, but I would certainly consider adding better descriptions to each image in caption style.