laffinjulia's People
Forkers
fullstackdevillaffinjulia's Issues
Images of algorithms aren't showing
Fix this!
Add type stability explanations?
I may need to add an explanation of type stability in week 1. Otherwise, students may run into issues with mutating functions that try to update, for example Vector
s of Int
s to Vector
s of Float
s during an axpy
operation.
Treating scalars as scalars
... rather than as matrices with single elements. This issue is related to #2.
Consider the index-free implementation of dot
using FLAME. In the Matlab/Python implementation of FLAME, slicing and dicing results in chi_1 and psi_1 being represented as matrices. This is consistent with alpha being represented as a matrix, rather than a number, given the update
alpha += chi_1 + psi_1
I've chosen to represent alpha as a Number
(consistent with my choice in this version to represent rank 1 objects as Vector
s). For consistency, should I represent chi_1 and psi_1 as Number
s as well? I need to check if slicing and dicing ever results in chi_1 and psi_2 having multiple elements (I think this can happen but I haven't tested that case). If so, I may want to treat alpha as a matrix.
Remove `using` statements
Currently I specify using .laff
and using .flame
, in addition to specifying the origin of functions from either module, e.g. as laff.copy!
. This is redundant. I'd prefer to keep the namespace specifications and drop the using
statements.
Edit week 3 text discussing matrices as scalars
... to remove conflations.
Naming convention may have changed between Python and matlab versions of course
Update function names to match Matlab notes accordingly. For example, in week 4 Tmvmult_un_unb_var2
in the Python version seems to be the same as Trmvp_un_unb_var2
.
How to treat rank 1 objects
The version of LAFF in Matlab conflates rank 1 with rank 2 objects: vectors are consistently represented matrices with a single row or column. In my initial prototype of a translation to Julia, I'm representing rank 1 objects with Vector
s instead. This seems more faithful to the way things are done in Julia, but may cause undesirable inconsistencies with the current offering of LAFF.
Higher fidelity to Matlab or Python materials
Two previous versions of the course exist: one in Matlab (current) and one in Python (2014). Translating to Julia from Python within Jupyter notebooks is more straightforward, and so that's how I've begun. However, as there are some inconsistencies between the Matlab and Python versions, this approach creates inconsistencies between my translation and the current version of the course. For example, some functions written as mutating functions in Python are non-mutating in the Matlab versions (for example, axpy
in week 1). In the future I will likely want to resolve inconsistencies between the Matlab and Julia translations.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.