当前位置:网站首页>Machine Learning (2) - Machine Learning Fundamentals
Machine Learning (2) - Machine Learning Fundamentals
2022-08-05 05:23:00 【share16】
Python - Machine Learning
Machine Learning (2) - Machine Learning Fundamentals
You can follow share16 on Zhihu or WeChat public account, we will also update this article synchronously.
I. Supplementary knowledge
1.1 xgboost
xgboost and LightGBM are the most commonly used prediction algorithms in data mining.xgboost is an engineering implementation of the GBDT (gradient boosting tree) algorithm. Its logic is: first train a tree, then calculate the error (also called gradient) of each sample, train the next tree by fitting the error, and keep fittinguntil the training results meet the requirements.
import xgboost as xgb# from xgboost.sklearn import XGBClassifierxgb.XGBClassifier()# objective="binary:logistic" The objective function, representing the binary classification, the loss function is logistic1.2 LightGBM
LightGBM can be said to be a continuation of xgboost. Some optimizations have been made on xgboost. From the application level, the two most direct points are: ① The speed is much faster; ② It can support category-type features (in xgb it isNo, one-hot is required).
import lightgbm as gbmgbm.LGBMClassifier()1.3 BP Neural Network
BP neural network is a multi-layer feedforward neural network trained according to the error back-propagation algorithm. It is one of the most widely used neural network models and the theoretical basis of current deep learning.The current parameter optimization of deep learning network is based on BP and gradient regression.The BP neural network is divided into a forward network and a backward network. The forward network is used to calculate the target value, and the backward network is used for gradient calculation.
from sklearn.neural_network import MLPClassifierBP = MLPClassifier()Thank you all
边栏推荐
猜你喜欢

Structured light 3D reconstruction (1) Striped structured light 3D reconstruction

ESP32 485 Illuminance

Dephi逆向工具Dede导出函数名MAP导入到IDA中

【过一下9】卷积

结构光三维重建(二)线结构光三维重建

数据库 单表查询
![[Study Notes Dish Dog Learning C] Classic Written Exam Questions of Dynamic Memory Management](/img/0b/f7d9205c616f7785519cf94853d37d.png)
[Study Notes Dish Dog Learning C] Classic Written Exam Questions of Dynamic Memory Management

Dephi reverse tool Dede exports function name MAP and imports it into IDA

shell函数

Flex layout frog game clearance strategy
随机推荐
Geek卸载工具
The underlying mechanism of the class
CAP+BASE
【过一下7】全连接神经网络视频第一节的笔记
Using QR codes to solve fixed asset management challenges
二叉树基本性质+oj题解析
[WeChat applet] WXML template syntax - conditional rendering
第四讲 反向传播随笔
2023 International Conference on Information and Communication Engineering (JCICE 2023)
Mysql5.7 二进制 部署
【cesium】元素高亮显示
【过一下11】随机森林和特征工程
Difference between for..in and for..of
[cesium] 3D Tileset model is loaded and associated with the model tree
基于Web的商城后台管理系统的设计与实现
Mvi架构浅析
【读书】长期更新
Redis - 13、开发规范
第二讲 Linear Model 线性模型
【学习笔记之菜Dog学C】动态内存管理之经典笔试题