https://arbor-analytics.com/post/mixed-models-a-primer/
This site is to serve as my note-book and to effectively communicate with my students and collaborators. Every now and then, a blog may be of interest to other researchers or teachers. Views in this blog are my own. All rights of research results and findings on this blog are reserved. See also http://youtube.com/c/hongqin @hongqin
Fourier Neural Operator for Parametric Partial Differential Equations
Zongyi Li∗ , Nikola Kovachki∗ , Kamyar Azizzadenesheli† , Burigede Liu∗ , Kaushik Bhattacharya∗ , Andrew Stuart∗ , Anima Anandkumar∗ October 20, 2020
"The classical development of neural networks has primarily focused on learning mappings between finite-dimensional Euclidean spaces. Recently, this has been generalized to neural operators that learn mappings between function spaces. For partial differential equations (PDEs), neural operators directly learn the mapping from any functional parametric dependence to the solution. Thus, they learn an entire family of PDEs, in contrast to classical methods which solve one instance of the equation. In this work, we formulate a new neural operator by parameterizing the integral kernel directly in Fourier space, allowing for an expressive and efficient architecture. We perform experiments on Burgers’ equation, Darcy flow, and the Navier-Stokes equation (including the turbulent regime). Our Fourier neural operator shows state-of-the-art performance compared to existing neural network methodologies and it is up to three orders of magnitude faster compared to traditional PDE solvers."
https://www.technologyreview.com/2020/10/30/1011435/ai-fourier-neural-network-cracks-navier-stokes-and-partial-differential-equations/?utm_term=Autofeed&utm_campaign=site_visitor.unpaid.engagement&utm_medium=tr_social&utm_source=Facebook&fbclid=IwAR3HPDxmTVGrYLdfUzBFL7KeHiSlfN57dmZx2IStwA4dNpywqccY6Ip_9sk#Echobox=1604049241
# Hong will install anaconda R403 in a conda environment on ts117. This strategy worked.
conda create --name condaR403
environment location: /home/hqin/.conda/envs/condaR403
-bash-4.2$ conda activate condaR403
conda install -c r r-base #??
# which R shows an R403 inside an conda environment.
R
install.packages('tidyverse') #this seems worked.
install.packages('EpiNow2') #this run for a while
non-zero exit again due to V8.
(condaR403) -bash-4.2$ conda install -c conda-forge libv8
$ conda install -c conda-forge r-randomcolor
R
install.packages('EpiNow2') #this worked!!!!
> library(EpiNow2)
>
module load sge
qsub epinow2.pbs #this runs!!!!
(condaR403) -bash-4.2$ cat epinow2.pbs
#!/bin/bash -l
#$ -S /bin/bash
#$ -N epinow_job
#$ -V
#$ -cwd
. /etc/profile.d/modules.sh
module load anaconda/5.2.0
source activate condaR403
R -f batch_Rt_by_county.R --args 900 901 1 4/1/2020 5/1/2020
# THIS DID NOT WORK
-bash-4.2$ module load anaconda/5.2.0
-bash-4.2$ conda create --name tsR403
Collecting package metadata: done
Solving environment: done
## Package Plan ##
environment location: /home/hqin/.conda/envs/tsR403
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate tsR403
#
# To deactivate an active environment, use
#
# $ conda deactivate
-bash-4.2$
-bash-4.2$ conda activate tsR403
(tsR403) -bash-4.2$ conda install -c conda-forge libv8
Collecting package metadata: done
Hong then run R
install.packages('tidyverse') #this seem to worked.
-----------------------------[ ANTICONF ]-------------------------------
Configuration failed to find the libv8 engine library. Try installing:
* deb: libv8-dev or libnode-dev (Debian / Ubuntu)
* rpm: v8-devel (Fedora, EPEL)
* brew: v8 (OSX)
* csw: libv8_dev (Solaris)
To use a custom libv8, set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
---------------------------[ ERROR MESSAGE ]----------------------------
<stdin>:1:16: fatal error: v8.h: No such file or directory
compilation terminated.
-------------------------------------------------------
(tsR403) -bash-4.2$ conda install -c conda-forge r-randomcolor
Collecting package metadata: \
#this install many packages
Ref: https://github.com/iaconogi/bigSCale2/issues/19
I then tried:
R: install.packages('EpiNow2') #this seems to be running now.
library(EpiNow2) #it worked!
install.packages('woldmet')
#The entire install seem to take almost 2 hours.
Checked a few hour later, EpiNow2 installation did not work.
minority serving instutitons, rugters
https://cmsi.gse.rutgers.edu/sites/default/files/MSI%20List.pdf
see:
https://askubuntu.com/questions/1237102/problem-installing-r-4-0-on-ubuntu-18-04
sudo apt remove r-base
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/'
sudo apt update
sudo apt install r-base
COVID19 tweets with geo tag at IEEE
2565 3rd St, Suite 244
San Francisco, CA 94107
enterprise@lambdalabs.com
Operating System: Ubuntu 18.04 + Lambda Stack
- Software: TensorFlow, PyTorch, Caffe, Keras, CUDA, cuDNN
- Processor: Intel Core i9-9820X (10 Cores, 3.30 GHz)
- CPU Cooler: Air Cooling
- GPUs: 4x RTX 2080 Ti
- Memory: 64 GB
- Operating System Drive: 2 TB NVMe (3,500 MB/s Read)
- Data Drive: No Data Drive
- Warranty & Support: Three years of hardware coverage, plus technical support from a Lambda engineer.
- EDU: Academic Discount Applied
1 $8,300.00 $8,300.00
info man
-bash-4.2$ ls /cm/shared/apps/R/R-3.4.3/share/info/
Out of 'AL' style
cruise ships
federal correction facilities
unassigned cases (to counties or states),
FIPS of 99999
"For records corresponding to parts of or entire county entities that do not overlap any 2010 urban area, the urban area code is 99999, the urban area name is “Not in a 2010 urban area”, and the urban area population, housing unit count, total area, and land area values are null. The percent values relating to the urban area are also null."
Ref: https://www.census.gov/programs-surveys/geography/technical-documentation/records-layout/urban-area-record-layouts.html
https://www.pnas.org/content/116/22/10905
Go to CITProgram.org, register using UTC emails,
https://about.citiprogram.org/en/homepage/
S. Jackson
Share recording with viewers:
https://tennessee.zoom.us/rec/
https://en.wikipedia.org/wiki/Heckman_correction
"Conceptually, this is achieved by explicitly modelling the individual sampling probability of each observation (the so-called selection equation) together with the conditional expectation of the dependent variable (the so-called outcome equation)"
The Heckman used Mills ratio to model right-censored data as 'selection bias'.
https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3659766
`selection bias' using the inverse Mills ratio neglected by epidemiologists.
https://en.wikipedia.org/wiki/Mills_ratio
Mills ratio is the Survival function / pdf,
The Gompertz function is u = - dS/dt * 1/S, so, HQ thinks Mills ratio is the inversion of the Gompertz mortality rate.
related to
https://en.wikipedia.org/wiki/Heckman_correction
over-smoothed curves may lose some details
rough or over-sensitive smoothed curse may be too noisy. An ideal choice of smoothing parameter can be obtained by appropriately contructed error measures, such as residuals.
Ref: Sharma, 2000, J of hydrology, seasonal to interannaul rainfall probabilistic forecasts for improved water supply management.
mutual information criterion for time series analysis
cran
https://rdrr.io/cran/tseriesChaos/man/mutual.html
(1) Please acknowledge the use of ERA5-Land as stated in the Copernicus C3S/CAMS License agreement:
"5.1.2 Where the Licensee communicates or distributes Copernicus Products to the public, the Licensee shall inform the recipients of the source by using the following or any similar notice: 'Generated using Copernicus Climate Change Service Information [Year]'.
5.1.3 Where the Licensee makes or contributes to a publication or distribution containing adapted or modified Copernicus Products, the Licensee shall provide the following or any similar notice: 'Contains modified Copernicus Climate Change Service Information [Year]';
Any such publication or distribution covered by clauses 5.1.1 and 5.1.2 shall state that neither the European Commission nor ECMWF is responsible for any use that may be made of the Copernicus Information or Data it contains."
(2) cite the ERA5-Land dataset (as part of the bibliography) as follows:
Muñoz Sabater, J., (2019): ERA5-Land hourly data from 1981 to present. Copernicus Climate Change Service (C3S) Climate Data Store (CDS). (<date of access>), 10.24381/cds.e2161bac
Muñoz Sabater, J., (2019): ERA5-Land monthly averaged data from 1981 to present. Copernicus Climate Change Service (C3S) Climate Data Store (CDS). (<date of access>), 10.24381/cds.68d2bb30