GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DoubleML/doubleml-deep: Deep Learning in combination with DoubleML

BranchesTags
Open more actions menu

Latest commit

 

History

631 Commits
631 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
doubleml_deep
doubleml_deep
 
 
.coverage
.coverage
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
classes.svg
classes.svg
 
 
default_models.svg
default_models.svg
 
 
pyproject.toml
pyproject.toml
 
 
pytest.ini
pytest.ini
 
 
requirements-dev.txt
requirements-dev.txt
 
 
requirements.txt
requirements.txt
 
 
setup.py
setup.py
 
 

Repository files navigation

DoubleML-Deep

This repository contains specialized Deep Learning models for DoubleML applications.

Logging and Workflows

For example workflows, refer to doubleml-deep-sandbox@j-workflow As Weights & Biases is free for educational purposes and offers the possibility to work together and share results, a private team was created. This simplifies tracking of the relevant (hyper-) parameters and results, especially when using cloud servers (for example UHH MIN JupyterHub). Refer to our new dmldeep W&B Team.

Package Structure

The package uses an abstract base class DoubleMLDeep, which includes the networks and necessary elements to train PyTorch deep learning models (usually based on pretrained models from the Hugging Face library). The training is implemented via Lightning to allow for a flexible but high-level framework.

DoubleMLDeepData Class

The DoubleMLDeepData class (LightningDataModule) allows you to organize and structure all data, including training, validation, and test/prediction datasets. This class requires the csv_path to the base CSV file, the image_dir where the images are stored (if the image modality is used), and the data_field_map to map the variables to different modalities and define the treatments and the outcome.

DoubleMLLightning Class

The DoubleMLLightning class (LightningModule) enables to easily define a training process for your DoubleMLDeep model.

Below is the high-level structure of the main package:

DoubleMLDeep Package Structure

BaseModel Class

The package includes the default_models package. These classes combine the models, potential preprocessing steps, input formatting, and embedding generation. E.g. distilbert, tabtransformer, and the VIT (with three model sizes) default models have been added.

The models supported are shown in the graph below:

DoubleMLDeep Default Models

Flexible Modalities

With the updates on this branch, you can combine the modalities as needed. Pass None for each modality inside the model_dict and the data_field_map. The only exception is the use of only the tabular modality, as you can use the standard doubleml-for-py package instead.

About

Deep Learning in combination with DoubleML

Resources

Readme
License
Activity
Custom properties

Stars

6 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.