Coder Social home page Coder Social logo

verml's Introduction

verML - Verification of Machine Learning Practical Course

This repository collects efforts to formalize results on machine learning following the book "Understanding Machine Learning" by Shalev-Shwartz and Ben-David.

It features the following verifications:

  • Basics:
    • LearningTheory formalizes basic notation from Chapter 2
    • FiniteHypClasses proves that finite Hypothesis classes are PAC
  • VC dimension:
    • VCDim formalizes results from Chapter 6
  • Boosting:
    • Boosting formalizes AdaBoost following Chapter 10
  • Soft SVM:
    • SVM formalizes soft SVM following Chapter 15

verml's People

Contributors

maxhaslbeck avatar polarbart avatar ralidardjonova avatar

Stargazers

 avatar

Watchers

 avatar

verml's Issues

Prove Theorem 6.11

In the formalization of Boosting a crucial theorem is not proven yet: Theorem 6.11.
It is very important, as it provides the bridge between combinatorics and probability theory.

verML/VCDim.thy

Lines 730 to 735 in 9c98ae3

section \<open>Theorem 6.11\<close>
lemma assumes "set_pmf D \<subseteq> (X\<times>Y)"
and "\<delta>\<in>{x.0<x\<and>x<1}"
shows theorem611: "measure_pmf.prob (Samples m D) {S. \<forall>h\<in>H. abs(PredErr D h - TrainErr S {0..<m} h)
\<le> (4+sqrt(ln(real(growth (2*m)))))/(\<delta> * sqrt(2*m))} \<ge> 1 - \<delta>"
sorry

There are attempts to prove it following the Understanding Machine Learning book, but they are not complete.

  • [Theorem611.thy] contains a collection of mostly failed attempts
  • [NewTry.thy] contains a second attempt, that was not finished yet

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.