Easy to understand Apriori algorithm
Apriori algorithm
1, Introduction to Apriori algorithm
Apriori algorithm is the first association rule mining algorithm and the most classical algorithm. It uses the iterative method of layer by layer search to find the relationship of itemsets in the database to form rules. The process consists of connection (matrix like operation) and pruni ...
Added by Richardtagger on Fri, 22 Oct 2021 11:45:22 +0300
TensorFlow2 implements matrix decomposition in collaborative filtering algorithm (the first one is based on TS2 version)
Objectives:
TensorFlow2 is used to realize the matrix decomposition in collaborative filtering algorithm. The vast majority of those found online are copied based on a template and are based on TensorFlow1. Therefore, I do it myself and implement it with TensorFlow2.
I wonder why TensorFlow2 is not implemented for us. In Spark, just call spar ...
Added by mega77 on Mon, 18 Oct 2021 21:11:44 +0300
Machine learning sklearn ---- first knowledge of KMeans
summary
KMeans is an unsupervised learning method. He is a classification algorithm. It is used to explore the original data and classify the samples with the same attributes in the original data. This article only talks about the simple use of KMeans. For the content about the evaluation results, see my next article.
Several concepts in ...
Added by leafface on Sat, 16 Oct 2021 08:32:10 +0300
Detailed explanation of target detection using paddleX
preface
Using Baidu's open source paddleX tool, we can easily and quickly train a deep network model of target detection, image classification, instance segmentation and semantic segmentation using our own labeled data. This paper mainly records how to use pddleX to train a simple ppyolo for detecting cats and dogs in the whole process_ Tiny m ...
Added by 01chris on Wed, 13 Oct 2021 21:42:36 +0300
Machine learning -- a simple introduction to KNN algorithm
Level 1: manually implement simple kNN algorithm
1 Introduction to KNN algorithm
1.1 algorithm flow of KNN algorithm
kNN algorithm is actually the simplest of many machine learning algorithms, because the idea of the algorithm can be summarized in eight words: "he who is near is red, and he who is near is black".
Suppose there ...
Added by Phantazm on Wed, 13 Oct 2021 04:09:27 +0300
AI project 4: influence in Bayes nets
Official website project introduction Source framework Download
1. Practice introduction
In this project, we will implement the inference algorithm of Bayesian network, especially variable elimination and perfect information value calculation. These reasoning algorithms will be able to infer the existence of invisible particles and ghosts. A ...
Added by twomt on Tue, 12 Oct 2021 05:17:26 +0300
python_ Machine learning - Data Science Library_ DAY03
1. numpy Foundation
(1). numpy create array (matrix)
import numpy as np a=np.array([1,2,3,4,5]) b=np.array(range(1,6)) c=np.arange(1,6) Usage of np.orange: Orange ([start,] stop [, step,], dtype = none)
#Class name of array
a=np.array([1,2,3,4,5])
print(type(a))
Operation results:
numpy.ndarray
#Type of array
print(a.dtype)
Operation re ...
Added by bhinkel on Sun, 10 Oct 2021 12:28:17 +0300
SMOTE of oversampling algorithm
abstract
SMOTE is a synthetic data algorithm for comprehensive sampling, which is used to solve the unbalanced class problem and synthesize data by combining a few over sampling classes and most under sampling classes. This article will take Nitesh V. Chawla(2002) This paper expounds the core idea of SMOTE and its naive algorithm, compares the ...
Added by jakebur01 on Tue, 05 Oct 2021 00:52:19 +0300
python [machine learning practice] K-proximity algorithm (KNN)
What is K-nearest neighbor algorithm?
K-nearest neighbor algorithm (KNN) is one of the classification algorithms. KNN classifies new data by calculating the distance between new data and data points of different categories in historical sample data. Simply put, it is to classify and predict the new data through the k data points closest to the ...
Added by Karve on Mon, 04 Oct 2021 02:20:18 +0300
Principle and implementation of [machine learning] k-nearest neighbor algorithm
Article catalog
Catalogue of series articlespreface1, What is the k-nearest neighbor algorithm?2, Use steps
1. Import and storage2. Read in datasummary
preface
With the continuous development of artificial intelligence, machine learning technology is becoming more and more important. Many people have started learning machine lea ...
Added by schilly on Sun, 03 Oct 2021 22:20:09 +0300