是否可以同时使用和训练神经网络?

Is it possible to simultaneously use and train a neural network?

是否可以使用 Tensorflow 或一些类似的库来制作一个您可以同时高效训练和使用的模型。

一个 example/use 案例是您向其提供反馈的聊天机器人。有点像宠物的学习方式(即复制他们刚刚为奖励所做的事情)。或者能够添加他们可以使用的新条目或新响应。

我想你问的是是否可以连续训练一个模型,而不必在每次有新的标记数据时都从头开始重新训练它。

答案是 - 在线模型

有些模型可以根据数据持续训练,而不必担心从头开始训练。根据 Wikipedia definition

Online machine learning is a method of machine learning in which data becomes available in sequential order and is used to update the best predictor for future data at each step, as opposed to batch learning techniques which generate the best predictor by learning on the entire training data set at once.

此类算法的一些示例是

  • 伯努利NB
  • 高斯NB
  • MiniBatchKMeans
  • 多项NB
  • 被动攻击分类器
  • 被动攻击回归器
  • 感知器
  • SGDClassifier
  • SGDRegressor
  • DNN