PK Score
express is winner.
express is better than udacitymatrixclass.
More interesting! Play with express's owner and udacitymatrixclass's owner PK.
open Graph Image
open Graph Image
description
Implementing a Matrix Class In this project you will implement a Matrix class in Python. Specifically, you will implement the following methods: class Matrix: def determinant(self): # your code def trace(self): # your code def inverse(self): # your code def transpose(self): # your code # Overloaded operators def __add__(self,other): # your code def __sub__(self,other): # your code def __mul__(self,other): # your code When your class is working properly you will be able to manipulate matrices in code as if they were regular numbers (for the most part). For example: > A = Matrix([ [2,4], [3,1] ]) > print( A.transpose()) 2.0 3.0 4.0 1.0 > > I = Matrix([ [1,0], [0,1] ]) > > print(A*I) 2.0 4.0 3.0 1.0 > > print(A * A.inverse()) 1.0 0.0 0.0 1.0 Project Instruction Your project workspace will contain several files. On the next page, you will see something like this: notebook screenshot We recommend that you open all of these files in new tabs (except datagenerator.py and test.py, which you won't need to modify) so that your browser looks something like this: jupyter multiple tabs matrix.py - This contains the beginnings of a Matrix class (which you will complete) as well as some helper functions zeroes and identity. This is the file you will be doing most of your work in. matrix_playground.ipynb - A notebook that imports your Matrix class and calls the test code. You may find it useful to use this notebook as a place to use the matrix math code you will write in matrix.py. matrix_cheat_sheet.ipynb - A Jupyter notebook with a glossary, explanation of matrix notation and list of matrix equations. Use this as a reference when filling out the methods in the Matrix class! kalman_filter_demo.ipynb - You don't need to do anything with this notebook but you may find it interesting. Once your matrix class is working properly, the KF implemented here will actually work! Other Files (feel free to ignore). test.py - Contains test code which demonstrates the expected functionality of your code. datagenerator.py - this just contains some helper code which is used by the Kalman Filter.
description
Fast, unopinionated, minimalist web framework for node.
homepage
https://expressjs.com
url
https://githubhelp/adamgeneangel/udacitymatrixclass
url
https://githubhelp/expressjs/express
owner Avatar
owner Avatar
Recommend Projects
-
-
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
An Open Source Machine Learning Framework for Everyone
-
The Web framework for perfectionists with deadlines.
-
A PHP framework for web artisans
-
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
Some thing interesting about web. New door for the world.
-
A server is a program made to process requests and deliver data to clients.
-
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Some thing interesting about visualization, use data art
-
Some thing interesting about game, make everyone happy.
-
Recommend Org
-
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Open source projects and samples from Microsoft.
-
Google ❤️ Open Source for everyone.
-
Alibaba Open Source for everyone
-
Data-Driven Documents codes.
-
China tencent open source team.
-