tf self coding matrix information extraction
For numbers, transform them into matrix form and extract matrix information
It is divided into small blocks. Each block represents whether the position of the number is 1 or 0. The matrix information is extracted through the self coding network
[6538]
[[0. 0. 0. 0. 1. 1. 1. 1. 0. 0. 0. 0. 1. 1. 1. 1.]
[0. 0. 0. 0. 1. 1. 1. 1. 0. 0. 0. 0. 1 ...
Posted by majiclab on Tue, 31 Dec 2019 23:20:15 +0100
KeepAlive + VIP configuration High Availability Presto master active / standby cluster
1, Background
This paper mainly introduces the implementation of presto with keepalive
Experimental environment: CentOS 6 64 bit
2, Experimental steps
1. Software installation
Install keepalive package
sudo yum install -y keepalived
presto deployment and configuration are omitted, assuming that the process has been ...
Posted by moriman on Mon, 30 Dec 2019 18:07:45 +0100
The PowerDesigner view displays Comment comments
Hyperlink of the original text, blogger address: http://blog.csdn.net/difffate. https://blog.csdn.net/difffate/article/details/77945239
The default columns displayed by PowerDesigner are Name and type, as shown below:
Now you need to show the Comment column to make the ER diagram clearer. However, checking Comment in PowerD ...
Posted by dig412 on Sat, 28 Dec 2019 19:50:58 +0100
Deep residual shrinkage network: implementation of image classification code
In fact, the deep residual shrinkage network is a general deep feature learning method, which is the integration of deep residual network ResNet, attention mechanism and soft thresholding, and can be used for image recognition tasks. In this paper, TensorFlow 1.0 and TFLearn 0.3.2 are used to program image classification. CIFAR-10 is used as im ...
Posted by Trek15 on Thu, 26 Dec 2019 14:51:31 +0100
Simple blockchain demo implemented by golang
The principle will not be introduced. You can see another one of mine Deeply understand the operation principle of blockchain through an App Demo demonstration The code is only the simplest. It simply implements the definition of a block and the connection between blocks. There is no p2p, incentive or consensus.
Important da ...
Posted by Blekk on Tue, 24 Dec 2019 20:10:09 +0100
How to obtain the current GPS position programmatically in Android?
I need to use GPS programmatically to get the current position. How can I achieve it?
#1 building
I created a small application with step-by-step instructions to get the GPS coordinates of the current location.
Complete sample source code On Android " Get current location coordinate, city name .
See how it works:
What w ...
Posted by Angerslave on Tue, 24 Dec 2019 08:01:33 +0100
Understand the prevention of breaking the singleton class pattern thoroughly
In Sharing Learning from Excellent Lessons, we explored three main ways to destroy the properties of a single case and how to prevent it.Share it for your reference.
We are accustomed to using the singleton design pattern in our applications when needed.It is well known that in a single design pattern, we can only create one instance and acces ...
Posted by Ads on Mon, 23 Dec 2019 21:23:29 +0100
Tencent cloud tke container service adjusts kubelet working directory
Tencent cloud uses the system disk as the default kubelet working directory in / var/lib/kubelet. The system disk is generally not large enough and inconvenient for expansion, so you need to modify the kubelet working directory. The general process is as follows:
Preparation
Expulsion node
Modify configuration
Restart service
Unseali ...
Posted by Z3RO21 on Mon, 23 Dec 2019 15:06:56 +0100
Centos6 installation CDH5.15.1 most detailed Version-1
Here are the three virtual machines installed before, as follows:
192.168.201.81 hadoop-1
192.168.201.82 hadoop-2
192.168.201.83 hadoop-3
preparation:
Configure static IP
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:0C:29:AF:65:27
TYPE=Ethernet
UUID=269569e1-f888-4f73-b2f7-7af45225b572
ONBOOT=yes
NM_CONT ...
Posted by delphi123 on Sun, 22 Dec 2019 22:57:07 +0100
Advanced Http protocol
What is http protocol
http protocol: Format Specification for data transmission between browser client and server
Tools for viewing the http protocol
1) Use Firefox's firebug plug-in (right click > firebug > Network)
2) Use Google's "censorship element"
http protocol content
Request (browser->Server)
G ...
Posted by SkyRanger on Sat, 21 Dec 2019 16:03:15 +0100