Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lim185 authored Oct 28, 2025
1 parent 77beb7e commit d99b613
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,25 @@ The reason this is not done adaptively is because the `timeseries` blocks combin

### Encoding
Required Inputs:
.mat files in the matfiles directory, .hdf5 file in hdf5 directory, or .csv files in csv directory.
.mat files in the matfiles directory (currently operational), or WORK IN PROGRESS: .hdf5 file in hdf5 directory, or .csv files in csv directory.

Model inputs (x):
* A matrix containing 130 feature vectors corresponding to frequency, each 26 tokens long, corresponding to number of measurements.
* (Work in progress) 3x26 matrix containing backscatter brightness, normalized standard deviation and backscatter brightness.
* A matrix containing 130 channels corresponding to frequency, each 35 tokens long, corresponding to number of measurements, and 3 channels each 35-tokenslong containing backscatter brightness, normalized standard deviation and foreground pixel count. The 130x35 matrix and the three 1x35 vectors are individually regularized and merged into one 133x35 matrix before being fed into the neural net.

Encoder output (y):
* Two 1xN one-hot encoded classification vectors that predicts sample type and treatment applied.

To run encoding, use `python train_encoder.py`. This is subject to change later when the decoder is actually operational and there is a need to distinguish the training code file names.

### Decoding
Required Inputs:
.mat files in the matfiles directory (currently operational), or WORK IN PROGRESS: .hdf5 file in hdf5 directory, or .csv files in csv directory.

Model inputs (y):
* Two 1xN one-hot encoded classification vectors that predicts sample type and treatment applied.

Decoder output (x'):
* One 133x35 matrix that can be split into 130x35 spectra, 1x35 backscatter brightness, normalized standard deviation, and foreground pixel count.

To run decoding, use `python decodertest.py`. This is subject to change later as this is only a "test" version of the decoder training workflow.

Expand Down

0 comments on commit d99b613

Please sign in to comment.