리뷰 Keras 전처리 레이어를 사용하여 정형 데이터 분류하기개
리뷰 11219개
There was an error in the code, because of which the notebook wasn't executable.
Abhirama G. · 거의 3년 전에 리뷰됨
good
utpal d. · 거의 3년 전에 리뷰됨
Jeff H. · 거의 3년 전에 리뷰됨
Diogo F. · 거의 3년 전에 리뷰됨
AttributeError: 'StringLookup' object has no attribute 'vocabulary_size' def get_category_encoding_layer(name, dataset, dtype, max_tokens=None): # Create a StringLookup layer which will turn strings into integer indices if dtype == 'string': index = preprocessing.StringLookup(max_tokens=max_tokens) else: index = preprocessing.IntegerLookup(max_tokens=max_tokens) # TODO # Prepare a Dataset that only yields our feature feature_ds = dataset.map(lambda x, y: x[name]) # Learn the set of possible values and assign them a fixed integer index. index.adapt(feature_ds) # Create a Discretization for our integer indices. encoder = preprocessing.CategoryEncoding(num_tokens=index.vocabulary_size()) # Apply one-hot encoding to our indices. The lambda function captures the # layer so we can use them, or include them in the functional model later. return lambda feature: encoder(index(feature))
Nikolas H. · 거의 3년 전에 리뷰됨
very clear lab, thanks!
Yulia P. · 거의 3년 전에 리뷰됨
Babu L. · 거의 3년 전에 리뷰됨
ramya h. · 거의 3년 전에 리뷰됨
Ze M. · 거의 3년 전에 리뷰됨
Satomi S. · 거의 3년 전에 리뷰됨
Noushin S. · 거의 3년 전에 리뷰됨
fermin h. · 거의 3년 전에 리뷰됨
Mahdieh K. · 거의 3년 전에 리뷰됨
Pratibha C. · 거의 3년 전에 리뷰됨
Pablo V. · 거의 3년 전에 리뷰됨
Shahrukh K. · 거의 3년 전에 리뷰됨
Dominic L. · 거의 3년 전에 리뷰됨
Yechi M. · 거의 3년 전에 리뷰됨
Lorrain G. · 거의 3년 전에 리뷰됨
Carlos G. · 거의 3년 전에 리뷰됨
Luo,Shuyan L. · 거의 3년 전에 리뷰됨
Sabyasachi B. · 거의 3년 전에 리뷰됨
Naganjana R. · 거의 3년 전에 리뷰됨
Kalluri Siva Kumar R. · 거의 3년 전에 리뷰됨
Sean A. · 거의 3년 전에 리뷰됨
Google은 게시된 리뷰가 제품을 구매 또는 사용한 소비자에 의해 작성되었음을 보증하지 않습니다. 리뷰는 Google의 인증을 거치지 않습니다.