Script Home
  • Python machine learning theory and real battle (two) decision tree

    +Read more
    Author:zyq / Release:2018-1-19 / category:python / crowd0 views time+ / sofa /
    decision tree is supervised machine learning method. There is a scene in the movie "shameless bastard" game, the pub has several people to play 20 games, the rules of the game is a fan out of a target of the card (a person, also may be the thing, and the Riddler) questions, many people can only ...
  • Python three method instance code for traversing file directories

    +Read more
    Author:zyq / Release:2018-1-19 / category:python / crowd0 views time+ / sofa /
    example code is the main implementation of the python file directory operation, there are three methods, the specific code is as follows. #coding:utf-8 # method 1: import OS def visitDir recursive directory traversal (path): Li = os.listdir (path) for P in li: pathname = os.path.join (path, P)...
  • Analysis of the method of collision detection by JS

    +Read more
    Author:zyq / Release:2018-1-19 / category:css, JavaScript, Script / crowd0 views time+ / sofa /
    this article describes the method of collision detection by JS. Share to you for your reference, as follows: is a simple example of collision detection, collision detection is div1 and div2, when div1 met div2 div2, change the color, see figure 2018019145517 "alt=" see Figure: JS javascri...
  • Case analysis of Python re module findall () function

    +Read more
    Author:zyq / Release:2018-1-19 / category:python / crowd0 views time+ / sofa /
    This paper is a study of re (findall) function module related content, first look at the example code: > > > import re > > > s = "adfad asdfasdf asdfas asdfawef ASD adsfas > > > reObj1 = re.compile ((w +) '(s+w+) > > >'); reObj1.findall (s) [('adfad asdfasdf...

0Wide search 1Web Design 2Script 3Network Programming 4Database 5Operating system 6Network Security