Content Uniformity Tests Implementation Based on Monte-Carlo simulation in C++ and Python
Content uniformity tests process Implemention in C++ and Python codes. Using C++ to speed codes for 100 times.
Content uniformity tests process Implemention in C++ and Python codes. Using C++ to speed codes for 100 times.
This post is to record the issues I encounted during the implementation from Keras to PyTorch. At first the structure of the CNN modes is introduced. Then, the codes in Keras are shown. Next, The partial implementation in pure Pytorch is given and at last, the implementation in Pytorch Lightning is also presented.
Kennard-Stone (KS) and SPXY algorithms are common sample split algorithms in the chemometrics field. Unlike random split, these two methods are based on the so called "maximum minimum distance", which means the split result of KS and SPXY are definite instead of random. This article will briefly introduce these 2 algorithms and provide the python implementation.