- Neural Networks with Keras Cookbook
- V Kishore Ayyadevara
- 119字
- 2021-07-02 12:46:35
Defining weights for rows
In the Predicting house prices recipe, we learned about defining a custom loss function. However, we are not in a position yet to assign a higher weightage for certain rows over others. (We did a similar exercise for a credit default prediction case study where we assigned higher weightage to one class over the other; however, that was a classification problem, and the current problem that we are solving is a continuous variable-prediction problem.)
In this section, we will define weights for each row and then pass them to the custom_loss function that we will define.
We will continue working on the same dataset that we analyzed in the Stock price prediction recipe.
推薦閱讀
- WebAssembly實(shí)戰(zhàn)
- 編程卓越之道(卷3):軟件工程化
- C#程序設(shè)計(jì)(慕課版)
- INSTANT Weka How-to
- Unity 5.x By Example
- C++新經(jīng)典
- 移動互聯(lián)網(wǎng)軟件開發(fā)實(shí)驗(yàn)指導(dǎo)
- Learning YARN
- Visual Basic程序設(shè)計(jì)習(xí)題與上機(jī)實(shí)踐
- Troubleshooting Citrix XenApp?
- Hadoop大數(shù)據(jù)分析技術(shù)
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)(Windows 7+Office 2010)(IC3)
- HTML5 WebSocket權(quán)威指南
- Python Django Web從入門到項(xiàng)目實(shí)戰(zhàn)(視頻版)
- C#從入門到精通(微視頻精編版)