Testing strengths and pitfalls of likelihood-free inference with neural networks on the MassiveNus peak count data set [1,2]
Clone the repo then run
pip install --user -e .
Then to test the install and generate the data simply run
pytest
throwing LFI on massiveNus sims
License: MIT License
implement IMNN data compression for MassiveNuS peak counts
Implement regularization for the NDE training.
Compare using Gaussian pseudo-likelihood the posterior derived from score, PCA, etc compressed data vectors to the posterior from the the peak count data vector to validate the different compression methods.
Traceback (most recent call last):
File "", line 1, in
File "/home/nessa/Documents/codes/MnuLFI/mnulfi/data.py", line 50, in PeakCnts_LHC
peakct = np.load(os.path.join(UT.dat_dir(), 'avg_peakcnts_lhc.npy'), allow_pickle=True)
NameError: name 'UT' is not defined
When I try to run Data._make_data(), it is giving me this error
Traceback (most recent call last):
File "", line 1, in
File "/Users/arinavsar/Desktop/MnuLFI-master/mnulfi/data.py", line 130, in _make_data
avg_peak = np.average(peaks, axis=1)
File "<array_function internals>", line 6, in average
File "/Users/arinavsar/anaconda3/envs/mnulfi/lib/python3.7/site-packages/numpy/lib/function_base.py", line 390, in average
avg = a.mean(axis)
File "/Users/arinavsar/anaconda3/envs/mnulfi/lib/python3.7/site-packages/numpy/core/_methods.py", line 138, in _mean
rcount = _count_reduce_items(arr, axis)
File "/Users/arinavsar/anaconda3/envs/mnulfi/lib/python3.7/site-packages/numpy/core/_methods.py", line 57, in _count_reduce_items
items *= arr.shape[ax]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.