# Posts by Tags

## Solving ODE/PDE with Neural Networks

5 minute read

Published:

Differential equations and neural networks are naturally bonded. The best paper “Neural Ordinary Differential Equations” in NeurIPS 2018 caused a lot of attentions by utilizing ODE mechanisms when updating layer weights. On the other direction, there are also many research using neural network approaches to help investigate differential equations such as “Deep learning for universal linear embeddings of nonlinear dynamics”, “DGM: A deep learning algorithm for solving partial differential equations” or “Solving Irregular and Data-enriched Differential Equations using Deep Neural Networks”. In this post, I will make two toy examples to show the very the basic idea of using deep learning method for solving differential equations.

## Solving ODE/PDE with Neural Networks

5 minute read

Published:

Differential equations and neural networks are naturally bonded. The best paper “Neural Ordinary Differential Equations” in NeurIPS 2018 caused a lot of attentions by utilizing ODE mechanisms when updating layer weights. On the other direction, there are also many research using neural network approaches to help investigate differential equations such as “Deep learning for universal linear embeddings of nonlinear dynamics”, “DGM: A deep learning algorithm for solving partial differential equations” or “Solving Irregular and Data-enriched Differential Equations using Deep Neural Networks”. In this post, I will make two toy examples to show the very the basic idea of using deep learning method for solving differential equations.

2 minute read

Published:

## The Problem

I have a dual system window10/Ubuntu16.04 installed in my laptop. Today I can not access window files from Ubuntu and tried one command line from youtube which seems to mess things up :< The system did not boot like before but entering into the grub prompt instead. It seems that system does not know where/what to boot now and may need a manual configuration.

2 minute read

Published:

## The Problem

I have a dual system window10/Ubuntu16.04 installed in my laptop. Today I can not access window files from Ubuntu and tried one command line from youtube which seems to mess things up :< The system did not boot like before but entering into the grub prompt instead. It seems that system does not know where/what to boot now and may need a manual configuration.

## Solving ODE/PDE with Neural Networks

5 minute read

Published:

Differential equations and neural networks are naturally bonded. The best paper “Neural Ordinary Differential Equations” in NeurIPS 2018 caused a lot of attentions by utilizing ODE mechanisms when updating layer weights. On the other direction, there are also many research using neural network approaches to help investigate differential equations such as “Deep learning for universal linear embeddings of nonlinear dynamics”, “DGM: A deep learning algorithm for solving partial differential equations” or “Solving Irregular and Data-enriched Differential Equations using Deep Neural Networks”. In this post, I will make two toy examples to show the very the basic idea of using deep learning method for solving differential equations.

4 minute read

Published:

## Some intro

Recently I attended a workshop helping solve industrial problem hosted by the Fields Institute. One of the problems presented is developing accurate/efficient methods for matching Raman spectra from test sample to samples recorded in the library so that different chemicals can be detected effectively. This is a quite chanllenging problem. Theoretically speaking, though Raman spectroscopy is commonly used in chemistry to provide a structural fingerprint by which molecules can be identified, there are a huge amount of chemicals out in the nature among which many have quite similar Raman spectra. The fact that test samples are usually a mixture of different molecules make the problem even more difficult. Pratically speaking, spectra data recorded is not perfect. There will be noises of different kinds and background/baseline signal flooding the useful information.

4 minute read

Published:

## Some intro

Recently I attended a workshop helping solve industrial problem hosted by the Fields Institute. One of the problems presented is developing accurate/efficient methods for matching Raman spectra from test sample to samples recorded in the library so that different chemicals can be detected effectively. This is a quite chanllenging problem. Theoretically speaking, though Raman spectroscopy is commonly used in chemistry to provide a structural fingerprint by which molecules can be identified, there are a huge amount of chemicals out in the nature among which many have quite similar Raman spectra. The fact that test samples are usually a mixture of different molecules make the problem even more difficult. Pratically speaking, spectra data recorded is not perfect. There will be noises of different kinds and background/baseline signal flooding the useful information.

## geodesics on 2d surfaces

1 minute read

Published:

Geometries can be fun, though it will require a deep and strict mathematical formulation. Physics and geometry has nature and deep connections with each other. It is well known that einstein’s theory of general relaltivity will need the support from non-Euclidean Geometry. One of the interesting topics in geometry is about finding geodesics. You can image the geodesic as a curve that minimizes certain metrics bewteen two fixed points in the considered space. One natural way of formulating the problem formally is by calculus of variations where you write your target metric as a functional and the Euler - Langrange Equation of this functional will govern the behavior of the geodesic. Usually, if the configuration space will have dimension 2N where N is the dimension of the manifold with geodesics on. There is a beatiful theorm: Noether’s theorem that can help deduct the dimension to N by solving a corresponding equation on the Lie Algebra. I think Prof. Terrence Tao’s post gives a very good explanation about this techique.

9 minute read

Published:

## Why Leaves?

From long time ago, people have already learned to identify different kinds of plants by examing their leaves. Nowadays, leaf Morphology, Taxonomy and Geometric Morphometrics are still actively investigated. Leaves are beautiful creations of nature, people today are frequently inspired by them for creations of art works. For example, Candian people use a maple leaf as the center of their flag. It would very nice if computers can help create leaves automatically from sratches. I assume this is a very difficult task. In order to make a beginner’s start, it may be beneficial to investigate what makes different leaves different from each other. This is a classification problem. Features learned from classification may help us have a peek at a glimpse of nature’s genius idea when it decides to make such creations. In industry, automatic recognition of plants is also useful for tasks such as species identification/reservation, automatic separate management in botany gardens or farms uses plants to produce medicines. It is also a good practice for me to learn things that are beyong textbooks.

## Uottawa VPN connection via wifi

less than 1 minute read

Published:

It seems that the bash script provided by the university does not work for my machine with Ubuntu 16.04 LTS. For a wireless connection through VPN to be able to be “on campus”, you can follow the easy steps listed below.

• Download the configuration at here. You must be on campus to download it.
• Run the following commends in the location where you saved the configuration file:
pcf2vpnc empl.pcf  empl.conf
sudo cp empl.conf /etc/vpnc/
sudo vpnc empl

• If previous commands go well, you will be asked to provide username and account. (You can also hard code username and password in empl.conf file by uncommenting Xauth username Xauth password)

9 minute read

Published:

## Why Leaves?

From long time ago, people have already learned to identify different kinds of plants by examing their leaves. Nowadays, leaf Morphology, Taxonomy and Geometric Morphometrics are still actively investigated. Leaves are beautiful creations of nature, people today are frequently inspired by them for creations of art works. For example, Candian people use a maple leaf as the center of their flag. It would very nice if computers can help create leaves automatically from sratches. I assume this is a very difficult task. In order to make a beginner’s start, it may be beneficial to investigate what makes different leaves different from each other. This is a classification problem. Features learned from classification may help us have a peek at a glimpse of nature’s genius idea when it decides to make such creations. In industry, automatic recognition of plants is also useful for tasks such as species identification/reservation, automatic separate management in botany gardens or farms uses plants to produce medicines. It is also a good practice for me to learn things that are beyong textbooks.

9 minute read

Published:

## Why Leaves?

From long time ago, people have already learned to identify different kinds of plants by examing their leaves. Nowadays, leaf Morphology, Taxonomy and Geometric Morphometrics are still actively investigated. Leaves are beautiful creations of nature, people today are frequently inspired by them for creations of art works. For example, Candian people use a maple leaf as the center of their flag. It would very nice if computers can help create leaves automatically from sratches. I assume this is a very difficult task. In order to make a beginner’s start, it may be beneficial to investigate what makes different leaves different from each other. This is a classification problem. Features learned from classification may help us have a peek at a glimpse of nature’s genius idea when it decides to make such creations. In industry, automatic recognition of plants is also useful for tasks such as species identification/reservation, automatic separate management in botany gardens or farms uses plants to produce medicines. It is also a good practice for me to learn things that are beyong textbooks.

## geodesics on 2d surfaces

1 minute read

Published:

Geometries can be fun, though it will require a deep and strict mathematical formulation. Physics and geometry has nature and deep connections with each other. It is well known that einstein’s theory of general relaltivity will need the support from non-Euclidean Geometry. One of the interesting topics in geometry is about finding geodesics. You can image the geodesic as a curve that minimizes certain metrics bewteen two fixed points in the considered space. One natural way of formulating the problem formally is by calculus of variations where you write your target metric as a functional and the Euler - Langrange Equation of this functional will govern the behavior of the geodesic. Usually, if the configuration space will have dimension 2N where N is the dimension of the manifold with geodesics on. There is a beatiful theorm: Noether’s theorem that can help deduct the dimension to N by solving a corresponding equation on the Lie Algebra. I think Prof. Terrence Tao’s post gives a very good explanation about this techique.

9 minute read

Published:

## Why Leaves?

From long time ago, people have already learned to identify different kinds of plants by examing their leaves. Nowadays, leaf Morphology, Taxonomy and Geometric Morphometrics are still actively investigated. Leaves are beautiful creations of nature, people today are frequently inspired by them for creations of art works. For example, Candian people use a maple leaf as the center of their flag. It would very nice if computers can help create leaves automatically from sratches. I assume this is a very difficult task. In order to make a beginner’s start, it may be beneficial to investigate what makes different leaves different from each other. This is a classification problem. Features learned from classification may help us have a peek at a glimpse of nature’s genius idea when it decides to make such creations. In industry, automatic recognition of plants is also useful for tasks such as species identification/reservation, automatic separate management in botany gardens or farms uses plants to produce medicines. It is also a good practice for me to learn things that are beyong textbooks.

## Uottawa VPN connection via wifi

less than 1 minute read

Published:

It seems that the bash script provided by the university does not work for my machine with Ubuntu 16.04 LTS. For a wireless connection through VPN to be able to be “on campus”, you can follow the easy steps listed below.

• Download the configuration at here. You must be on campus to download it.
• Run the following commends in the location where you saved the configuration file:
pcf2vpnc empl.pcf  empl.conf
sudo cp empl.conf /etc/vpnc/
sudo vpnc empl

• If previous commands go well, you will be asked to provide username and account. (You can also hard code username and password in empl.conf file by uncommenting Xauth username Xauth password)