Ask Your Question
1

How does applying a filter on the number of samples affect the time per step in Keras, and does it have any impact on the epoch time?

asked 2022-04-16 11:00:00 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-05-20 11:00:00 +0000

qstack gravatar image

Applying a filter on the number of samples in Keras will affect the time per step by reducing it since there are fewer samples to process. The reduction in time per step may increase the number of steps per epoch, but this depends on the other parameters set in the model such as batch size.

However, applying a filter on the number of samples may not have a significant impact on the epoch time because the total number of samples in the dataset remains the same. It only affects the number of samples that are fed into the model for each step. Hence, the overall training time may not change significantly.

In summary, applying a filter on the number of samples may reduce the time per step, but it may not have a significant impact on the epoch time.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-04-16 11:00:00 +0000

Seen: 8 times

Last updated: May 20 '22