Foursquare is an independent location data platform for understanding how people move through the real world, which provides data describing places and venues, such as geographical location, category, working hours, full address, and so on. Creating a developer account to use their API is quite straightforward and the easiest compared to other providers. Therefore, let’s start learning how to use the Foursquare API to leverage location data.
Below topics will be introduced in this article:
Flask is the tool that can be used to create API server. It is a micro-framework, which means that its core functionality is kept simple, but there are numerous extensions to allow developers to add other functionality (such as authentication and database support).
Heroku is a cloud platform where developers host applications, databases, and other services in several languages. Developers can use Heroku to deploy, manage, and scale applications. Heroku is also free, with paid specialized memberships, and most services such as a database offer a free tier.
This story will focus on application deployment and database interactive without…
Nowadays, with big data becomes reality, people now focus on how to use the data to realize commercial values. One area which is much more mature is how to picture the potential customer or predict the behavior of the customer, to target the market or customer more precisely.
Bertelsman Arvato Financial Solution provided a real-world challenge in Udacity. Arvato provided four demographics datasets. They are:
In order to simplify the problem, I take out two columns from my working file which is a Stackoverflow yearly Survey file, as below:
You might use Visual Studio Code (VSC) as the editor for coding. Have you faced the problem to review HTML files lively in VSC?
I have tried three extensions and would like to share my experiences.
HTML Preview can open the rendered web page inside VSC lively.
Once the below version HTML Preview (as pic1)is being installed, there will have an icon named “ Open Preview to the side” as pic 2 displayed in the editor.
For one user and one branch
There are a lot of learning materials for git, Github, and Github page. Today’s story is based on the following cases:
Preliminary: The connection between the local computer and Github has been established, which means the email, the password has been verified and SSH keys have been created and saved.
Today’s story will include:
Read and write Excel files is very often operation in daily business. It is not complicated, but cumbersome, there are various cases you might have to face and needs patience to detail to handle them. Today I focus on reading-only Excel files (not modify Excel), cleaning the data only with Pandas, and interact with MySQL.
Today I want to share a concise function that can transfer text to numbers. Let’s show the original and target data first to get a direct impression.
The original dataset is like below:
Today I would like to show an example of how to calculate the shape and number of parameters for a simple convolutional neural network, also include some other experience. It takes the dog classification project as an example. It is for the entry-level, not tech-savvy, but welcome your professional comments to help me understand the topic better.
Question 1: Calculate the shape and number of parameters of the CNN model
It is assumed that you have knowledge of the architecture of CNN. …
When I started to learn PyTorch, I found that there are various functions which seem vague to understand for me. Today I would like to summarize them with examples, which I think helpful greatly.
The functions are :
You can also check the explanations from the official website one by one, but summarizing them together helps me.
squeeze(i): it is kind of dimension reduction: if the original dimension is 1, then it can be reduced. Let’s check an example: