Skip to content
Snippets Groups Projects
Select Git revision
  • 8b896312b6f3fffa43cbe1af4e38ba567fbf8942
  • master default
  • javadoc
  • gh-pages protected
  • 0.2.4
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.0
  • 0.0.3
  • 0.0.2
  • 0.0.1
12 results

HookEventProcessing.java

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    check_installation.py 786 B
    """ 
    This is a helper function which can help you debug the Python installation
    """
    import os
    import sklearn
    import numpy as np
    import pathlib
    import torch
    
    print('------------------------------------------------------------------')
    print('Path of this file {}'.format(os.path.abspath(__file__)))
    print('Current working directory {}.'.format(pathlib.Path().resolve()))
    print('')
    print('The numpy version is{}.'.format(np.__version__))
    print('The scikit-learn version is {}.'.format(sklearn.__version__))
    print('The Torch version is{}.'.format(torch.__version__))
    
    """
    Check that the course specific tools can be imported 
    """
    import dtuimldmtools 
    print('The dtuimldmtools package {}.'.format(dtuimldmtools))
    print('------------------------------------------------------------------')