Registry / ai-ml / tf-estimator-nightly

tf-estimator-nightly

JSON →
library2.16.0.dev2024012409pypypiunverified

Nightly build of TensorFlow Estimator, a high-level TensorFlow API that simplifies machine learning model training and evaluation. Current version 2.16.0.dev2024012409, released nightly. Should only be used with matching TensorFlow nightly builds.

pip install tf-estimator-nightly
INSTALL
IMPORT
SIG · TF-ESTIMATOR-NIGHT
T
tf-estimator-nightly
ai-mlpythonv2.16.0.dev2024012409
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

estimator
import tensorflow_estimator as estimator
import tensorflow.compat.v1.estimator as estimator

Minimal example using tf.compat.v1.estimator with TF nightly.

import tensorflow.compat.v1 as tf tf.disable_v2_behavior() import tensorflow.compat.v1.estimator as estimator # Define a simple linear regressor feature_columns = [tf.feature_column.numeric_column('x', shape=[1])] regressor = estimator.LinearRegressor(feature_columns=feature_columns) # Mock input function def input_fn(): return {'x': [[1.0], [2.0], [3.0]]}, [1.0, 2.0, 3.0] # Train regressor.train(input_fn=input_fn, steps=100) # Predict predictions = regressor.predict(input_fn=input_fn) try: for i, p in enumerate(predictions): print(p['predictions']) if i > 2: break except StopIteration: pass
Debug
Known issues
breakingtf-estimator-nightly requires a matching tf-nightly version. Mixing releases will cause import failures like 'cannot import name'.
fix
Install both nightly packages from the same date: pip install tf-nightly tf-estimator-nightly
affects: All
deprecatedTensorFlow Estimator is in maintenance mode; Keras is the preferred high-level API. New features are only added to Keras.
fix
Consider migrating to tf.keras or Keras 3 for active development.
affects: >=2.0
gotchaImporting directly from tf_estimator (e.g., import tf_estimator) will fail because the package is a namespace package inside TensorFlow.
fix
Use from tensorflow.compat.v1 import estimator
affects: All
Upgrade
Version history
2.16.0.dev2024012409latest on PyPI · released Jan 24, 2024
Audit
Dependencies
tf-nightlyrequiredCompanion TensorFlow nightly build required; version mismatch may cause import errors or runtime crashes.
Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
tf-estimator-nightly — pip install tf-estimator-nightly · libregistry