Learning: implementation of genetic algorithm and python deap package genetic algorithm

1, Genetic algorithm An optimal solution search algorithm is designed based on the concept of species genetics in nature. Genetic algorithm takes all individuals in a species as objects, and uses randomization technology to search an encoded parameter space efficiently. Among them, selection, crossover and mutation constitute the genetic ...

Added by adammc on Fri, 19 Nov 2021 08:00:02 +0200

[machine learning experiment 4] naive Bayesian algorithm

catalogue 1, Naive Bayesian concept 1.1 conditional probability 1.2 full probability formula 1.3 Bayesian inference   2, Simple application examples of Bayesian classifier 3, Spam filtering using naive Bayes   3.1 cut the text into vectors, store them in the list, and classify and label the vocabulary vectors 3.2. Create a v ...

Added by adamh91 on Wed, 17 Nov 2021 08:37:51 +0200

Introduction and practice of xgboost

reference resources: Finally write the summary of XGBoost! XGBoost of machine learning algorithm and its automatic parameter adjustment reference resources: How does xgboost handle missing values [fundamentals of machine learning] comparison and parameter adjustment of XGBoost, LightGBM and CatBoost algorithms introduce In 2016, an extensibl ...

Added by tommy445 on Wed, 17 Nov 2021 07:19:30 +0200

Credit scoring card (python)

catalogue Import dataMissing and outlier handlingFeature visualizationfeature selection model trainingModel evaluationModel result transfer scoreCalculate user total score 1, Import data Reply to key words in official account python wind control model: learning materials #Import module import pandas as pd import numpy as np from scipy impo ...

Added by shainh on Tue, 16 Nov 2021 13:21:57 +0200

Teach you how to build a classification neural network with Keras

Abstract: This paper mainly realizes a case of classification learning through Keras, and introduces MNIST handwriting recognition data set in detail. This article is shared from Huawei cloud community< [Python artificial intelligence] XVII. Case study of Keras building classification neural network and MNIST digital image >, by eastmo ...

Added by Leppy on Fri, 12 Nov 2021 09:54:12 +0200

Analysis of students' grades by BP neural network model in R language

Original link: http://tecdat.cn/?p=19936 Original source: Tuo end data tribal official accountIn this tutorial, you will learn how to create a neural network model in R.Neural network (or artificial neural network) has the ability to learn through samples. Artificial neural network is an information processing model inspired by biological neuro ...

Added by member on Thu, 11 Nov 2021 03:09:56 +0200

Broadcasting and scientific operation of 03 tensor

Broadcasting and scientific operation of 03 tensor 1, Broadcast properties of tensors Tensors have the same broadcast characteristics as Numpy, that is, tensors of different shapes are allowed to operate 1. Tensor calculation of the same shape In fact, the broadcast property is also used in the operation between tensors with the same shape ...

Added by SpectralDesign.Net on Mon, 08 Nov 2021 10:47:37 +0200

Tensorflow learning 2 --- introduction to basic knowledge of tensorflow 2

Introduction to basic concepts Artificial intelligence: simple understanding is to make machines have human thinking and consciousness Three schools of artificial intelligence: Behaviorism: constructing perception control system based on CyberneticsSymbolism: Based on arithmetic logic expression, to solve a problem, first describe the pro ...

Added by logging on Mon, 08 Nov 2021 01:12:22 +0200

[source code analysis] how PyTorch uses GPU

[source code analysis] how PyTorch uses GPU catalogue[source code analysis] how PyTorch uses GPU0x00 summary0x01 problem0x02 move model to GPU2.1 cuda operation2.2 Module2.3 movement2.3.1 example2.3.2 operation2.3.3 _apply method2.4 summary0x03 calling function on GPU3.1 CUDA Programming Model Foundation3.1.1 heterogeneous model3.1.2 parallel t ...

Added by cli_man on Sun, 07 Nov 2021 02:32:38 +0200

Single layer perceptron

Single layer perceptron Biological neuron The structure of nerve cells can be roughly divided into dendrites, synapses, cell bodies and axons. A single nerve cell can be regarded as a machine with only two states - yes when excited and no when not excited. The state of nerve cells depends on the amount of input signals received from other ner ...

Added by ph3n0m on Fri, 05 Nov 2021 23:22:05 +0200