跟随,学习,进步

Stack Abuse

Stack Abuse features News, articles, and ideas for software engineers and web developers.

https://stackabuse.com
转到作者网站

Git: Switch Branch

In Git, branches allow you to create different versions of your code from a snapshot in the repository. So if you have a new feature to develop, a bug to fix, or code to rewrite, you can easily create a branch that won't affect the master branch of your codebase.


Solving Sequence Problems with LSTM in Keras: Part 2

This is the second and final part of the two-part series of articles on solving sequence problems with LSTMs. In the part 1 of the series, I explained how to solve one-to-one and many-to-one sequence problems using LSTM. In this part, you will see how to solve one-to-many and many-to-many


Git: Remove a File

As your project changes over time, at some point you'll likely need to remove a file, or an entire directory, from the repository. Since this involves more than changing the contents of a file, Git has a special command to handle removing files, which also takes some important flags depending


Git: Create a New Repository

When starting a new project, one of the first things you'll find yourself needing to do is creating a new Git repository. This not only helps you share the project with coworkers, or publicly, but it's also a great way to track updates to a young project that is bound


Reading and Writing YAML to a File in Python

Introduction In this tutorial, we're going to learn how to use the YAML library in Python 3. YAML stands for Yet Another Markup Language. In recent years it has become very popular for its use in storing data in a serialized manner for configuration files. Since YAML essentially is a


Solving Sequence Problems with LSTM in Python's Keras Library

In this article, you will learn how to perform time series forecasting that is used to solve sequence problems. Time series forecasting refers to the type of problems where we have to predict an outcome based on time dependent inputs. A typical example of time series data is stock market


Java: List Files in a Directory

Introduction A lot of applications handle files in some way and file manipulation is one of the core knowledges in any programming language. In order to manipulate files, we need to know where they're located. Having an overview of files in a directory is paramount if we want to accomplish


Deploying a Flask Application to Heroku

Introduction In this tutorial you will learn how to deploy a Flask application to Heroku. The app can be as simple as a "Hello World" app to a social media monitoring platform! Nowadays there is no business that doesn't have a web app to help it a reach


Java Flow Control: break and continue Statements

Introduction Conditional statements and loops are a very important tool in programming. There aren't many things we could do with code that can only execute line-by-line. That's what "flow control" means - guiding the execution of our program, instead of letting it execute line-by-line regardless of any internal


Spring Cloud: Contract

Overview In this article, we'll introduce you to Spring Cloud Contract, which is Spring's response to Consumer-Driven Contracts. Nowadays, applications are thoroughly tested - whether it be unit tests, integration tests, or end-to-end tests. It's very common in a microservice architecture that a service (consumer) communicates with another service (producer


Git: Clone a Repository

One of the many benefits of using version control software like Git is how easily you can copy the entire contents and history of a project with a simple command in your terminal. Once on your local machine, you can then make the changes/additions/deletions that you want, and


Java Flow Control: for and for-each Loops

Introduction Conditional statements and loops are a very important tool in programming. There aren't many things we could do with code that can only execute line-by-line. That's what "flow control" means - guiding the execution of our program, instead of letting it execute line-by-line regardless of any internal


Object Detection with ImageAI in Python

Introduction Object detection is a technology that falls under the broader domain of Computer Vision. It deals with identifying and tracking objects present in images and videos. Object detection has multiple applications such as face detection, vehicle detection, pedestrian counting, self-driving cars, security systems, etc. The two major objectives of


Python for NLP: Working with Facebook FastText Library

This is the 20th article in my series of articles on Python for NLP. In the last few articles, we have been exploring deep learning techniques to perform a variety of machine learning tasks, and you should also be familiar with the concept of word embeddings. Word embeddings is a


Java Flow Control: while and do-while Statements

Introduction Conditional statements and loops are a very important tool in programming. There aren't many things we could do with code that can only execute line-by-line. That's what "flow control" means - guiding the execution of our program, instead of letting it execute line-by-line regardless of any internal


Java Flow Control: The switch Statement

Introduction Conditional statements and loops are a very important tool in programming. There aren't many things we could do with code that can only execute line-by-line. That's what "flow control" means - guiding the execution of our program, instead of letting it execute line-by-line regardless of any internal


Java Flow Control: if and if-else Statements

Introduction Conditional statements and loops are a very important tool in programming. There aren't many things we could do with code that can only execute line-by-line unconditionally. That's what "flow control" means - guiding the execution of our program, instead of letting it execute line-by-line regardless of any


Introduction to the Python Pyramid Framework

Introduction In this tutorial, we're going to learn how to use the Pyramid framework in Python. It is an open source web development framework which uses the Model-View-Controller (MVC) architecture pattern and is based on Web Server Gateway Interface (WSGI). The Pyramid framework has a lot of useful add-on packages


Python for NLP: Multi-label Text Classification with Keras

Introduction This is the 19th article in my series of articles on Python for NLP. From the last few articles, we have been exploring fairly advanced NLP concepts based on deep learning techniques. In the last article, we saw how to create a text classification model trained using multiple inputs


Minimax with Alpha-Beta Pruning in Python

Introduction Way back in the late 1920s John Von Neumann established the main problem in game theory that has remained relevant still today: Players s1, s2, ..., sn are playing a given game G. Which moves should player sm play to achieve the best possible outcome? Shortly