Docker installs Logstash and connects to Elasticsearch
1. Pull the Logstash image (keep consistent with ES version)
docker pull logstash:7.5.1
2. Start the container
docker run --name logstash -d -p 5044:5044 --net esnet 8b94897b4254
The network set by -- net in the command should be consistent with ES and kibana
3. Modify Logstash configuration file
// 0.0.0.0: allow any IP access
http.host: "0.0 ...
Posted by olivarespablo on Wed, 19 Feb 2020 08:42:59 -0800
linux foundation week 6
1. Self built yum warehouse, network source and local source respectively
Steps to create yum warehouse: 1) mount Centos system CD to a directory or copy network resources to a directory
2) find the repodata directory, which is located in the upper directory of yum warehouse address (network sharing is required if creating a network warehouse ...
Posted by Nay on Wed, 19 Feb 2020 07:36:39 -0800
Learning notes of "hands on deep learning"
Text preprocessing
Common four steps:
Read in text
participle
Build a dictionary to map each word to a unique index
Convert the text from the sequence of words to the sequence of indexes to facilitate the input of models
import collections
import re
def read_time_machine():
with open('/ho ...
Posted by prasitc2005 on Wed, 19 Feb 2020 07:27:36 -0800
Network commands in linux
write
explain
Command name: write
Command path / usr/bin/write
Execute permission: all users
Function Description: send information to the user, and save with Ctrl+D
grammar
Write < user name >
Example
# Send a message to tenentity
write eternity
[root@izm5e2q95pbpe1hh0kkwoiz ~]# write eternity
write: eternity is logged in more than o ...
Posted by pdpullmn612 on Wed, 19 Feb 2020 04:49:04 -0800
Hands on deep learning (PyTorch Implementation) - LeNet model
LeNet model
1. LeNet model
2. PyTorch implementation
2.1 model implementation
2.2 data acquisition and training
1. LeNet model
LeNet is divided into convolution layer block and full connection layer block. We will introduce the two modules respectively.
The basic unit in the convolution layer ...
Posted by robmarston on Wed, 19 Feb 2020 01:30:30 -0800
kubernetes component - kubectl command line tool management
Main points:1. Overview of kubectl2. kubectl syntax3. kubectl Management Commands4. Similarities and differences between create and apply commands5. Example demonstration1. Overview of kubectl
Kubectl is a command line interface for running commands against the Kubernetes cluster.The configuration file for Kubectl is in the $HOME/.kube directo ...
Posted by Zay on Tue, 18 Feb 2020 08:18:40 -0800
Task 04: machine translation and related technologies; attention mechanism and Seq2seq model; Transformer
Task 04: machine translation and related technologies; attention mechanism and Seq2seq model; Transformer
1. Machine translation and related technologies
Machine translation and datasets
Machine translation (MT): automatic translation of a text from one language to another. Solving this problem wi ...
Posted by TheTitans on Tue, 18 Feb 2020 00:11:05 -0800
MACHINE LEARNING [Zhou Zhihua Edition - "watermelon book" - Notes] DAY14 probability graph model
14.1 hidden Markov model
HMM and Viterbi algorithm
Hidden Markov model predicts hidden sequence by given observation sequence. It is often used to mine hidden information from the surface information of sequence, such as speech recognition and handwriting recognition. In principle, HMM can also perform ...
Posted by PhpMachine on Mon, 17 Feb 2020 18:57:19 -0800
L22 Data Augmentation Data Enhancement
Image augmentation
As mentioned in Section 5.6 (Deep Convolution Neural Network), large-scale datasets are the prerequisite for successful application of deep neural networks.Image augmentation technology enlarges the size of training dataset by making a series of random changes to the training image ...
Posted by scoman on Mon, 17 Feb 2020 18:16:46 -0800
Glide decryption
Glide is now the most widely used image loading framework, and has always wanted to work on it. Every time, it is deeply involved in it... This time, I will make a thorough analysis of it and try to cover the whole process and its details.
This article's Glide parsing is based on the latest version 4.1 ...
Posted by opalelement on Mon, 17 Feb 2020 02:08:51 -0800