Nonlinear support vector machine

summary SVM was first proposed by Vladimir N. Vapnik and Alexey Ya. Chervonenkis in 1963. The current version (soft margin) was proposed by Corinna Cortes and Vapnik in 1993 and published in 1995. Before the emergence of deep learning (2012), SVM was considered as the most successful and best performing algorithm in machine learning in rec ...

Posted on Sun, 28 Nov 2021 16:59:43 -0500 by czukoman20

[Python 3] [fragmented ideas] set type, set and frozenset

1. Preface This article mainly records the usage of class set([iterable]) and class frozenset([iterable]) constructorsThe main reason is that when using Python 3, you often check the usage of sets. However, the online data are scattered and there are no examples, so you can sort it out yourself to facilitate quick reference when using Pyth ...

Posted on Sun, 28 Nov 2021 16:27:34 -0500 by mike0193

[python basics] understand iterators and generators

1. Iterator 1.1 use of iterators The iterator object is accessed from the first element of the collection until all the elements are accessed. Iterators can only move forward, not backward. Iterators have two basic methods: iter() and next(). String, list, or tuple objects can be used to create iterators. iter(iterable): an iterator t ...

Posted on Sun, 28 Nov 2021 15:20:13 -0500 by lizlazloz

Creating PDF documents using jsPDF

introduce In the last article Use the PDF.js library to display in PDF files, We showed how to display PDF files on an HTML canvas. In this article, we will show how to create PDF files from scratch. We will use jsPDF The library for this purpose. You can only GitHub repository Download the latest library version or download it from Official w ...

Posted on Sun, 28 Nov 2021 14:30:44 -0500 by Qense

Machine vision - Fundamentals of case analysis (basic case drawing and display)

Machine vision - Fundamentals of case analysis (I) (basic case drawing and display) 1, Theoretical analysis We mainly use opencv Python to process various images. It is a development library of computer vision and machine learning, which also integrates a large number of API s. It is also widely used in image processing. We focus on processin ...

Posted on Sun, 28 Nov 2021 13:42:57 -0500 by alivec

python modular programming (function)

Modular programming Modular programming refers to the encapsulation of programs (function encapsulation, object-oriented, file...) What is a function? Function - > function, function A function is a block of code with a specific function Function? Function is to encapsulate the code to improve the reusability of the code, ...

Posted on Sun, 28 Nov 2021 13:17:11 -0500 by wiccan8888

Machine learning naive Bayes classification food safety news

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it catalogue Article catalog preface 1, Preparatory knowledge 1. Basic concepts 2. Bayesian formula 2, Naive Bayesian principle 1. Discrimination model and generation model 2. Ba ...

Posted on Sun, 28 Nov 2021 12:25:13 -0500 by IMakeLousyCode

Make a game auxiliary script with Python and share complete programming ideas

1, Explain Description: This paper will take the 4455 Miniclip game "pet Lianliankan classic version 2" as a test case to quickly complete pairing by identifying small icons and simulating mouse clicks. It is helpful for students who are interested in learning game scripts. Operating environment: win10 / Python 3.5. Main modules: ...

Posted on Sun, 28 Nov 2021 08:07:35 -0500 by bigmichael

[machine learning practice] naive Bayes

Classification method based on Bayesian decision theory Naive Bayes Advantages: it is still effective in the case of less data, and can deal with multi category problems.Disadvantages: it is sensitive to the preparation method of input data. Applicable data type: nominal data. Use conditional probability to classify conditional proba ...

Posted on Sun, 28 Nov 2021 04:18:31 -0500 by dhydrated

Deep understanding of Python__ init_subclass__

origin When studying the source code of graphql python__ init_subclass_with_meta__ This class method attracts, and then finds another way to change the behavior of subclasses in addition to metaclasses:__ init_subclass__ Class method__ init_subclass__ Introduced from 3.6, the function is to change the behavior of subclasses without using metac ...

Posted on Sun, 28 Nov 2021 04:12:16 -0500 by cola