Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to freeze layers. #49

Open
jacobdwatters opened this issue Feb 4, 2022 · 1 comment
Open

Add ability to freeze layers. #49

jacobdwatters opened this issue Feb 4, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jacobdwatters
Copy link
Owner

In order to support transfer learning, layers should be able to be frozen. I.e. their trainable parameters should be able to be made non-trainable.

@jacobdwatters jacobdwatters added the enhancement New feature or request label Feb 4, 2022
@jacobdwatters jacobdwatters self-assigned this Feb 4, 2022
@jacobdwatters
Copy link
Owner Author

In order for this to be useful, epochs and batchSize will need to be passed to the fit() method of a NeuralNetwork rather than to the constructor. This should also be changed for all other iterative models: Preceptron, LinearRegressionSGD, MultipleLinearRegressionSGD, PolynomialRegressionSGD, and LogisticRegression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant