Posts tagged “Python”
13 articles tagged Python by John Hernandez, most recently “Keeping Jupyter Notebook Setup Simple with a Tiny Python Package Installer”.
- Keeping Jupyter Notebook Setup Simple with a Tiny Python Package Installer
A tiny Python helper for Jupyter notebooks that checks for missing packages, installs them when needed, and keeps setup simple.
- 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.
- Autonomous coverage in Webots with ROS 2
How I built an autonomous lawn robot in Webots with ROS 2: spiral coverage waypoints, LiDAR occupancy and coverage maps, and Bug-style obstacle avoidance.
- 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.
- Python DataFrames: A Practical Pandas Quick Reference
A quick reference for working with pandas DataFrames in Python, with examples for inspecting, selecting, filtering, sorting, grouping, cleaning, and summarizing data.
- Autonomous Lawnbot Using ROS 2 and Webots
A simulation-based autonomous lawn robot built with ROS 2, Python, Webots, and RViz, using waypoint coverage planning, LiDAR obstacle detection, occupancy mapping, and reactive avoidance.
- Connecting to Apache Kafka with C# and Python
Learn how to connect C# and Python applications to Apache Kafka, produce and consume events, configure consumer groups, secure connections, and avoid common connectivity problems.
- 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.
- Facial Emotion Recognition with CNNs: Improving Accuracy Through Preprocessing and Model Design
Explore how a CNN-based facial emotion recognition model was improved with image preprocessing, class balancing, Adam optimization, callbacks, RGB interpolation, and an inception module.
- Building Text to Speech Applications with Python and pyttsx3
Learn how to use Python and pyttsx3 to build simple text to speech applications, including voice reminders, webpage readers, and multilingual speech.
- Sentiment Analysis with Python: Comparing TextBlob and VADER
Compare TextBlob and VADER for sentiment analysis in Python using 2,000 movie reviews, then see how adjusting classification thresholds can improve accuracy.
- Natural Language Processing with NLTK: POS Tagging and Named Entity Recognition
Learn how to use Python and NLTK to detect sentences, identify parts of speech, and extract people, locations, and organizations from text.
- Self-Organizing Maps
An introduction to Self-Organizing Maps, covering how Kohonen maps organize high-dimensional data, how they compare with K-Means, how Best Matching Units and neighborhood functions work, and where SOMs are applied in areas such as medical imaging and bioinformatics