简体   繁体   English

DL4J 特征重要性

[英]DL4J feature importance

I have built a LSTM neural network with multiple features with Deeplearning4j.我已经使用 Deeplearning4j 构建了一个具有多个特征的 LSTM 神经网络。 Now I want to know if a feature which I have added is good or not.现在我想知道我添加的功能是否好。 I remember from other programming languages that there is a possibility to get a percentage value (feature-importance) per feature.我记得在其他编程语言中,有可能获得每个功能的百分比值(功能重要性)。

How to get this list of features from a model?如何从模型中获取此功能列表?

Feature Importance isn't commonly used with neural networks in general regardless of framework.无论框架如何,特征重要性通常不与神经网络一起使用。 Generally the focus should be on hyper parameters and viewing the neural network training in the UI to see how its gradient changes over time.通常,重点应该放在超参数上,并在 UI 中查看神经网络训练,以了解其梯度如何随时间变化。

From there, you see if the loss curve has something like a:从那里,您可以看到损失曲线是否类似于:

| |
| |
| |
| |
| \
|  \________________________________
------------------------------------------

loss curve.损失曲线。 You won't always get that but anything where the training is smooth and stable indicates well tuned parameters, the right loss function being picked and the learning happening.你不会总是得到那个,但任何训练平稳且稳定的地方都表明参数调整得很好,选择了正确的损失函数并且正在发生学习。

The only other thing I can recommend is ensure that your input data as needed is properly normalized.我唯一可以推荐的另一件事是确保根据需要正确规范化您的输入数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM