Comments (16)
We're working on a new Keras API for AdaNet, but don't have a timeline on it yet. Keep an eye out for related commits over the next few months.
from adanet.
The timeline will look roughly like so (subject to change):
- Support
tf.keras.Layers
in subnetworks. - Support
tf.keras.Sequential
and Keras functional API models inadanet.AutoEnsembleEstimator
. - Implement
adanet.keras.Model
andadanet.keras.AutoEnsemble
APIs to be Keras end-to-end.
Please reach out here or PM me if you are interested in testing out our new Keras support as we add it.
from adanet.
We are going for an API that is both familiar, but also flexible enough to define an search space of keras models. Here's an idea of the kind of API we are going for:
submodel1 = Sequential()
submodel1.add(Dense(8, input_dim=4, activation='relu'))
submodel1.add(Dense(3, activation='softmax'))
submodel1.compile(loss='categorical_crossentropy', optimizer='adam')
submodel2 = Sequential()
submodel2.add(Dense(16, input_dim=4, activation='relu'))
submodel2.add(Dense(3, activation='softmax'))
submodel2.compile(loss='categorical_crossentropy', optimizer='adam')
model = adanet.keras.AutoEnsemble(
ensembler=adanet.ensemble.UniformAverage(),
ensemble_strategy=adanet.ensemble.AllStrategy(),
candidate_pool={
"Model1": submodel1,
"Model2": submodel2,
})
model.compile(loss='categorical_crossentropy', optimizer='adam')
model.fit(x=..., y=..., steps=100)
Feedback is welcome!
from adanet.
I would love to use it when it comes out
from adanet.
@shendiaomo: This is still a work in progress, but we are actively pursuing this direction. It's all very experimental at the moment, since we would like it to fit in well with the rest of the Keras and TF 2.0 ecosystem, meaning good integration with other systems like keras-tuner.
We're working on an experimental AdaNet model search API. You can have a peek under adanet/experimental. We will be demoing this Tuesday Morning at the Google Booth at NeurIPS.
from adanet.
@minimaxir, @shendiaomo: adanet.experimental.ModelSearch
(a.k.a. adanet.ModelFlow
) is @csvillalta's API for AutoML using Keras and TF 2. Please take a look at in under adanet/experimental, and let us know what you think.
Be sure to try out the ModelFlow demo.
from adanet.
@atinsood: We don't currently have anything you can try out, since we're still coming up with a reasonable design. But keep an eye out, we'll be pushing some experimental code soon to an adanet.keras
subpackage soon.
from adanet.
@minimaxir Thank you for filing this feature request. We'll take a look.
from adanet.
/cc @jhfjhfj1
from adanet.
Without Keras support of project, it may have some trouble to visualize AdaNet produced construction,
like use graphviz in plot_model
Are there some replacement to implement this function ?
from adanet.
@svjack: You can visualize the learned architecture in TensorBoard by looking at the Graph tab.
from adanet.
@cweill I suggest, Can create a chapter to tell about the algorithm procedure among different iteration (with namespace control) with the help of tensorboard to visualize in the document you will release.
from adanet.
Any news on this?
from adanet.
this is amazing!
from adanet.
@cweill this looks great but is this already close to an alpha/beta(or merged into some branch already) where if I want to try this out I can go ahead and try it out, or you guys still working through this. any rough notebook with a broad idea of steps would be great.
- thanks
from adanet.
When would this Keras API have a final distribution? I think it's vital for the widespread application of AdaNet.
from adanet.
Related Issues (20)
- `input_fn` called multiple times in `Estimator.train` HOT 5
- relation to AutoML tables in GCP HOT 2
- Question regarding architecture HOT 3
- adanet.ensemble.Ensembler not used in Tutorials? HOT 5
- Adding different loss to tf.estimator.Head HOT 2
- Correct place to add custom metric_fn? HOT 3
- Early stopping 'best-practice' using Adanet
- Interpretation of serialized "architecture_summary" HOT 2
- simple_dnn should not work !
- [Bug] AutoEnsembleEstimator() cannot be instatiated if tf< 2.x HOT 1
- I am having errors and do not know what to do... HOT 1
- Evaluation issue using TPUEstimator HOT 2
- RuntimeError with adanet_tpu tutorial using TF2.2 and Adanet 0.9.0
- AttributeError: module 'adanet' has no attribute 'AutoEnsembleEstimator'
- Is there any code to compute FLOPs and parameter size of adanet?
- Error on running tutorial notebook in Google colab
- Using AdaNet ModelFlow with pre-trained models HOT 1
- Got `AttributeError: 'NoneType' object has no attribute 'logits'` error while applying tutorial
- Is this repository deprecated? HOT 1
- Design suggestions of _IterationBuilder._best_loss from adanet.core.iteration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adanet.