Ben Chuanlong Du's Blog

It is never too late to learn.

Keywords Extracting from Text

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Word Stemming

  1. existing stemming method such as NLTK.PorterStem, etc.

  2. didn't -> did not, there's -> there is, etc. Mr. -> Mister Mrs. -> ... Ms. -> ...

Other things

  1. it seems that it is hard to get …

Experiment Design

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. Complete Randomized Design (CRD)

  2. Randomized Complete Block Design (CBD)

    • same RNE as CRD
  3. Latin Square Design (LSD)
    • same RNE as CRD
  4. Balanced Incomplete Block Design

    • all treatments cannot fit in any …

Sampling Methods

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Probability Sampling

  • Random Sampling

  • Systematic Sampling

  • Stratified Sampling

Non-probability Sampling

  • Convenience Sampling

  • Judgement Sampling

  • Quota Sampling

  • Snowball Sampling

bias

Model Fitting in ANOVA Analysis

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Contrast

  1. Usually it does not matter what contrast(s) you use for factors in linear model problems[^20], so you can choose appropriate contrast(s) so that your problem is most …

Make Your Model Training Reproducible in PyTorch

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The PyTorch doc Reproducibility has very detailed instructions on how to make your model training reproducible. Basically, you need the following code.

torch.manual_seed(args.seed)
np.random.seed(args.seed …