Opiniones sobre Clasifica datos estructurados con las capas de procesamiento previo de Keras

11219 opiniones

There was an error in the code, because of which the notebook wasn't executable.

Abhirama G. · Se revisó hace casi 3 años

good

utpal d. · Se revisó hace casi 3 años

Jeff H. · Se revisó hace casi 3 años

Diogo F. · Se revisó hace casi 3 años

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. · Se revisó hace casi 3 años

very clear lab, thanks!

Yulia P. · Se revisó hace casi 3 años

Babu L. · Se revisó hace casi 3 años

ramya h. · Se revisó hace casi 3 años

Ze M. · Se revisó hace casi 3 años

Satomi S. · Se revisó hace casi 3 años

Noushin S. · Se revisó hace casi 3 años

fermin h. · Se revisó hace casi 3 años

Mahdieh K. · Se revisó hace casi 3 años

Pratibha C. · Se revisó hace casi 3 años

Pablo V. · Se revisó hace casi 3 años

Shahrukh K. · Se revisó hace casi 3 años

Dominic L. · Se revisó hace casi 3 años

Yechi M. · Se revisó hace casi 3 años

Lorrain G. · Se revisó hace casi 3 años

Carlos G. · Se revisó hace casi 3 años

Luo,Shuyan L. · Se revisó hace casi 3 años

Sabyasachi B. · Se revisó hace casi 3 años

Naganjana R. · Se revisó hace casi 3 años

Kalluri Siva Kumar R. · Se revisó hace casi 3 años

Sean A. · Se revisó hace casi 3 años

No garantizamos que las opiniones publicadas provengan de consumidores que hayan comprado o utilizado los productos. Google no verifica las opiniones.