Skip to main content

Keras Successive Regularization Wrapper

Travis Coverage

A wrapper that slows down the updates of trainable weights.

Install

pip install keras-succ-reg-wrapper

Usage

import keras
from keras_succ_reg_wrapper import SuccReg

input_layer = keras.layers.Input(shape=(1,), name='Input')
dense_layer = SuccReg(
    layer=keras.layers.Dense(units=1, name='Dense'),
    regularizer=keras.regularizers.L1L2(l2=1e-3),  # Any regularizer
    name='Output',
)(input_layer)
model = keras.models.Model(inputs=input_layer, outputs=dense_layer)
model.compile(optimizer='adam', loss='mse')
model.summary()

Metadata

Release files for keras-succ-reg-wrapper 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keras-succ-reg-wrapper 0.4.0
File Size Uploaded Provenance Actions
keras-succ-reg-wrapper-0.4.0.tar.gz 2.9 kB Without provenance Details for keras-succ-reg-wrapper-0.4.0.tar.gz

Release files / keras-succ-reg-wrapper-0.4.0.tar.gz

Download URL keras-succ-reg-wrapper-0.4.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f95e5da1fd1b1f59a8e800dbec4db7582d99abcdcfbde613d4454ec50a844ce9
BLAKE2b-256 checksum
How to use checksums
78317a2847ddf48af8c3aff91b926c2b22c9fb2cb3db12afb92994eeae0195fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.7.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4

Security for keras-succ-reg-wrapper 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page