Tag:function

  • Scikit flow series guidance of tensorflow: Part 2

    Time:2020-4-1

    Original address: here In this part, we will continue to go deep and try to build a multi-layer fully connected neural network, and customize the network model and try to convolute the network on this basis. Multi-layer fully connected neural network Of course, there are not many other linear / logistic fit frameworks. A basic […]

  • Implementation of JavaScript a simple promise

    Time:2020-4-1

    Original address of this blog Most of us use it in the development processpromiseYou must be rightpromiseToday we are going to implement a simplepromiseIf there is any difference in the effect, correct it. Overall structure Let’s sort out the overall results first, so as to facilitate the subsequent operation class MyPromise { constructor(fn){ } resolve(){ […]

  • From zero, promise from understanding to implementation

    Time:2020-4-1

    PromiseIs an object that represents the final completion or failure of an asynchronous operation. Now it has becomeJavaScriptAn important solution of asynchronous programming in. Before we get to know it further, let’s understand some basic concepts. In addition, you can see the complete source code here, welcomeStarOh It is. Synchronous and asynchronous We often talk […]

  • React + Redux basic usage

    Time:2020-4-1

    Purpose of using Redux In react, the communication between components is very troublesome, so we use Redux to communicate with the third party. By storing the data in the store, we can realize the fast communication between components Redux Foundation 1. core State: normal object Action: JS common object, used to describe what happened and […]

  • WordPress Options tab function

    Time:2020-4-1

    Keyword Description: the function tag option can be set by the default blog user Last time, we talked about WordPress user management. Now let’s look at the setting of options. In the previous tutorial 7, we briefly mentioned the function of each sub label under the option label. Let’s introduce it in detail. routineGeneral options […]

  • Test Phoenix WebSockets by Alex Jensen

    Time:2020-3-31

    original text Recently, I published an article on how to create a game hall using Phoenix’s WebSockets. Our team attaches great importance to testing, so today I will introduce how to test the websocket code we wrote before Preparation Before we start, we need to runmix testFirst, delete some default tests and solve the small […]

  • Dynamic graphics javascript: Hoisting

    Time:2020-3-31

    background JS due to the defects of language design (insufficient time limit?) There are some magical features. Beginners may be full of black question marks when they encounter them. Today, I’d like to introduce one of them: hoisting. If you are a JS novice, sometimes you will encounterundefinedperhapsReferenceErrorsWrong, and claiming ascension may be the culprit. […]

  • Machine learning notes (1)

    Time:2020-3-31

      1、 Supervised learning and unsupervised learning   1. In supervised learning, data set is composed of feature group and tag, which aims to train the machine to accurately predict tag value. Such as: house price prediction, tumor determination, spam determination. 2. In unsupervised learning, no manual explanation, no answer and no label are given […]

  • Yes, GitHub app is finally Online

    Time:2020-3-31

    Yes, the app of the world’s largest programmer social network is officially launched today,As early as the GitHub 2019 developer conference, the client to be deliveredAt that time, we need to apply. I applied for it with great interest, and then I waited. It was April and may, when the cauliflower was cold. Today I […]

  • $digest() and $apply() in angularjs

    Time:2020-3-30

    1. When do I need to call$apply()? Angularjs only cares aboutIn the execution context of angularjsChanges in the data model (for example, the code that changes the data$apply()Inside.Angularjs built-in instructionsIt will also trigger automatically$digestLoop, so any changes to the data model will also be reflected in the view. However, if you change oneNot in angularjs […]

  • C language note 05 “judgment & cycle & function”

    Time:2020-3-30

    judge C languageNonzeroandNot emptyThe value of is assumed to betrue, putZeroornullPresumed to befalse。 Here is the general form of a typical judgment structure in most programming languages: Judgement sentence C language provides the following types of judgment statements. Click on the link to see the details of each type. Sentence describe If statement OneIf statementConsists […]

  • How to understand AOP aspect oriented programming

    Time:2020-3-30

    start Today I’d like to talk about AOP: the idea of aspect oriented programming. Before we start talking, let’s start with the development of programming ideas. The development of programming thought: 1. Pop programming First of all, we should all know what is pop programming, which is process oriented programming. There is no introduction to […]