Skip to content

Margarida-Lourenco/Deep-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homework 1

Statement    Code Resolutions    Report

How to run

question 1

Follow this commands to run the desired model:

logistic regression:

python hw1-perceptron.py --model logistic_regression --save-path ./model.pkl

perceptron:

python hw1-perceptron.py [ --model perceptron ] --save-path ./model.pkl

mlp:

python hw1-mlp.py --save-path ./model.pkl

question 2

Question two is divided in three python files, namely hw1-ffn.py hw1-ffn-23a.py and hw1-ffn-23b.py, each corresponding to topics 2, 3 (a) and (b) of the main question, respectively. Write the command you would usually use to run any python file for either of them.

Homework 2

For this homework, if you can only access CPU on you machine, we strongly advise you to take the necessary files from this repository and run them on a online notebook or codespace due to their high computational cost and consequent extensive running time.

Statement    Code Resolutions    Report

question 1

Each of the developed models possess their own python files. To run each one, open the directory skeleton_hw2_q1, chose the desired statment topic (question 1.1 or question 1.2) and run:

python name_of_file_to_run.py --[no_softmax]

activate the --no_softmax flag if you wish to run the model without that output layer.

question 2

Write the command you would normally use to run a Python file to execute the topics in this question. All the files are named according to their item number and corresponding architecture.

About

Set of homeworks developed for the deep learning course

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages