Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science
  3. Question
Data Science

How to use leaky relu keras?

Asked by Coleman Garvin Feb 13, 2023 2.6K views 1 answer
Share

About this question

How do you use LeakyRelu as an activation function in sequence DNN in keras? If I want to write something similar to:

 model = Sequential()
    model.add(Dense(90, activation='LeakyRelu'))
What is the solution? Is LeakyRelu similar to Relu?

Second question is: what is the best general setting for tuning the parameters of LeakyRelu? When is its performance significantly better than Relu?

Your answer

1 Answer

More Data Science discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.