Categories

## Make a line break when identifying (number + string)

I have the following words: 12"The world… 13The end 14"I have 16 years 15Kiss me And I need to separate it like this: 12"The world… 13The end 14"I have 16 years 15Kiss me To separate, I use (number + string) example (123xxx) Any number that is concatenated with a string I need to break \n […]

Categories

## Which ethernet cable choice for my home wiring plans?

I’m planning on wiring my Portland, OR (cold & damp, but non-freezing climate) house for Unshielded Cat 6 or Cat 6a ethernet. I enjoy this kind of long project. I’ll be running in various locations and don’t know which type of wire I should choose for the various locations. No buried or wet runs, BTW, […]

Categories

## How do I debug backprop implementation from scratch?

I created a simple neural network for binary classification from scratch (inspired by an implementation from one of Andrew Ng’s classes). However, I think I got the backprop portion wrong somewhere because gradient descent fails to minimize the cost. In this example, after about the 1300th iteration, dJ/dW becomes NaN (and subsequently, W becomes NaN […]

Categories

## Pipe output from DIR into CERTUTIL

In Win10, looking for way to pipe the output from a DIR command at the Command Prompt or in a Batch File to serve as input to the CERTUTIL command. IOW, I want to get the MD5 hash for all of the files matched by a DIR command. The following command does produce a bare […]

Categories

## Pipe output from DIR into CERTUTIL

In Win10, looking for way to pipe the output from a DIR command at the Command Prompt or in a Batch File to serve as input to the CERTUTIL command. IOW, I want to get the MD5 hash for all of the files matched by a DIR command. The following command does produce a bare […]

Categories

## resd instruction in AT&T syntax

I’m having trouble finding the equivelent operation for the “resb” instruction as outlined in the nasm manual. I’ve also had trouble finding equivelents to “db”, “dw”, etc. They seem to be “.byte”, “.short”, and “.long” corresponding to “db”, “dw”, and “dd” respectively, but I am unsure as I’ve only gathered this from random code snippets. […]

Categories

## Construction of a piecewise linear function

Given some continuous probability distribution $\rho$ over $\mathbb{R}^3$-tuples (a, w, b), define the function $y(x) = \int a \max(0, wx+b) \rho(da,dw,db)$. Can we construct a continuous probability distribution $\rho$ s.t. $y$ is a (non-constant) piecewise linear function over $\mathbb R$. Is that possible? A couple things to note here: 1) For discrete or mixed discrete-continuous […]

Categories

## Derivation and Coding of Backpropagation in NumPy

I am using cross entropy cost function to calculate its derivatives using different variables $Z, W$ and $b$ at different instances. Please refer image below for calculation. As per my knowledge my derivation is correct for $dZ, dW, db$ and $dA$ but if I refer to Andrew Ng coursera stuff then I am seeing an […]

Categories

## Derivation and Coding of Backpropagation in NumPy

I am using cross entropy cost function to calculate its derivatives using different variables $Z, W$ and $b$ at different instances. Please refer image below for calculation. As per my knowledge my derivation is correct for $dZ, dW, db$ and $dA$ but if I refer to Andrew Ng coursera stuff then I am seeing an […]

Categories

## Derivation vs Coding of derivation(numpy) in deep learning

First of all apology for representing stuff on paper as I didn’t find an easier way to post equation in stackover I am using cross entropy cost function to calculate its derivatives using different variables Z, W and b at different instances. Please refer image below for calculation. As per my knowledge my derivation is […]