Redis: from cluster building to cache function

2.Redis implements caching In the interface service, if the database is queried every time, it will inevitably cause great concurrent pressure on the database. Therefore, it is necessary to add cache for the interface. Redis is selected as the cache technology, and redis cluster is used. Spring data r ...

Posted on Sun, 16 Feb 2020 02:56:21 -0500 by deregular

kali on the small operation of LAN

Recently, my father always watches TV dramas on the front page (no money, no advertisement, nothing happened during the epidemic), but he usually goes back to a little more at night, which is not good for his health. My mother said that my father went to bed too late and wanted him to go to bed earlier, ...

Posted on Sun, 16 Feb 2020 02:35:44 -0500 by theqase

Linux SSH port security settings (server setup)

I installed cent os7 on my old DELL computer as a normal development server. In the home LAN, we still need to pay attention to the security. Like the online server, if we modify the common port, we can greatly reduce the risk of malicious violent solution. After all, after the port is no longer a common port, the general viole ...

Posted on Sat, 15 Feb 2020 14:36:45 -0500 by mega77

Kubernetes command line tool--kubectl management

An 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 directory.We can specify a kubeconfig file in another location by setting the KUBECONFIG environment variable or the command parameter, kubeconfig. kubectl syntax 1. Run the com ...

Posted on Sat, 15 Feb 2020 13:10:16 -0500 by wrapper

[hands on deep learning note] day02 "fashion MNIST data set & two methods of softmax implementation

softmax regression 1, Get fashion MNIST training set and read data Here we will use the torch vision package, which serves the PyTorch deep learning framework and is mainly used to build the computer vision model.-Torch vision is mainly composed of the following parts: torchvision.datasets: some fu ...

Posted on Fri, 14 Feb 2020 10:55:13 -0500 by tjhilder

Implementation of linear regression model in Python task 1

Linear regression belongs to regression model, i.e. it assumes that the output and input of the model are time-linear. First, import dependencies import torch from torch import nn import numpy as np torch.manual_seed(1) print(torch.__version__) torch.set_default_tensor_type('torch.FloatTensor') G ...

Posted on Fri, 14 Feb 2020 10:32:25 -0500 by skyriders

Datawhale "hands on deep learning"

Hands on deep learning Day 1 linear regression Softmax and classification model Multilayer perceptron Basic knowledge code implementation Day2 Text preprocessing General steps Code example Language model brief introduction n meta syntax Language model data set Read data set Build character i ...

Posted on Fri, 14 Feb 2020 10:03:29 -0500 by webguy262

JAVA data structure -- adjacency table of graph storage structure

The data structure series is a note that I have learned to make, which will be continuously updated. The source code is shared in github: data structure Of course, you can also get it from the following code snippet Note: github code update will be delayed. Pay attention not to get lost This article int ...

Posted on Fri, 14 Feb 2020 09:17:18 -0500 by furotte

Hands on deep learning: linear regression

linear regression The main contents include: Basic elements of linear regression The realization of linear regression model from zero Simple implementation of linear regression model using pytorch Basic elements of linear regression Model For the sake of simplicity, here we assume that the price ...

Posted on Fri, 14 Feb 2020 09:08:06 -0500 by WDPEjoe

The basis of cyclic neural network for hands-on deep learning

Cyclic neural network This section introduces the cyclic neural network, and the figure below shows how to implement the language model based on the cyclic neural network. Its purpose is to predict the next character of the sequence based on the current input and the past input sequence. A hidden vari ...

Posted on Fri, 14 Feb 2020 06:45:51 -0500 by Corpheous