title: What does class.weight in {e1071} do?
body: <p>I have been looking around for documentation on what the class.weight argument do in the e1071 package in R. Is it assigning different costs for the misclassification of the labels? </p>
  
  <p>This link also suggests that class.weight is used as input to limit the impact of disproportionate class size <a href="https://cran.r-project.org/web/packages/e1071/vignettes/svmdoc.pdf" rel="nofollow">https://cran.r-project.org/web/packages/e1071/vignettes/svmdoc.pdf</a></p>