Does TensorFlow have cross validation implemented for its users?

后端 未结 2 435
夕颜
夕颜 2021-01-31 17:02

I was thinking of trying to choose hyper parameters (like regularization for example) using cross validation or maybe train multiple initializations of a models and then choose

2条回答
  •  自闭症患者
    2021-01-31 17:37

    As the dataset gets larger cross validation gets more expensive.In deep learning we usually use large data sets.You should be fine with simple training. Tensorflow doesnt have a built in mechanism for cv as it is not usually used in neural networks.In neural networks, the efficiency of the network relies mainly on the data set, number of epochs and the learning rate.

    I have used cv in sklearn You can check the link: https://github.com/hackmaster0110/Udacity-Data-Analyst-Nano-Degree-Projects/

    In that,go to poi_id.py in Identify fraud from enron data(In Project folder)

提交回复
热议问题