[recommendation system] research and implementation of personalized recommendation system

1, Search engine and recommendation system         From the perspective of information acquisition, search and recommendation are two main means for users to obtain information. Both search and recommendation coexist on the Internet and offline. Search is an active behavior, and the needs of users are very clear. In the res ...

Posted by thomasgrant on Sun, 03 Oct 2021 15:52:17 -0700

Principle and implementation of knn algorithm

Lei Zhang For the implementation of python code of basic machine learning algorithm, please refer to: zlxy9892/ml_code 1 Principle knn is a very basic algorithm in the field of machine learning, which can solve classification or regression problems. If it is just beginning to learn machine learning, knn is a very good entry choice. It ...

Posted by maxkbr on Sun, 03 Oct 2021 15:06:37 -0700

[watermelon book reading notes] 04 decision tree part I

Chapter IV decision tree 1 basic process 2 division selection With the continuous division process, we hope that the samples contained in the branch nodes of the decision tree belong to the same category as much as possible, that is, the "purity" of the nodes is getting higher and higher. 2.1 information gain 2.1.1 what is info ...

Posted by thunder708 on Sat, 02 Oct 2021 19:02:22 -0700

Worth collecting! Anaconda: a necessary manual for beginners!

introduction Anaconda is a management tool for integrating packages and environments, dedicated to simplifying software management systems and deployments. In addition, we can also use conda instructions to easily create, activate, delete, exit and configure the virtual environment. pip is a python package management tool, which provides the f ...

Posted by duklaprague on Sat, 02 Oct 2021 18:42:12 -0700

[Python tutorial summary] summary of relevant operations of the list (related functions, interception, splicing, extension of the list, multiplication, with the combination of some random)

List is one of the most basic python storage methods. Different types of content can be stored through the list, such as string, number, list, dictionary, etc., which can be used as the element value of the list The list is in square brackets     [    ]      Contained, different from tuples and dictionaries, ...

Posted by madsm on Sat, 02 Oct 2021 17:00:41 -0700

Day 24 | day 28 learn PyQt5, QTableView of advanced controls

Advanced component does not mean how "advanced" the component is, but means powerful. If you want to realize a fully functional table function, it may take several days to write a lot of code. You can call the wx.Grid component directly and do it in three or two times, so this component is very advanced. Common advanced components of ...

Posted by grandadevans on Sat, 02 Oct 2021 15:54:11 -0700

python style class design

This article is the learning notes of Chapter 9 of fluent python. Object representation Two functions to get the string representation of an object: repr() For developers str() User oriented Need to be implemented separately__ repr__ And__ str__ Two methods. An example: vector Here is an example of vector in Mathematics: from array import ...

Posted by sgs on Sat, 02 Oct 2021 15:33:58 -0700

JumpServer open source fortress machine deployment (source code)

preface JumpServer is the first open source fortress machine in the world. It uses GNU GPL v2.0 open source protocol. It is an operation and maintenance security audit system conforming to 4A specification. JumpServer is developed in Python, follows the Web 2.0 specification, and is equipped with the industry-leading Web Terminal scheme, ...

Posted by austrainer on Sat, 02 Oct 2021 13:52:04 -0700

python requests crawler -- crawling for Kai Fu Li's blog information (including some javascript information)

         Today is the second day of the National Day holiday. I've been playing for a day. Today, I'll sort out the ideas of data analysis homework written in the previous two days and type the manuscript for the experimental report. It is a reference for the little partners who are interested in reptiles ...

Posted by dc277 on Sat, 02 Oct 2021 11:33:29 -0700

Data analysis of python (matplotlib)

The concept of data analysis: count and sort out a large amount of data, draw conclusions, and provide data support for subsequent decision-making. Why learn matplotlib? 1. Be able to visualize the data and present it more intuitively 2. Make the data more objective and persuasive I. Chinese display from pylab import mpl mpl.rcParams["font ...

Posted by stefharley on Fri, 01 Oct 2021 16:16:54 -0700