machine learning in action machine learning algorithm learning notes logistic regression

Logistic Regression Advantages: low computational cost, easy to understand and implement. Disadvantages: it is easy to under fit, and the classification accuracy may not be high. Applicable data types: numerical data and nominal data. Main idea: according to the existing data, the classification boundary resume regression formula is used to ...

Posted by cuboidgraphix on Tue, 11 Jan 2022 16:17:01 +0100

Traversal of graphs -- breadth first search and depth first search

Pre knowledge: related terms of graph and representation of graph Traversal of Graphs Similar to the tree data structure, we can access all nodes of the graph. The graph can be traversed by two algorithms: breadth first search (BFS) and depth first search (DFS). Graph traversal can be used to find a specific vertex or the path between two ver ...

Posted by akop on Tue, 11 Jan 2022 16:01:07 +0100

Data structure and algorithm - binary search tree and its operation and implementation, defects of binary search tree

catalogue 1, Binary search tree 2, Operation and implementation of binary search tree   1. insert data   2. Traversing binary search tree         (1). Preorder traversal         (2). Medium order traversal         (3). Postorder traversal   3. Maximum and minimu ...

Posted by prkarpi on Tue, 11 Jan 2022 15:37:07 +0100

Force deduction brush question - array 4

Yang Hui triangle Topic introduction Train of thought analysis First of all, we need to understand how the Yang Hui triangle was formed. As shown in the figure, the beginning and end numbers of each layer are 1, and the number of each remaining position is equal to the sum of the number of the corresponding position of its upper laye ...

Posted by abgoosht on Tue, 11 Jan 2022 14:37:51 +0100

Path planning algorithm -- Astar C + + implementation and display

Path planning algorithm - Astar C + + implementation and display The following are original contents. Please reprint them from famous sources. Thank you. 1. Main function main.cpp The main function mainly provides the external interface to implement the algorithm. The main process here is 1. Call MapData(mapPath) to read map data 2. ...

Posted by dpearcepng on Tue, 11 Jan 2022 14:32:15 +0100

The second day of algorithm practice in 2022 winter vacation (1.11)

** Preface: prepared by Golang leetcode Title: 162 Find peak Binary decomposition method: time complexity: O(log n), space complexity: O(1) Logic Description: When looking for the peak, because the title says that just look for one. And nums[-1] and nums[len (nums)] are expressed as negative infinity, so the following situations can be cons ...

Posted by MsAngel on Tue, 11 Jan 2022 12:47:41 +0100

Brush questions every day Day02

Question 1: Roman numerals to integers Roman numerals contain the following seven characters: I, V, X, L, C, D and M. Character value I  1 V  5 X  10 L   50 C 100 D 500 M 1000 For example, the Roman numeral 2 is written as II, which is two parallel ones. 12 is written as XII, which is X + II. 27 is written as XXVII, which is XX + V + II. Usual ...

Posted by macpaul on Tue, 11 Jan 2022 12:07:42 +0100

Machine learning algorithm series - Logistic Regression Algorithm

Background knowledge required for reading this article: logarithmic probability regression algorithm (I), conjugate gradient method, and a little programming knowledge1, Introduction   continue with a log probability regression algorithm (I), which introduces two methods to optimize the cost function of log probability regression - Gr ...

Posted by phpzone on Tue, 11 Jan 2022 07:50:23 +0100

How do self built Kubernetes clusters use Alibaba cloud CSI storage components

  Tools and Resource Center Help developers work more efficiently and provide tools and resources around the whole life cycle of developers https://developer.aliyun.com/tool?spm=a1z389.11499242.0.0.65452413o034Uw&utm_content=g_1000283979 The container storage function of Alibaba cloud container service ack is based on the Kubernetes s ...

Posted by stuartc1 on Tue, 11 Jan 2022 01:48:20 +0100

[Appendix 1 common algorithms in Java arrays] the ten sorting algorithms are illustrated and explained in detail, giving you endless aftertaste

❤ Write in front ❤ Blog home page: Hard working Naruto ❤ Series column: Java basic learning 😋 ❤ Welcome, friends, praise 👍 follow 🔎 Collection 🍔 Learning together! ❤ If there are mistakes, please correct them! 🌹 🚩 In recent java learning, I found that many basic knowledge of Java are forgotten and fuzzy. I plan to sort out all [Java] ...

Posted by Joefunkx on Mon, 10 Jan 2022 21:08:19 +0100