TensorFlow 검색 결과
2건
]TensorFlow2[ Keras Model과 Callback 으로 비선형회귀
# !pip install seaborn # !pip install tensorflow==2.2.0 Import the required modules import numpy as np import tensorflow as tf from tensorflow import keras as ks from keras.layers import Dense from sklearn.model_selection import train_test_split Define the training callbacks 학습결과를 출력/분석하는 함수 작성 손실율을 출력하는 on_epoch_end 메서드 손실율 그래프를 그리는 on_train_end 메서드 콜백기반 class CustomCallback(ks.callbacks.Callba..
]TensorFlow2[ Estimator를 사용한 비선형회귀
# !pip install tensorflow==2.2.0Import the required modules import numpy as np import tensorflow as tf from tensorflow import keras as ks from keras.layers import Dense from sklearn.model_selection import train_test_split Model configurations base_config = { 'model_path': 'model_path', 'model_version': '0', 'dataset_size': 100000, 'test_ratio': 0.3..