Giter Site home page Giter Site logo

ilyakisil / dpm-coursework Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 6.0 3.38 MB

:orange_book: Materials for EE4-13 Adaptive Signal Processing and Machine Intelligence (2019-2020)

Home Page: http://intranet.ee.ic.ac.uk/electricalengineering/eecourses_t4/course_content.asp?c=EE4-13&s=D4#start

Shell 2.13% Python 12.27% Jupyter Notebook 85.59%

dpm-coursework's People

Contributors

ilyakisil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dpm-coursework's Issues

residual_tensor has moved to utils\generation

Expected Behaviour

In Section 3, expect to import residual_tensor from hottbox.core.

Current Behaviour

Fails to import residual_tensor.

Steps to Reproduce

from hottbox.core import residual_tensor

Additional context

Solve: residual_tensor is now in hottbox.utils.generation.
Change to : from hottbox.utils.generation import residual_tensor

Repeated work in assngments

For Q1&Q2 in assignment2 of module 3:

1.Use multi-linear rank equal to (50, 50, 2) in order to obtain Tucker representations of images of the car and apple. Analyse results by visually inspecting their reconstructions.

2.Use multi-linear rank equal to (50, 50, 2) in order to obtain Tucker representations of images of the apple taken from the top and from the side. Analyse results by visually inspecting their reconstructions.

I think these 2 questions overlap?

Thank you

Tensor mode indexing

image
For the above assignment in tensor unfolding, do you mean A.unfold(mode=1) or mode-2 unfolding ( A.unfold(mode=2))?

Residual_tensor import error

The residual_error function provided by the Hottbox library moved from:
hottbox.core
to
hottbox.utils.generation

Steps to Reproduce

  1. Run imports for Part 3

Cannot run the project on mac

Cannot run the bash script on mac

Expected Behaviour

project starts and works

Current Behaviour

Below terminal output:

(base) Yanniss-MBP:dpm-coursework-master yannispanagis$ sudo ./boostrap-venv.sh
Password:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

Package Plan

environment location: /Applications/anaconda3/envs/dpm-coursework

added / updated specs:
- python=3.6.5

The following NEW packages will be INSTALLED:

ca-certificates pkgs/main/osx-64::ca-certificates-2021.1.19-hecd8cb5_1
certifi pkgs/main/osx-64::certifi-2020.12.5-py36hecd8cb5_0
libcxx pkgs/main/osx-64::libcxx-10.0.0-1
libedit pkgs/main/osx-64::libedit-3.1.20210216-h9ed2024_1
libffi pkgs/main/osx-64::libffi-3.2.1-h0a44026_1007
ncurses pkgs/main/osx-64::ncurses-6.2-h0a44026_1
openssl pkgs/main/osx-64::openssl-1.0.2u-h1de35cc_0
pip pkgs/main/osx-64::pip-21.0.1-py36hecd8cb5_0
python pkgs/main/osx-64::python-3.6.5-hc167b69_1
readline pkgs/main/osx-64::readline-7.0-h1de35cc_5
setuptools pkgs/main/osx-64::setuptools-52.0.0-py36hecd8cb5_0
sqlite pkgs/main/osx-64::sqlite-3.33.0-hffcf06c_0
tk pkgs/main/osx-64::tk-8.6.10-hb0a8c7a_0
wheel pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0
xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
zlib pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

To activate this environment, use

$ conda activate dpm-coursework

To deactivate an active environment, use

$ conda deactivate

Failed to import the site module
Traceback (most recent call last):
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 541, in
main()
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 522, in main
known_paths = addusersitepackages(known_paths)
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 282, in addusersitepackages
user_site = getusersitepackages()
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 258, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 248, in getuserbase
USER_BASE = get_config_var('userbase')
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/sysconfig.py", line 608, in get_config_var
return get_config_vars().get(name)
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/sysconfig.py", line 587, in get_config_vars
import _osx_support
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/_osx_support.py", line 4, in
import re
ValueError: source code string cannot contain null bytes
Failed to import the site module
Traceback (most recent call last):
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 541, in
main()
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 522, in main
known_paths = addusersitepackages(known_paths)
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 282, in addusersitepackages
user_site = getusersitepackages()
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 258, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/site.py", line 248, in getuserbase
USER_BASE = get_config_var('userbase')
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/sysconfig.py", line 608, in get_config_var
return get_config_vars().get(name)
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/sysconfig.py", line 587, in get_config_vars
import _osx_support
File "/Applications/anaconda3/envs/dpm-coursework/lib/python3.6/_osx_support.py", line 4, in
import re
ValueError: source code string cannot contain null bytes
DeprecationWarning: 'source deactivate' is deprecated. Use 'conda deactivate'.
(base) Yanniss-MBP:dpm-coursework-master yannispanagis$ conda activate dpm-coursework

Steps to Reproduce

Additional context

Unclear assignment instruction

For Q3 in Assignment 1 of module 2:

  1. For a 3-rd order tensor that consists of 500 elements, provide three different Kruskal representations.

Does that mean those three different Kruskal representations represent the same tensor satisfying the constraints?

Thank you

Inconsistent definition of slice and fiber

Hi!

For the following definition of fiber and slice, the code example seems to be inconsistent with the description above.

image

For example, for mode-2 fiber, shouldn't the correct indexing be [0,:,1]?

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.