In Term 3 Week 4, I was making backend api for my project This blog post contains lots of codes and the word count is definitely less than 1000.
Progress
Somehow I chose to make a website for the User Interface of my project. I think I accidently now combined web dev assignment with my data science assignment (pretty sure web dev people were asked to make a website as well). Maybe Mr. Griffin should consider give me extra marks due to I actually have done a project that covers to subjects?
So basically, I decided to make a complete website, with frontend and backend. I will be writing static HTML/JS/CSS files to make my frontend looks beautiful and ready to display my project as a user interface. Alternatively, I will use python (of course python because I wrote my Machine Learning Application in python) to make my backend service, it will provide several APIs, such as providing accuracy of the model, make prediction of a custom crypto coin price in a certain time, make prediction of custom crypto coin price in next 15 mins (to generate a chart in frontend).
I will use the following technology to make my website (please consider this as web dev assignment and give me extra credits in my data science project):
Frontend
Bootstrap -> beautiful interface
Chart.js -> illustrate my “prophecy”
JQuery.js -> ajax request to backend
as I will run frontend and backend on a same web service, no need for prevent CORS
Backend
Flask -> run the webservice
In this week I finished implementing my backend service as well as setting up flask environment. All my APIs were set up and can return JSON result.
Pretty much the most important bit of my backend service is according to this block of code:
Those APIs will be used in the further frontend development in next week.
Challenges
The only reason is to build a M1 environment for tensorflow, because I use M1 laptop in school. Fortunately, apple have a repo on github that contains a shell script to compile arm structure tensroflow by one key. Here is the repo
Reflection
I planned how to develop my user interface
I successfully ran my project (MLP + Flask) on both my laptops (ARM and X64 structures)
I implemented my backend APIs
Timeline
I am on track, and still beyond my original plan. I will finish frontend development next week. After next week my project development will be finished, and I will start testing.