Alternatives to Keras logo

Alternatives to Keras

PyTorch, TensorFlow, MXNet, scikit-learn, and CUDA are the most popular alternatives and competitors to Keras.
1.1K
1.1K
+ 1
22

What is Keras and what are its top alternatives?

Deep Learning library for Python. Convnets, recurrent neural networks, and more. Runs on TensorFlow or Theano. https://keras.io/
Keras is a tool in the Machine Learning Tools category of a tech stack.
Keras is an open source tool with GitHub stars and GitHub forks. Here’s a link to Keras's open source repository on GitHub

Top Alternatives to Keras

  • PyTorch
    PyTorch

    PyTorch is not a Python binding into a monolothic C++ framework. It is built to be deeply integrated into Python. You can use it naturally like you would use numpy / scipy / scikit-learn etc. ...

  • TensorFlow
    TensorFlow

    TensorFlow is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. The flexible architecture allows you to deploy computation to one or more CPUs or GPUs in a desktop, server, or mobile device with a single API. ...

  • MXNet
    MXNet

    A deep learning framework designed for both efficiency and flexibility. It allows you to mix symbolic and imperative programming to maximize efficiency and productivity. At its core, it contains a dynamic dependency scheduler that automatically parallelizes both symbolic and imperative operations on the fly. ...

  • scikit-learn
    scikit-learn

    scikit-learn is a Python module for machine learning built on top of SciPy and distributed under the 3-Clause BSD license. ...

  • CUDA
    CUDA

    A parallel computing platform and application programming interface model,it enables developers to speed up compute-intensive applications by harnessing the power of GPUs for the parallelizable part of the computation. ...

  • Kubeflow
    Kubeflow

    The Kubeflow project is dedicated to making Machine Learning on Kubernetes easy, portable and scalable by providing a straightforward way for spinning up best of breed OSS solutions. ...

  • MLflow
    MLflow

    MLflow is an open source platform for managing the end-to-end machine learning lifecycle. ...

  • TensorFlow.js
    TensorFlow.js

    Use flexible and intuitive APIs to build and train models from scratch using the low-level JavaScript linear algebra library or the high-level layers API ...

Keras alternatives & related posts

PyTorch logo

PyTorch

1.4K
1.4K
43
A deep learning framework that puts Python first
1.4K
1.4K
+ 1
43
PROS OF PYTORCH
  • 15
    Easy to use
  • 11
    Developer Friendly
  • 10
    Easy to debug
  • 7
    Sometimes faster than TensorFlow
CONS OF PYTORCH
  • 3
    Lots of code
  • 1
    It eats poop

related PyTorch posts

Server side

We decided to use Python for our backend because it is one of the industry standard languages for data analysis and machine learning. It also has a lot of support due to its large user base.

  • Web Server: We chose Flask because we want to keep our machine learning / data analysis and the web server in the same language. Flask is easy to use and we all have experience with it. Postman will be used for creating and testing APIs due to its convenience.

  • Machine Learning: We decided to go with PyTorch for machine learning since it is one of the most popular libraries. It is also known to have an easier learning curve than other popular libraries such as Tensorflow. This is important because our team lacks ML experience and learning the tool as fast as possible would increase productivity.

  • Data Analysis: Some common Python libraries will be used to analyze our data. These include NumPy, Pandas , and matplotlib. These tools combined will help us learn the properties and characteristics of our data. Jupyter notebook will be used to help organize the data analysis process, and improve the code readability.

Client side

  • UI: We decided to use React for the UI because it helps organize the data and variables of the application into components, making it very convenient to maintain our dashboard. Since React is one of the most popular front end frameworks right now, there will be a lot of support for it as well as a lot of potential new hires that are familiar with the framework. CSS 3 and HTML5 will be used for the basic styling and structure of the web app, as they are the most widely used front end languages.

  • State Management: We decided to use Redux to manage the state of the application since it works naturally to React. Our team also already has experience working with Redux which gave it a slight edge over the other state management libraries.

  • Data Visualization: We decided to use the React-based library Victory to visualize the data. They have very user friendly documentation on their official website which we find easy to learn from.

Cache

  • Caching: We decided between Redis and memcached because they are two of the most popular open-source cache engines. We ultimately decided to use Redis to improve our web app performance mainly due to the extra functionalities it provides such as fine-tuning cache contents and durability.

Database

  • Database: We decided to use a NoSQL database over a relational database because of its flexibility from not having a predefined schema. The user behavior analytics has to be flexible since the data we plan to store may change frequently. We decided on MongoDB because it is lightweight and we can easily host the database with MongoDB Atlas . Everyone on our team also has experience working with MongoDB.

Infrastructure

  • Deployment: We decided to use Heroku over AWS, Azure, Google Cloud because it is free. Although there are advantages to the other cloud services, Heroku makes the most sense to our team because our primary goal is to build an MVP.

Other Tools

  • Communication Slack will be used as the primary source of communication. It provides all the features needed for basic discussions. In terms of more interactive meetings, Zoom will be used for its video calls and screen sharing capabilities.

  • Source Control The project will be stored on GitHub and all code changes will be done though pull requests. This will help us keep the codebase clean and make it easy to revert changes when we need to.

See more
Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber · | 8 upvotes · 2.1M views

Why we built an open source, distributed training framework for TensorFlow , Keras , and PyTorch:

At Uber, we apply deep learning across our business; from self-driving research to trip forecasting and fraud prevention, deep learning enables our engineers and data scientists to create better experiences for our users.

TensorFlow has become a preferred deep learning library at Uber for a variety of reasons. To start, the framework is one of the most widely used open source frameworks for deep learning, which makes it easy to onboard new users. It also combines high performance with an ability to tinker with low-level model details—for instance, we can use both high-level APIs, such as Keras, and implement our own custom operators using NVIDIA’s CUDA toolkit.

Uber has introduced Michelangelo (https://eng.uber.com/michelangelo/), an internal ML-as-a-service platform that democratizes machine learning and makes it easy to build and deploy these systems at scale. In this article, we pull back the curtain on Horovod, an open source component of Michelangelo’s deep learning toolkit which makes it easier to start—and speed up—distributed deep learning projects with TensorFlow:

https://eng.uber.com/horovod/

(Direct GitHub repo: https://github.com/uber/horovod)

See more
TensorFlow logo

TensorFlow

3.6K
3.4K
106
Open Source Software Library for Machine Intelligence
3.6K
3.4K
+ 1
106
PROS OF TENSORFLOW
  • 32
    High Performance
  • 19
    Connect Research and Production
  • 16
    Deep Flexibility
  • 12
    Auto-Differentiation
  • 11
    True Portability
  • 6
    Easy to use
  • 5
    High level abstraction
  • 5
    Powerful
CONS OF TENSORFLOW
  • 9
    Hard
  • 6
    Hard to debug
  • 2
    Documentation not very helpful

related TensorFlow posts

Conor Myhrvold
Tech Brand Mgr, Office of CTO at Uber · | 8 upvotes · 2.1M views

Why we built an open source, distributed training framework for TensorFlow , Keras , and PyTorch:

At Uber, we apply deep learning across our business; from self-driving research to trip forecasting and fraud prevention, deep learning enables our engineers and data scientists to create better experiences for our users.

TensorFlow has become a preferred deep learning library at Uber for a variety of reasons. To start, the framework is one of the most widely used open source frameworks for deep learning, which makes it easy to onboard new users. It also combines high performance with an ability to tinker with low-level model details—for instance, we can use both high-level APIs, such as Keras, and implement our own custom operators using NVIDIA’s CUDA toolkit.

Uber has introduced Michelangelo (https://eng.uber.com/michelangelo/), an internal ML-as-a-service platform that democratizes machine learning and makes it easy to build and deploy these systems at scale. In this article, we pull back the curtain on Horovod, an open source component of Michelangelo’s deep learning toolkit which makes it easier to start—and speed up—distributed deep learning projects with TensorFlow:

https://eng.uber.com/horovod/

(Direct GitHub repo: https://github.com/uber/horovod)

See more

In mid-2015, Uber began exploring ways to scale ML across the organization, avoiding ML anti-patterns while standardizing workflows and tools. This effort led to Michelangelo.

Michelangelo consists of a mix of open source systems and components built in-house. The primary open sourced components used are HDFS, Spark, Samza, Cassandra, MLLib, XGBoost, and TensorFlow.

!

See more
MXNet logo

MXNet

46
80
2
A flexible and efficient library for deep learning
46
80
+ 1
2
PROS OF MXNET
  • 2
    User friendly
CONS OF MXNET
    Be the first to leave a con

    related MXNet posts

    scikit-learn logo

    scikit-learn

    1.3K
    1.1K
    44
    Easy-to-use and general-purpose machine learning in Python
    1.3K
    1.1K
    + 1
    44
    PROS OF SCIKIT-LEARN
    • 25
      Scientific computing
    • 19
      Easy
    CONS OF SCIKIT-LEARN
    • 2
      Limited

    related scikit-learn posts

    Should I continue learning Django or take this Spring opportunity? I have been coding in python for about 2 years. I am currently learning Django and I am enjoying it. I also have some knowledge of data science libraries (Pandas, NumPy, scikit-learn, PyTorch). I am currently enhancing my web development and software engineering skills and may shift later into data science since I came from a medical background. The issue is that I am offered now a very trustworthy 9 months program teaching Java/Spring. The graduates of this program work directly in well know tech companies. Although I have been planning to continue with my Python, the other opportunity makes me hesitant since it will put me to work in a specific roadmap with deadlines and mentors. I also found on glassdoor that Spring jobs are way more than Django. Should I apply for this program or continue my journey?

    See more

    Hi, I wanted to jump into Machine Learning.

    I first tried brain.js, but its capabilities are very limited and it abstracts most concepts of ML away. I've tried TensorFlow, but it's very hard for me to understand the concepts.

    Now, I thought about trying NumPy or scikit-learn, but I don't really know much about ML, but still want to use 100% Power of ML.

    What do you recommend me to use as a beginner in ML?

    Also do you know any good tutorials which explain how ML works and how to implement it in a given framework (ideal in german)?

    Thanks for your attention & help :D

    See more
    CUDA logo

    CUDA

    380
    187
    0
    It provides everything you need to develop GPU-accelerated applications
    380
    187
    + 1
    0
    PROS OF CUDA
      Be the first to leave a pro
      CONS OF CUDA
        Be the first to leave a con

        related CUDA posts

        Kubeflow logo

        Kubeflow

        194
        570
        18
        Machine Learning Toolkit for Kubernetes
        194
        570
        + 1
        18
        PROS OF KUBEFLOW
        • 9
          System designer
        • 3
          Google backed
        • 3
          Customisation
        • 3
          Kfp dsl
        • 0
          Azure
        CONS OF KUBEFLOW
          Be the first to leave a con

          related Kubeflow posts

          Biswajit Pathak
          Project Manager at Sony · | 6 upvotes · 461.2K views

          Can you please advise which one to choose FastText Or Gensim, in terms of:

          1. Operability with ML Ops tools such as MLflow, Kubeflow, etc.
          2. Performance
          3. Customization of Intermediate steps
          4. FastText and Gensim both have the same underlying libraries
          5. Use cases each one tries to solve
          6. Unsupervised Vs Supervised dimensions
          7. Ease of Use.

          Please mention any other points that I may have missed here.

          See more

          Amazon SageMaker constricts the use of their own mxnet package and does not offer a strong Kubernetes backbone. At the same time, Kubeflow is still quite buggy and cumbersome to use. Which tool is a better pick for MLOps pipelines (both from the perspective of scalability and depth)?

          See more
          MLflow logo

          MLflow

          181
          499
          9
          An open source machine learning platform
          181
          499
          + 1
          9
          PROS OF MLFLOW
          • 5
            Code First
          • 4
            Simplified Logging
          CONS OF MLFLOW
            Be the first to leave a con

            related MLflow posts

            Shared insights
            on
            MLflowMLflowDVCDVC

            I already use DVC to keep track and store my datasets in my machine learning pipeline. I have also started to use MLflow to keep track of my experiments. However, I still don't know whether to use DVC for my model files or I use the MLflow artifact store for this purpose. Or maybe these two serve different purposes, and it may be good to do both! Can anyone help, please?

            See more
            Biswajit Pathak
            Project Manager at Sony · | 6 upvotes · 461.2K views

            Can you please advise which one to choose FastText Or Gensim, in terms of:

            1. Operability with ML Ops tools such as MLflow, Kubeflow, etc.
            2. Performance
            3. Customization of Intermediate steps
            4. FastText and Gensim both have the same underlying libraries
            5. Use cases each one tries to solve
            6. Unsupervised Vs Supervised dimensions
            7. Ease of Use.

            Please mention any other points that I may have missed here.

            See more
            TensorFlow.js logo

            TensorFlow.js

            173
            373
            18
            Machine Learning in JavaScript
            173
            373
            + 1
            18
            PROS OF TENSORFLOW.JS
            • 6
              Open Source
            • 5
              NodeJS Powered
            • 2
              Deploy python ML model directly into javascript
            • 1
              Cost - no server needed for inference
            • 1
              Privacy - no data sent to server
            • 1
              Runs Client Side on device
            • 1
              Can run TFJS on backend, frontend, react native, + IOT
            • 1
              Easy to share and use - get more eyes on your research
            CONS OF TENSORFLOW.JS
              Be the first to leave a con

              related TensorFlow.js posts

              rashid munir
              freelancer at freelancer · | 3 upvotes · 98.5K views

              Need your kind suggestion if I should choose TensorFlow.js or TensorFlow with Python for ML models. As I don't want to go and have not gone too deep in JavaScript, I need your suggestion.

              See more
              Neel Bavarva
              Student at NeelBavarva · | 2 upvotes · 85.5K views
              Shared insights
              on
              TensorFlow.jsTensorFlow.jsPythonPython

              I am highly confused about using Machine Learning in Web Development. Should I learn ML in Python or start with TensorFlow.js as I'm a MERN stack developer? If any good resource (course/youtube channel) for learning Tensorflow.js is out there, please share it.

              See more