Skip to content

Conversation

dmitryusenko
Copy link
Collaborator

@dmitryusenko dmitryusenko commented Sep 23, 2022

Notable changes:

  • Add default values for batchSize, epochs and patience parameters.
  • Make inputFeatureExtractors and outputFeatureExtractor parameters optional.
  • Rename printResults to printTestingResults.
  • And other code style updates and improvements.

refactor: use array destructuring

refactor: remove redundant variable inside binarize method, and move it to a separate file

refactor: use generic types instead of type assertion

fix: update error message

refactor: make inputFeatureExtractors and outputFeatureExtractor parameters optional

refactor: improve BinaryClassificationTrainer constructor

refactor: remove optional parameters from example application

refactor: add return type

refactor: rename printResults to printTestingResults

refactor: use for-of instead of forEach
@astorozhevsky astorozhevsky merged commit ab21b33 into main Sep 23, 2022
@dmitryusenko dmitryusenko deleted the refactoring branch September 28, 2022 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants