Giter Site home page Giter Site logo

LOFAR Labelling about rfi-nln HOT 5 CLOSED

mesarcik avatar mesarcik commented on June 5, 2024
LOFAR Labelling

from rfi-nln.

Comments (5)

mesarcik avatar mesarcik commented on June 5, 2024

Description

  • I have labelled up to sample 160. I think this is sufficient for testing.
  • The purpose of this dataset is to determine whether training models on AOFlagger will result in "good" performance.

To do

  • Re-read the hand-labelled examples and make a plot comparing my flags with the original data.
  • Create datafile containing the test data that I have labelled
  • Determine optimal AOFlagger thresholding strategy based on the our now labelled ground truth
  • Train the UNET and AE using the AOflagged data and evaluate it on the ground truth.

Dataset structure

def generate_lofar(...):
    # loop through both the default and defaultanot directory and read in the masks as np arrays concatenating them on each iteration 
    # select the remaining 370 images as training data, but do not create any masks 
    # when we read in the dataset we need to generate the masks using the selected AOFlagger strategy 

from rfi-nln.

mesarcik avatar mesarcik commented on June 5, 2024

Dataset problems

  • tldr i need to start labelling from scratch.
  • As albert-jan pointed out, I stupidly uploaded the dataset with compression, in effect I blurred out much of the detail in my spectrogram see below:

Compressed:

image

Uncompressed

image

plt.imshow

image

from rfi-nln.

mesarcik avatar mesarcik commented on June 5, 2024

Change of datasource

  • In further inspection of the adder spectra i have found they all are version 1.4, i.e. the have some scaling factor saved separately to the visibilities (im not sure exactly what downsampling scheme is used)
  • However it seems that when performing the compression there are a number of overflows (particularly in RFI infested regions), this is irrespective of bit-depth shown below (first is uint8, float32, float64)

35

  • I there think it is a better idea to use the LTA data because from as far as i have seen these problems do not exist

Fixed labeling

  • I changed from CVAT to lableme because CVAT doesnt allow 1x1px labels
    temp_1

from rfi-nln.

mesarcik avatar mesarcik commented on June 5, 2024

Considerations

  • it seems to me that there is both some under and over flagging from AOFLagger
  • this may have unforseen cosequences for our models
    689
    130
    250

from rfi-nln.

mesarcik avatar mesarcik commented on June 5, 2024

Own labels comparison

  • AUROC of 0.7788088786036889 between our masks and the AOflagger masks
    temp_22
    temp_105
    temp_131

from rfi-nln.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.