Scikit-Learn and TensorFlow Machine Learning Practical Guide Chapter 9 Start and Run TensorFlow

Chapter 9 Start and Run TensorFlow Source: ApacheCN Translation Project for Sklearn and TensorFlow Machine Learning Practical Guide Translator: @akonwang @WilsonQu Proofreading: @Lisanaaa @Flydragon TensorFlow is a powerful open source software library for numerical computing, especially for fine-tuning of large-scale machine ...

Posted by banzaimonkey on Thu, 16 May 2019 23:38:56 -0700

How do Spring Boot 2.X add interceptors?

Recently, a project has been built using SpringBoot 2.X. Most of the interfaces need login checking, so we intend to use annotation + interceptor to implement it, and record the implementation process here.   First, the principle of implementation 1. Customize a comment @NeedLogin and add it to the interface method or class method if the ...

Posted by 0p3n_p0rT on Thu, 16 May 2019 19:12:35 -0700

H264 Video Transmission, Codec--RTP/RTCP/RTSP Protocol Data Transfer Based on UDP or TCP

In a simple sentence: RTSP initiation/termination control streaming media, RTP transmission streaming media data, RTCP control and synchronization of RTP data. Typically, the RTSP protocol uses TCP protocol to transmit instructions to control streaming media, and the RTP/RTCP protocol uses UDP mode to transmit instructions.But ...

Posted by kiss_FM on Thu, 16 May 2019 16:50:22 -0700

Move a small bench to see SDWebImage source code parsing (2)

4>SDWebImageDownloader SDWebImageDownloader is a singleton that manages picture downloads and makes some global configurations.The following: 1). Set the maximum number of concurrencies, the default download time of 15 seconds, whether to compress pictures and download order, etc. 2). Set the request header information for the operation, res ...

Posted by RockRunner on Thu, 16 May 2019 15:57:25 -0700

Those things about Spring Ioc

1. Spring IoC container 1.1 Spring BeanFactory container package com.tutorialspoint; import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.xml.XmlBeanFactory; import org.springframework.core.io.ClassPathResource; public class MainApp { public static void main(String[] args) { XmlBeanFac ...

Posted by jbol on Thu, 16 May 2019 15:52:24 -0700

python imblearn toolbox to solve data imbalance problems —— joint sampling, integrated sampling, other details

1. Combination of over-and under-sampling The main solution is to generate noise samples in the SMOTE algorithm, and the solution is to clean the space resulting from over-sampling. The main idea is to use SMOTE for up-sampling first, and then get one by Tomek's link or edited nearest-neighbours method. The corresponding funct ...

Posted by tomkleijkers on Thu, 16 May 2019 00:53:06 -0700

SpringBoot(2): Integrating thymeleaf

1. Introduction to thymeleaf Simply put, Thymeleaf is a template engine similar to Velocity and FreeMarker that can complete quan instead of JSP.Compared to other template engines, it has three very attractive features: 1.Thymeleaf works in both networked and networked environments, i.e. it allows artists to view static page effects in a brow ...

Posted by nsr500rossi on Wed, 15 May 2019 18:58:37 -0700

Getting Started with Hibernate (4) - Query

1. Hibernate Query 1. Classification of Hibernate retrieval methods OID retrieval: based on primary key query, get/load Object Navigation Retrieval: Get its associated objects from one object. [Key] Category category = session.get(Category.class, 1);Set<Product> products = category.getProducts(); HQL Retrieval: HQL,Hibernate Query ...

Posted by wrwilson on Wed, 15 May 2019 18:28:06 -0700

Summary of this week (file upload, download, mail)

File upload 1. Upload Form Restrictions method="post" enctype="multipart/form-data" File form entries need to be added to the form: <input type="file" name="xxx"/> <h3>${msg }</h3> <form action="xxx" method="post" enctype="multipart/form-data"> //User name; <input type="text" nam ...

Posted by ironman on Wed, 15 May 2019 14:38:58 -0700

Apache activeMQ message queue

Introduction to ActiveMQ ActiveMQ is Apache's most popular and powerful open source message bus. ActiveMQ is a JMS Provider implementation that fully supports JMS 1.1 and J2EE 1.4 specifications JMS: Java Message Service java Message Service ActiveMQ: Implementing JMS Specification JMS only gives the interface, the concrete implementation is co ...

Posted by lill77 on Wed, 15 May 2019 02:31:40 -0700