Skip to content

Yihang-Li/MDS6106Project

Repository files navigation

MDS6106Project

Final project of MDS6106 Optimization

  • Solving variant-SVM and variant-Logistic Regression by implementing GM, AGM, BFGS, L-BFGS, SGD
  • 4 self-generated data sets & some large-scale datasets from LIBSVM

To do list (Pytorch Version)

  • Create to do list

  • Generating Data

  • Create Mini-Batch

  • Solve Logistic Regression Problem from Scratch (In order to get some sense)

    • Initializing Model Parameters
    • Define the Model
    • Define the Loss Function
    • Define the Optimization Algorithm (SGD, first try simplest version)
    • Define Classification Accuracy and eval_accuracy for given model on specific dataset
    • Training
    • Plot the Result (With seperating line)
    • Choose $\lambda$ by using Cross-Validation
    • Rewrite the optimization algorithm (SGD, the average version)
  • Optimization Part

    • Implement basic Gradient Method
    • Implement Accelerated Gradient Method
    • Implement BFGS
    • Implement L-BFGS
  • SVM Part

Releases

No releases published

Packages

No packages published

Languages