Personal rank algorithm based on random walk

The personal rank algorithm based on random walk evolved from Google's pageRank algorithm, which uses less, so to speak, less. As for the pageRank algorithm, I post a blog that I think is well written here pageRank algorithm reference 1. Introduction to personal rank algorithm: The data set is randomly divided into training set ...

Added by elementaluk on Fri, 06 Dec 2019 05:00:51 +0200

Tensorflow multithreaded input data processing framework -- queues and multithreading

Reference books TensorFlow: a practical Google deep learning framework (version 2) For queues, the operations to modify the queue status are Enqueue, EnqueueMany, and Dequeue. The following program shows how to use these functions to operate a queue. #!/usr/bin/env python # -*- coding: UTF-8 -*- # coding=utf-8 """ @author: Li Tian @contact ...

Added by john_nyc on Thu, 05 Dec 2019 07:04:18 +0200

js downloads the picture through the blob class file object, and modifies the saved name of the picture (compatible writing method)

Question: download pictures through a tag, only Google and Firefox support it When downloading pictures through iframe, the names of pictures cannot be modified. Solution: 1. Because the image address is cross domain, it must be converted to base64 data stream first 2. Then convert base64 to blob object 3. Then determine ...

Added by Tryweryn on Wed, 04 Dec 2019 02:07:33 +0200

Collection of annotations and AOP implementation logs

The background is: the project is a distributed project deployed with spring cloud eureka service system, which is separated before and after, and the front-end node s directly call each service interface. The principle is to start and end the log collection of recording request, response and operation information in the handl ...

Added by aleksandra on Wed, 27 Nov 2019 18:36:19 +0200

C + + essay Nuget packaging

First, prepare all the compiled packages to a folder Like this Next, create a new text document with the suffix. nuspec Fill in content <?xml version="1.0"?> <package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> <metadata> <!-- The unique identification number of the package, which is also ...

Added by tom_b on Mon, 25 Nov 2019 22:51:15 +0200

The consequence of MySQL sharing data and redo

Source of problem The company's database product architecture is changing recently. After the tester down loads a physical machine of a distributed storage node, MySQL will be dispatched to other nodes by default. However, during the scheduling process, it was found that MySQL could not be started, so a screenshot was sent: problem analysis T ...

Added by cainfool on Sun, 24 Nov 2019 20:18:37 +0200

grpc - use golang to take you through a set of RPC services

Next, PHP is used as the client to call the server of golang. Install the grpc go plugin The grpc PHP plugin can help us to automatically generate the client stub class library (equivalent to the API file), which is convenient for us to introduce and call directly. Otherwise, it is not convenient to only generate the entity class of service / r ...

Added by starphp on Sat, 09 Nov 2019 00:01:02 +0200

Introduction to DAPP development - Aha! scatterJS!

What is Scatter scatter is a very useful wallet handle on the desktop. There was a plug-in of Google browser before, but the plug-in has stopped maintenance. It has a bug. It's a big bug (there was a problem in the previous development, it's a plug-in problem for half a day, which is too bad). So it's recommended to ...

Added by CerealBH on Fri, 08 Nov 2019 19:24:31 +0200

Go micro + PHP + consumer

First we build a service with go micro. (for the use of go micro, please refer to the official instance or document) //Create a new microservice micro new --type "srv" user-srv   Define our service. Here we define two rpc services, Register and User 1 // modify proto 2 syntax = "proto3"; 3 ​ 4 package go.micro.srv.user; 5 ​ 6 servi ...

Added by 1337hovie on Thu, 07 Nov 2019 08:41:22 +0200

Python crawler crawling pictures

First of all, I declare that my crawler is on the unbuttu16.04 system, mainly referring to the following BLOGhttps://blog.csdn.net/qq_40774175/article/details/81273198 On this basis, some modifications have been made to improve it. 1. You need to know Python's requests library. You can get the original information of t ...

Added by ghe on Thu, 07 Nov 2019 00:52:18 +0200