Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@specifics
specifics / fun-with-hyper-parameter-tuning.md
Last active February 25, 2018 21:59
Notes for "Fun with Hyper-Parameter Tuning" presentation on 25-Feb-2018

Fun with Hyper Parameter Tuning

Presentation by John Burt, Ph.D @ PSU Business Accelerator on 25 Feb 2018 @ 1pm

  • CV = cross-validation

Code Example 1

  • Done mainly using the sklearn library
  • Count vectorizor: each word occurrence is a vector
  • Text data > Feature Engineering: TfidVectorizer > Classifier: SGDClassifier > Hyper-parameter tuning: GridsearchCV