Posts tagged “NumPy”
3 articles tagged NumPy by John Hernandez, most recently “Ridge Regression from Scratch: Gradient Descent and Cross-Validation on Credit Data”.
- Ridge Regression from Scratch: Gradient Descent and Cross-Validation on Credit Data
A notebook-style walkthrough of ridge regression on the ISLR credit data: batch gradient descent, a λ path, five-fold CV, and a side-by-side check against scikit-learn and R, including the bugs in the original homework code.
- Occupancy Maps and Potential-Field Planning in Python
Turn a 3-D obstacle point cloud into a 2-D occupancy grid, build an attractive and repulsive potential field, and walk downhill from start to goal in Python.
- Spatial Description in Robotics: Frames, Homogeneous Transforms, and Coordinate Systems
A practical introduction to spatial description in robotics, covering coordinate frames, rotation and translation, homogeneous transformations, point versus vector transformations, spherical coordinates, and modified Denavit-Hartenberg parameters.