Git Product home page Git Product logo

pratham2442000 / bachelorthesis Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 93.47 MB

A Thesis Submitted to EEMCS Faculty Delft University of Technology, in Partial Fulfilment of the Requirements for the Bachelor of Computer Science and Engineering. Code for bachelor thesis.

Home Page: http://resolver.tudelft.nl/uuid:a2c5e474-cd2d-4096-bc2d-5ef2ac76803f

Python 17.55% Jupyter Notebook 82.45%
tudelft-cse-research-project

bachelorthesis's Introduction

BachelorThesis

A Thesis Submitted to EEMCS Faculty Delft University of Technology, in Partial Fulfilment of the Bachelor of Computer Science and Engineering Requirements. Code for bachelor thesis. This is for Research Project for the year 2024 Q2.

How to run

We use a conda environment to run the code. It is running on WLS 2 with Ubuntu.

To use conda in WSL, you need to set up WSL first, then install conda in WSL. Then you can create a conda environment and install the packages required.

After that, you can run the code in the environment.

First, run the LCDB_loclised.py to get the curves required.

Afterwards, you can run exp_1.ipynb to check metrics, exp_2.ipynb to see where the LC-PFN model suffers and training_lcdb.ipynb to train the model(currently causing the trained model to not give proper results leading a straight-line at 0.8).

If you have issues with the LC-PFN, change all the from lcpfn.lcpfn import * to from lcpfn import * in the folder lcpfn.

Additional information:

For experiment 2, you need the baseline (Last 1 and mmf4). You can get it from the LCDB Github repo follow the instructions to get the "df_total.gz" file. Then you can run the experiment 2 notebook. If you run it with getting the baseline you will only get the MSE for LC-PFN.

Code for LC-PFN from :

https://github.com/automl/lcpfn

@inproceedings{
anonymous2023efficient,
title={Efficient Bayesian Learning Curve Extrapolation using Prior-Data Fitted Networks},
author={Adriaensen, Steven and Rakotoarison, Herilalaina and Müller, Samuel and Hutter, Frank},
booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023},
url={https://openreview.net/forum?id=xgTV6rmH6n}
}

Code for LCDB from : https://github.com/fmohr/lcdb/

@inproceedings{lcdb,
  title={LCDB 1.0: An Extensive Learning Curves Database for Classification Tasks},
  author={Mohr, Felix and Viering, Tom J and Loog, Marco and van Rijn, Jan N},
  booktitle = {Machine Learning and Knowledge Discovery in Databases. Research Track - European Conference, {ECML} {PKDD} 2022, Grenoble, France, September 19-24, 2022},
  year={2022}
}

bachelorthesis's People

Contributors

pratham2442000 avatar

Stargazers

 avatar

Watchers

 avatar

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.