r语言 nnet_round r语言_r语言nnet包nnet

电脑杂谈  发布时间:2017-03-11 06:03:49  来源:网络整理

round r语言_r语言nnet包nnet_r语言 nnet

predict.nnet(nnet)

predict.nnet()所属R语言包:nnet

Predict New Examples by a Trained Neural Net

由受过训练的神经网络预测新的例子

译者:生物统计家园网 机器人LoveR

描述----------Description----------

Predict new examples by a trained neural net.

由受过训练的神经网络预测新的例子。

用法----------Usage----------

## S3 method for class 'nnet'

predict(object, newdata, type = c("raw","class"), ...)

参数----------Arguments----------

参数:object

an object of class nnet asreturned by nnet.

类对象nnet返回nnet的。

参数:newdata

matrix or data frame of test examples. A vector is considered to be a row vector comprising a single case.

矩阵或数据框的测试例子。r语言 nnet一个向量被认为是一个行向量组成一情况例。r语言 nnet

参数:type

Type of output

输出类型

参数:...

arguments passed to or from other methods.</table>

参数传递或其他方法。 </ TABLE>

Details

详情----------Details----------

This function is a method for the generic function predict() for class "nnet". It can be invoked by calling predict(x) for an object x of the appropriate class, or directly by calling predict.nnet(x) regardless of the class of the object.

这个函数是一个泛型函数predict()类"nnet"方法。它可以通过调用调用predict(x)对象x适当的类,或直接致电predict.nnet(x)不管对象的类。

值----------Value----------

If type = "raw", the matrix of values returned by the trained network; if type = "class", the corresponding class (which is probably only useful if the net was generated by nnet.formula).

如果type = "raw",如果返回值由训练有素的网络矩阵;type = "class",对应的类(这可能是唯一有用的,如果净生成nnet.formula)。

参考文献----------References----------


本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-36905-1.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...