Giter Club home page Giter Club logo

elephas's People

Contributors

a-fayez92 avatar abishek-murali avatar albe91 avatar anamf avatar andybergon avatar danielenricocahall avatar dependabot[bot] avatar elgalu avatar gauravyeole avatar icyblade avatar ivanmontero avatar jomivega avatar kmader avatar maxpumperla avatar n4nagappan avatar oscardpan avatar sinjax avatar spencerimp avatar tsingjyujing avatar viirya avatar yoseph-zuskin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

elephas's Issues

Integrate Callbacks

Copied from:

https://github.com/keras-team/keras/blob/master/keras/callbacks.py#L341

The fit function in Keras returns a graph that can be used to determine if the model is overfitting or not. This would be very useful from Elephas.

LSTM Support Exploration

Copied from:

Currently, LSTM based models are not technically supported in Elephas. While the LSTM layers can be added to a model and the model may train, it's not clear if they're performing correctly as we don't currently have specialized logic for handling sequential/temporal data.

Incorporate Real Logging

Right now, we're just using print statements for logging - we should use something like structlog or even just the builtin logging package.

How to get input and outputs from Sequential model

Hello, in my sequential Keras code, I am doing something like this:

model.compile(optimizer=Adam(), loss='mean_squared_error')
trained_model = model.fit(x_train, y_train, batch_size=512, shuffle=True, epochs=50, verbose=1)

encoder = Model(model.input, model.output)
encoded_data = encoder.predict(x_train) # bottleneck representation

I am then using the encoded_data array later on in the program.

How can I do something like this with SparkModel? It seems like I cannot build a SparkModel with an input and output of the Keras model?

Non-Deterministic Test Failures

The parametrized tests in integration/test_end_to_end will have non-deterministic test failures, usually due to a port being occupied already. This makes things flaky and hard to diagnose when there are real problems.

Potential solutions:

  • Investigate socket/Flask servers not closing down correctly?
    • Are the connections staying alive incorrectly?
  • Use a global random object (i.e; a pytest fixture with session scope?) which samples without replacement for producing each port while testing, rather than randomly selecting one for each test.

Utilize enums for categorical data

Convert the use of raw strings to enums for better readability, reduced likelihood for bugs, etc. in cases where there are a finite number of options i.e; "asynchronous", "synchronous", "hogwild" for server mode, "u", "g" for request options, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.