March 29, 2024, 4:15 a.m. | /u/R3nT3knikDK

Deep Learning www.reddit.com

I'm just experimenting with thoughts for fun and was wondering if this would work and if it might be useful?

[Dynamic Force Index Algorithm](https://www.reddit.com/r/deeplearning/comments/1bn69if/shedding_light_on_neural_networks_might_this/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button) to visualize the weights dynamics in each layer in real time?

# Implementations:

**Extraction and plotting of layer weights:**

DynamicWeightPlotting.py

import tensorflow as tf
import matplotlib.pyplot as plt
import numpy as np

class WeightExtractor(tf.keras.layers.Layer):
def __init__(self, **kwargs):
super(WeightExtractor, self).__init__(**kwargs)
self.supports_masking = True

def call(self, inputs, **kwargs):
return inputs # Pass through with no changes


def extract_and_flatten_weights(model): …

call class deeplearning dynamics extraction fun import keras layer matplotlib numpy plotting real-time tensorflow thoughts true work

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

C003549 Data Analyst (NS) - MON 13 May

@ EMW, Inc. | Braine-l'Alleud, Wallonia, Belgium

Marketing Decision Scientist

@ Meta | Menlo Park, CA | New York City