SlideShare a Scribd company logo
Data Comes in Shapes
July 16, 5th
Elephant
Tim Poston
Chief Scientist
http://forushealth.com
http://geometeer.com
tim.poston@gmail.com
Mostly numbers.
What are data?
Are numbers only numbers?
Numbers come in patterns:
That is what ‘big data’ is all about.
Patterns are shapes.
Studying data shapes is geometry.
Patterns are shapes.
… but not the geometry of high school.
Studying data shapes is not the geometry of high school.
It is not replacing the 3D minds of children
with flattened (though intricate) teen imagination.
If we have three variables, we have three dimensions.
If we have n variables, we have n dimensions.
To think about n dimensions, we have two choices:
 Practice thinking in 3D
 Turn it all into algebra
We have to do both.
What does a matrix
a b c
c d e
f g h[ ]
even mean?
[ ][] []
A matrix
a b c 1 a
c d e 0 = c
f g h 0 f
describes a transformation
by listing how a few things change.
[ ][] []
A matrix
a b c 0 b
c d e 1 = d
f g h 0 g
describes a transformation
by listing how a few things change.
[ ][] []
A matrix
a b c 0 c
c d e 0 = e
f g h 1 h
describes a transformation
by listing how a few things change.
a b c
c d e
f g h[ ]
is just a list of where (1,0,0), (0,1,0) and (0,0,1) go.
A matrix
Remember that, and you always clarify how the algebra works.
Remember that, and you always clarify how the code should work.
Principal component analysis (PCA)




 



 


just finds a rotation (matrix) so that the data points
lie as close as possible to coordinate axes.
In n dimensions.
The simplex method (“Linear Programming”) looks at
points constrained by inequalities
a1x1 + a2x2 + … + anxn + c ≥ 0
which just means
‘lying on one side of a line/plane/hyperplane, in 2D/3D/nD’.
A convex
polygon/polyhedron/polytope.
The simplex method (“Linear Programming”) looks at
a convex polytope, and seeks
the highest point.
Find a genuine corner
(any corner).
Go up the most vertical edge,
till you meet another face.
Do that again. And again.
And again. And again. And reach the top.
All the matrix ‘pivoting’, degenerate case handling, etc.,
is just implementing that.
(like this from Wikipedia)
tend to skimp on the geometry.
What is a support line / plane /hyperplane?
How do you find one? (Very like simplex method.)
Geometry organises what algebra needs to do.
Algebra (often linear) organises what code needs to do.
Planning code needs algebra, which needs geometry.
Some bugs come from coding wrong.
Some bugs come from coding the wrong algebra.
Some bugs come from algebraising the wrong geometry.
Try to think at all levels!
Thank you!
Tim Poston
http://forushealth.com
http://geometeer.com
tim.poston@gmail.com

More Related Content

What's hot

Uses Of Calculus is Computer Science
Uses Of Calculus is Computer ScienceUses Of Calculus is Computer Science
Uses Of Calculus is Computer Science
Arnob Khan
 
Multiplication of matrices and its application in biology
Multiplication of matrices and its application in biologyMultiplication of matrices and its application in biology
Multiplication of matrices and its application in biologynayanika bhalla
 
Graphs of straight lines
Graphs of straight linesGraphs of straight lines
Graphs of straight lines
Patricia Rossouw
 
Matrix and it's application
Matrix and it's application Matrix and it's application
Matrix and it's application
MOHAMMAD AKASH
 
Complex Number's Applications
Complex Number's ApplicationsComplex Number's Applications
Complex Number's Applications
Nikhil Deswal
 
4.5 graph using slope int form - day 3
4.5 graph using slope int form - day 34.5 graph using slope int form - day 3
4.5 graph using slope int form - day 3bweldon
 
Algoritmos
AlgoritmosAlgoritmos
Algoritmos
Fab Lab LIMA
 
Box Problem
Box ProblemBox Problem
Box Problem
Rex Yuan
 
Lecture 4-cs648 Randomized Algorithms
Lecture 4-cs648 Randomized AlgorithmsLecture 4-cs648 Randomized Algorithms
Lecture 4-cs648 Randomized AlgorithmsAnshul Yadav
 
Applications of linear algebra in computer science
Applications of linear algebra in computer scienceApplications of linear algebra in computer science
Applications of linear algebra in computer science
Arnob Khan
 
9.2 graphing simple rational functions
9.2 graphing simple rational functions9.2 graphing simple rational functions
9.2 graphing simple rational functionshisema01
 
Application of matrices in Daily life
Application of matrices in Daily lifeApplication of matrices in Daily life
Application of matrices in Daily life
shubham mishra
 
Matrices And Application Of Matrices
Matrices And Application Of MatricesMatrices And Application Of Matrices
Matrices And Application Of Matrices
mailrenuka
 
Applications of Matrices
Applications of MatricesApplications of Matrices
Applications of Matricessanthosh kumar
 

What's hot (19)

Uses Of Calculus is Computer Science
Uses Of Calculus is Computer ScienceUses Of Calculus is Computer Science
Uses Of Calculus is Computer Science
 
Multiplication of matrices and its application in biology
Multiplication of matrices and its application in biologyMultiplication of matrices and its application in biology
Multiplication of matrices and its application in biology
 
Graphs of straight lines
Graphs of straight linesGraphs of straight lines
Graphs of straight lines
 
Matrix and it's application
Matrix and it's application Matrix and it's application
Matrix and it's application
 
Complex Number's Applications
Complex Number's ApplicationsComplex Number's Applications
Complex Number's Applications
 
4.5 graph using slope int form - day 3
4.5 graph using slope int form - day 34.5 graph using slope int form - day 3
4.5 graph using slope int form - day 3
 
Algoritmos
AlgoritmosAlgoritmos
Algoritmos
 
intro to Pattern
intro to Pattern intro to Pattern
intro to Pattern
 
Games_and_Decisions
Games_and_DecisionsGames_and_Decisions
Games_and_Decisions
 
Box Problem
Box ProblemBox Problem
Box Problem
 
Overview
OverviewOverview
Overview
 
Lecture 4-cs648 Randomized Algorithms
Lecture 4-cs648 Randomized AlgorithmsLecture 4-cs648 Randomized Algorithms
Lecture 4-cs648 Randomized Algorithms
 
Applications of linear algebra in computer science
Applications of linear algebra in computer scienceApplications of linear algebra in computer science
Applications of linear algebra in computer science
 
Unit 1. day 15b
Unit 1. day 15bUnit 1. day 15b
Unit 1. day 15b
 
Lar calc10 ch03_sec5
Lar calc10 ch03_sec5Lar calc10 ch03_sec5
Lar calc10 ch03_sec5
 
9.2 graphing simple rational functions
9.2 graphing simple rational functions9.2 graphing simple rational functions
9.2 graphing simple rational functions
 
Application of matrices in Daily life
Application of matrices in Daily lifeApplication of matrices in Daily life
Application of matrices in Daily life
 
Matrices And Application Of Matrices
Matrices And Application Of MatricesMatrices And Application Of Matrices
Matrices And Application Of Matrices
 
Applications of Matrices
Applications of MatricesApplications of Matrices
Applications of Matrices
 

Similar to Data Comes in Shapes

Essay On Linear Function
Essay On Linear FunctionEssay On Linear Function
Essay On Linear Function
Angie Lee
 
Worksheet
WorksheetWorksheet
Worksheet
JemycaComia
 
Hands on Math for Early Elementary
Hands on Math for Early ElementaryHands on Math for Early Elementary
Hands on Math for Early Elementary
mflaming
 
Criticalthinking
CriticalthinkingCriticalthinking
Criticalthinking
Shamik Tiwari
 
1.1a
1.1a1.1a
ISI MSQE Entrance Question Paper (2012)
ISI MSQE Entrance Question Paper (2012)ISI MSQE Entrance Question Paper (2012)
ISI MSQE Entrance Question Paper (2012)
CrackDSE
 
Traveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed EnvironmentTraveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed Environment
csandit
 
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTTRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
cscpconf
 
Rs solving graphingquadraticequation
Rs solving graphingquadraticequationRs solving graphingquadraticequation
Rs solving graphingquadraticequationYvette Lee
 
If You Can Dodge A Wrench
If You Can Dodge A WrenchIf You Can Dodge A Wrench
If You Can Dodge A Wrench
John Cissik
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voicesalanna
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voicesalanna
 
Maths notes for 4038 and 4016 paper
Maths notes for 4038 and 4016 paperMaths notes for 4038 and 4016 paper
Maths notes for 4038 and 4016 paperFabian Hkb
 
Discrete mathematics by sadat sumon
Discrete mathematics by sadat sumonDiscrete mathematics by sadat sumon
Discrete mathematics by sadat sumon
sadatsumon
 
factoring polynomials using different methods
factoring polynomials using different methodsfactoring polynomials using different methods
factoring polynomials using different methods
MikeAbellana
 
Additional Mathematics Revision
Additional Mathematics RevisionAdditional Mathematics Revision
Additional Mathematics Revision
Katie B
 
Functions lesson
Functions lesson Functions lesson
Functions lesson
YesseniaVillalobos2
 
MATHEMATICS.pptx
MATHEMATICS.pptxMATHEMATICS.pptx
MATHEMATICS.pptx
ojaswi12
 
Crt
CrtCrt

Similar to Data Comes in Shapes (20)

Essay On Linear Function
Essay On Linear FunctionEssay On Linear Function
Essay On Linear Function
 
Worksheet
WorksheetWorksheet
Worksheet
 
Hands on Math for Early Elementary
Hands on Math for Early ElementaryHands on Math for Early Elementary
Hands on Math for Early Elementary
 
Mathematics
MathematicsMathematics
Mathematics
 
Criticalthinking
CriticalthinkingCriticalthinking
Criticalthinking
 
1.1a
1.1a1.1a
1.1a
 
ISI MSQE Entrance Question Paper (2012)
ISI MSQE Entrance Question Paper (2012)ISI MSQE Entrance Question Paper (2012)
ISI MSQE Entrance Question Paper (2012)
 
Traveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed EnvironmentTraveling Salesman Problem in Distributed Environment
Traveling Salesman Problem in Distributed Environment
 
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENTTRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
TRAVELING SALESMAN PROBLEM IN DISTRIBUTED ENVIRONMENT
 
Rs solving graphingquadraticequation
Rs solving graphingquadraticequationRs solving graphingquadraticequation
Rs solving graphingquadraticequation
 
If You Can Dodge A Wrench
If You Can Dodge A WrenchIf You Can Dodge A Wrench
If You Can Dodge A Wrench
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voices
 
Developing Expert Voices
Developing Expert VoicesDeveloping Expert Voices
Developing Expert Voices
 
Maths notes for 4038 and 4016 paper
Maths notes for 4038 and 4016 paperMaths notes for 4038 and 4016 paper
Maths notes for 4038 and 4016 paper
 
Discrete mathematics by sadat sumon
Discrete mathematics by sadat sumonDiscrete mathematics by sadat sumon
Discrete mathematics by sadat sumon
 
factoring polynomials using different methods
factoring polynomials using different methodsfactoring polynomials using different methods
factoring polynomials using different methods
 
Additional Mathematics Revision
Additional Mathematics RevisionAdditional Mathematics Revision
Additional Mathematics Revision
 
Functions lesson
Functions lesson Functions lesson
Functions lesson
 
MATHEMATICS.pptx
MATHEMATICS.pptxMATHEMATICS.pptx
MATHEMATICS.pptx
 
Crt
CrtCrt
Crt
 

Recently uploaded

一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
yhkoc
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
ewymefz
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
AlejandraGmez176757
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
nscud
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
James Polillo
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 

Recently uploaded (20)

一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
一比一原版(CU毕业证)卡尔顿大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 

Data Comes in Shapes

  • 1. Data Comes in Shapes July 16, 5th Elephant Tim Poston Chief Scientist http://forushealth.com http://geometeer.com tim.poston@gmail.com
  • 2. Mostly numbers. What are data? Are numbers only numbers? Numbers come in patterns: That is what ‘big data’ is all about. Patterns are shapes.
  • 3. Studying data shapes is geometry. Patterns are shapes. … but not the geometry of high school.
  • 4. Studying data shapes is not the geometry of high school. It is not replacing the 3D minds of children with flattened (though intricate) teen imagination.
  • 5. If we have three variables, we have three dimensions. If we have n variables, we have n dimensions. To think about n dimensions, we have two choices:  Practice thinking in 3D  Turn it all into algebra We have to do both.
  • 6. What does a matrix a b c c d e f g h[ ] even mean?
  • 7. [ ][] [] A matrix a b c 1 a c d e 0 = c f g h 0 f describes a transformation by listing how a few things change.
  • 8. [ ][] [] A matrix a b c 0 b c d e 1 = d f g h 0 g describes a transformation by listing how a few things change.
  • 9. [ ][] [] A matrix a b c 0 c c d e 0 = e f g h 1 h describes a transformation by listing how a few things change.
  • 10. a b c c d e f g h[ ] is just a list of where (1,0,0), (0,1,0) and (0,0,1) go. A matrix Remember that, and you always clarify how the algebra works. Remember that, and you always clarify how the code should work.
  • 11. Principal component analysis (PCA)              just finds a rotation (matrix) so that the data points lie as close as possible to coordinate axes. In n dimensions.
  • 12. The simplex method (“Linear Programming”) looks at points constrained by inequalities a1x1 + a2x2 + … + anxn + c ≥ 0 which just means ‘lying on one side of a line/plane/hyperplane, in 2D/3D/nD’. A convex polygon/polyhedron/polytope.
  • 13. The simplex method (“Linear Programming”) looks at a convex polytope, and seeks the highest point. Find a genuine corner (any corner). Go up the most vertical edge, till you meet another face. Do that again. And again. And again. And again. And reach the top. All the matrix ‘pivoting’, degenerate case handling, etc., is just implementing that.
  • 14. (like this from Wikipedia) tend to skimp on the geometry. What is a support line / plane /hyperplane? How do you find one? (Very like simplex method.)
  • 15. Geometry organises what algebra needs to do. Algebra (often linear) organises what code needs to do. Planning code needs algebra, which needs geometry. Some bugs come from coding wrong. Some bugs come from coding the wrong algebra. Some bugs come from algebraising the wrong geometry. Try to think at all levels!