随机森林详解

Java用weka写随机森林算法 随机森林是一种集成学习算法,它通过结合多棵决策树来进行分类或回归任务。想象一下,你要做一个重要的决定,比如选哪所大学。为了做出最好的选择,你决定咨询很多专家的意见,而不是只听一个人的建议。随机森林的工作原理类似,它通过结合多棵决策树的意见来做出更准确和可靠的预测。具体来说:1.创建多棵决策树:随机森林算法会生成许多决策树,每棵树都在不同的随机数据子集上进行训练。每个子集是从原始数据集中随机抽取的样本(随机森林采用了一种称为的方法,这种方法也称为。 阅读详情

随机森林是由Leo Breiman和 Adele Cutler发展的分类和回归算法,使用了大量的决策树模型,从而通过降低估计的偏差和方差来提高精确的预测。

作为开箱即用的算法,随机森林算法的执行步骤主要如下:

  1. 创建大量决策树,每棵树之间都不一样,基于观察点和变量的不同子集。
  2. 为每棵树用自助法(bootstrap)来采样观察数据集(用置换法从原始数据采样)。相同的观察点可以在相同的数据集出现多次
  3. 为每棵树随机选择并仅适用一部分变量。
  4. 适用由采样所排除的管擦点来估计每棵树的性能。
  5. 在全部数据被拟合和预测后,获取最终预测,即为回归估计的平均值或用于预测的最频繁类。

一、使用随机森林分类器

#使用bagging 模仿随机森林
#载入手写数字数据集
from sklearn.datasets import load_digits
digit = load_digits()
X, y = digit.data, digit.target

from sklearn.ensemble import RandomForestClassifier
from sklearn.cross_validation import cross_val_score
from sklearn.cross_validation import KFold
crossvalidation = KFold(n=X.shape[0], n_folds=5, shuffle=True, random_state=1)
RF_cls = RandomForestClassifier(n_estimators=300)
score = np.mean(cross_val_score(RF_cls, X, y, scoring='accuracy', cv=crossvalidation, n_jobs=1))
print ('Accuracy: %.3f' % score)

结果显示准确度相当高,n-estimators=300

如果想进一步提高模型精度,可画出精确度与评估器的曲线,选择合适的评估器个数

#求训练得分和测试得分
from sklearn.learning_curve import validation_curve
train_scores, test_scores = validation_curve(RF_cls, X, y,
                                             'n_estimators', param_range=[10,50,100,200,300,500,800,1000,1500], 
                                             cv=crossvalidation, scoring='accuracy', n_jobs=1)
print ('mean cv accuracy %s' % np.mean(test_scores,axis=1))
#作图
import matplotlib.pyplot as plt
mean_test = np.mean(test_scores,axis=1)
#plt.plot([10,50,100,200,300,500,1000],mean_train,'ro--', label='Training')
plt.plot([10,50,100,200,300,500,800,1000,1500],mean_test,'bD-.', label='Cross-validation')
plt.grid()
plt.xlabel('Number of estimators') # adds label to x axis
plt.ylabel('accuracy') # adds label to y axis
plt.legend(loc='lower right', numpoints= 1)
plt.show()

可以看出500由于400/300和600,1000最优,优于1500.

二、使用随机森林回归器工作

from sklearn.datasets import load_digits
digit = load_digits()

X, y = boston.data, boston.target
from sklearn.ensemble import RandomForestRegressor
RF_rg = RandomForestRegressor (n_estimators=300, random_state=1)
crossvalidation = KFold(n=X.shape[0], n_folds=5, shuffle=True, random_state=1)
score = np.mean(cross_val_score(RF_rg, X, y, scoring='neg_mean_squared_error', cv=crossvalidation, n_jobs=1))
print ('Mean squared error: %.3f' % abs(score))

均方差为12.028,训练效果较好。

三、优化随机森林算法

from sklearn.ensemble import RandomForestClassifier
X, y = digit.data, digit.target
crossvalidation = KFold(n=X.shape[0], n_folds=5, shuffle=True, random_state=1)
RF_cls = RandomForestClassifier(n_estimators=300)
scorer = 'accuracy'

RF_cls.fit(X,y)
#X = RF_cls.fit_transform(X)
#print (X.shape)
#print (RF_cls.feature_importances_)

from sklearn import grid_search
search_grid =  {'max_features': [21, 'sqrt', 'log2', 'auto'], 'min_samples_leaf': [1, 2, 10, 30]}
search_func = grid_search.GridSearchCV(estimator=RF_cls, param_grid=search_grid, scoring=scorer, n_jobs=1, cv=crossvalidation)
search_func.fit(X,y)

print ('Best parameters: %s' % search_func.best_params_)
print ('Best accuracy: %.3f' % search_func.best_score_)

结果显示:max_features=sqrt(也就是平方根),min_samples_leaf=1

 

 

Random Forests 随机森林模型详解 Forrest错误率由以下两个因素决定 1)任意两个树的correlationrate(相关性),相关性越高,错误率越高(预测越不准确) 2)任意一个树自己本身的强度 Random Forests的特性 It is unexcelled in accuracy among current algorithms. It runs efficiently on large data bases. It can handle thousands of input variables without.. 阅读详情

相关推荐

(机器学习)随机森林填补缺失值的思路和代码逐行详解

随机森林填补缺失值1.使用0和均值来填补缺失值2.用随机森林填补缺失值的思路3.使用随机森林填补缺失值代码逐行详解3.1导包,准备数据,以及创造缺失的数据集3.2数据集中缺失值从少到多进行排序3.3构建新特征矩阵和新标签3.4在新特征矩阵中,对含有缺失值的列进行0的填补3.5找出训练集和测试集3.6用随机森林回归来填补缺失值3.7将填补好的特征填入到原始的特征矩阵中3.8完整代码4.随机森林填补缺失值的效果5.完整代码 我们从现实中收集的数据,几乎不可能是完美无缺的,往往都会有一些缺失值。而随机森林的回归,

m0_46177963的博客 2万+

随机森林之JAVA实现

本博文主要包括以下几个部分。 Bagging与RandomForest的主要区别 RandomForest Algorithm Main Feature 代码实现 Bagging与randomForest的主要区别 Bagging作为集成学习方法的一种,其主要的特征在于在对原始数据采样中加入了「数据扰动」的部分,具体来说,主要是基于自助采样法 (bootstrap sampling),给定包含...

Angela_L的博客 4716

随机森林算法java数据挖掘算法源码.rar

随机森林算法java数据挖掘算法源码

Java中的随机森林算法:如何处理大规模数据的特征选择与预测

大家好,我是微赚淘客系统3.0的小编,是个冬天不穿秋裤,天冷也要风度的程序猿!在这篇文章中,我们将探讨如何在Java中实现高效的随机森林算法。随机森林是一种强大的集成学习算法,广泛用于分类和回归任务,尤其适合处理大规模数据集。其核心思想是通过建立多棵决策树,并将它们的预测结果进行汇总,从而提高模型的准确性和鲁棒性。通过这些方法,我们可以提高随机森林模型的性能和准确性。通过评估各特征在模型中的重要性,可以选择对预测最有帮助的特征。在Java中实现随机森林算法,我们可以使用。如果你使用Maven,可以在。

微赚淘客系统开发者博客 1133

java实现随机森林RandomForest的示例代码

本篇文章主要介绍了java实现随机森林RandomForest的示例代码,小编觉得挺不错的,现在分享给大家,也给大家做个参考。一起跟随小编过来看看吧

扫地机器人全场景测试实战:从实验室到真实家庭的可靠性验证

本文深入探讨了扫地机器人从实验室到真实家庭的全场景测试方法,揭示了软硬件测试中的关键挑战。通过分析场景化测试的重要性,文章详细介绍了硬件耐久性、软件稳定性和环境适应性三大测试维度,并提供了真实家庭测试的实用方法论。消费者可重点关注清洁率、覆盖率等核心指标,同时了解测试工程师的私房建议,帮助选择更可靠的扫地机器人产品。

hhh00的博客 1077

随机森林 java_Spark随机森林RandomForest

位于ml/tree/impl/目录下。mllib目录下的随机森林算法也是调用的ml下的RandomForest。ml是mllib的最新实现,将来是要替换掉mllib库的。RandomForest核心代码train方法每次迭代将要计算的node推入堆栈,选择参与计算的抽样数据,计算该节点,循环该过程。while(nodeStack.nonEmpty) {// Collect some nodes t...

weixin_33278819的博客 534

STM32CubeMX和华为LiteOS Studio开发STM32

传统的STM32的开发通常使用Keil/IAR这类开发软件,随着物联网时代的到来,传统嵌入式的发展不断向物联网方向靠拢,而Keil/IAR这类开发软件无法满足IoT一站式的开发,华为LiteOS Studio结合STM32CubeMX可以快速,高效地进行物联网开发,本文提供一种开发思路及环境的配置方法。...

weixin_45680600的博客 2833

随机森林(Random Forest)详解

随机森林不仅适用于分类和回归任务,还在特征选择、数据预处理等方面展现出强大的能力。无论是在金融、医疗、市场营销还是计算机视觉等领域,随机森林都发挥着重要作用。本文将深入探讨随机森林的基本原理、数学模型、实现步骤以及应用场景,帮助读者全面理解这一经典算法的魅力与实用性。让我们一起揭开随机森林的神秘面纱,探索其背后的科学与艺术。

不迁怒,不贰过。小知识,大智慧。 3367

UE5游戏逆向实战:用FModel提取.pak文件中的3D模型(附Dumper-7避坑指南)

本文详细介绍了在UE5游戏逆向工程中使用FModel提取.pak文件中3D模型的实战技巧,包括Dumper-7工具的深度配置与避坑指南。针对UE5特有的unversioned属性系统,提供了从源码编译到智能注入的全链路解决方案,帮助开发者高效获取游戏资产并优化处理流程。

weixin_30374009的博客 500

画个板子玩一玩STM32F030F4P6,也许是最便宜的32bit MCU

前言,什么是STM32F030F4P6 STM32目前最便宜的芯片之一应该就是这一块,STM32F030F4P6,这一个芯片没有USB,但是其他都有,引脚少,价格低廉,如果找不到原厂,可以买替代的国产芯片,性能也一样。 不管怎么样也是Cortex-M0,比8bit和16bit的性能都强,总的来说就是低价,引脚少,体积小的同时,还容易开发,有很多模拟输入可玩,还有SPI,硬件I2C等等 所以,这一款MCU真的是从理论来说又便宜又好用,非常适合把玩。 画个板,最小系统 STM32F030其..

arenascat的博客 2万+

随机森林原理详解 random forest 代码+参数讲解

事实上随机森林的基本单元决策树很早就被提出来了,只不过单个决策树效果不好。这个情况和神经网络差不多。 到了2001年Breiman把分类树组合成随机森林(Breiman 2001a),即在变量(列)的使用和数据(行)的使用上进行随机化,生成很多分类树,再汇总分类树的结果。在运算没有增加的情况下,精度提高了不少。 进入正题 随机森林由两个部分组成 随机 和 森林 森林简单来说就是很多颗树,而这个树...

lianyhai 1万+

OpenMM | PDBFixer 用于蛋白质预处理

PDBFixer 用于蛋白质预处理

DrugOne 3007

随机森林(Random Forest)算法详解

随机森林(Random Forest)是一种经典的集成学习(Ensemble Learning)算法,由 Leo Breiman 于 2001 年提出。随机森林的核心思想是:构建多棵决策树,让每棵树独立进行预测,最终通过投票(分类)或平均值(回归)得到结果。相比单棵决策树,随机森林具有:更高的准确率更强的泛化能力更好的抗过拟合能力广泛应用于:金融风控用户画像医疗诊断商品推荐信用评分数据挖掘随机森林是机器学习领域最经典、最实用的算法之一。Bootstrap随机抽样随机特征选择。

qq_38196449的博客 1463

【Java基础知识 1】Java入门级概述

优快云最强Java专栏,包含全部Java基础知识点、Java8新特性、Java集合、Java多线程、Java代码实例,理论结合实战,实现Java的轻松学习。

学Java,找哪吒 16万+

24、水下传感器网络中混合LEACH协议与遗传算法获取路由节点

本文提出了一种结合遗传算法与LEACH协议的混合路由方案,用于提升水下无线传感器网络(UWSN)的能量利用效率和数据传输稳定性。通过遗传算法优化簇头选择与路径规划,有效避免节点过早死亡,减少能量消耗,在200个节点场景下显著提升网络寿命。相比传统LEACH协议,该方案具有更高的能量利用率、更强的环境适应性,并支持传输历史记录与并行传输序列。实验结果显示,该方案在总能量为2000焦耳时剩余能量达75.6%,远优于LEACH的34.8%能耗表现。适用于海洋监测、石油平台监控及水下灾害预警等复杂环境应用。

i8j9k0l1的博客 112

机器学习----随机森林(Random Forest)详解

随机森林(Random Forest)是一种算法,由多个决策树(Decision Tree)集成而成。它通过** bootstrap 抽样特征随机选择**两种随机性机制,综合多棵决策树的预测结果,最终输出更稳定、更准确的预测结论。其核心思想是“”——单棵决策树容易过拟合(对训练数据拟合过好,泛化能力差),而多棵决策树通过合理组合可以降低方差、提升模型的泛化能力。

enlybbq的博客 2236

手把手教你学Simulink——机器人力控场景实例:基于Simulink的永磁同步电机重力补偿力矩控制仿真

本文介绍了基于Simulink的机器人重力补偿力矩控制仿真方法。针对机器人悬停时电机发热、抖动等问题,提出通过前馈补偿重力转矩的解决方案。文章详细阐述了从机器人动力学建模、重力补偿计算、PMSM转矩控制到系统集成的完整实现流程,并以2-DOF机械臂为例验证了补偿效果。结果表明,重力补偿能显著降低电机电流和拖拽力,提高系统柔顺性。文中还提供了高级功能扩展方向,如参数辨识、摩擦补偿等,为实际工程应用提供了参考框架。

MHD0815的博客 154

随机森林(Random Forest)详解-ChatGPT4o作答

随机森林是一种基于 Bagging 的强大集成学习方法,通过结合多棵决策树,提升模型的稳定性和泛化能力。它对高维数据和噪声数据表现良好,并且具有内置特征重要性评估的功能。在工业实践中,随机森林被广泛应用于分类和回归任务,是一种非常值得尝试的通用算法。在决策树的每个分裂节点上,随机森林从所有特征中随机选择一个子集,然后在这个子集上选择分裂的最佳特征。的预测结果来提高模型的性能和稳定性。随机森林内置了特征重要性评估,基于特征对目标变量的预测贡献。Bagging 是随机森林的基础。:随机选择的特征数量。

qq_46215223的博客 1262

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

随机森林算法详解

<div id="post_detail"> [Machine Learning & Algorithm] 随机森林(Random Forest) 阅读目录1 什么是随机森林?2 随机森林的特点3 随机森林的相关基础知识4 随机森林的生成5 袋外错误率(oob error)6 随机森林工作原理解释的一个简单例子7 随机森林...

阿斯达克 3万+

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

随机森林(Random Forest)详解(转)

来源:Poll的笔记 cnblogs.com/maybe2030/p/4585705.html 1 什么是随机森林? 作为新兴起的、高度灵活的一种机器学习算法,随机森林(Random Forest,简称RF)拥有广泛的应用前景,从市场营销到医疗保健保险,既可以用来做市场营销模拟的建模,统计客户来源,保留和流失,也可用来预测疾病的风险和病患者的易感性。最初,我是在参加校外竞赛时接触到随...

weixin_30629977的博客 411

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

随机森林原理详解

随机森林原理详解

BigCowPeking 3万+
上一篇: 决策树-分类+回归
下一篇: VBA基础教程-变量+预算符+流程控制语句
Arron_yuan
博客等级 码龄12年 11粉丝 24原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值