@Jolyne_AI: 网上的机器学习教程常见两种极端:要么满屏公式、讲得抽象难啃;要么只教你调框架、原理一笔带过。结果学完能跑代码,却抓不住算法的核心。 我在 GitHub 上挖到一本开源免费电子书《Applied Machine Learning in Py…
摘要
推荐一本开源免费的电子书《Applied Machine Learning in Python》,它结合数学推导和Python实现,覆盖30+算法,并提供交互式可视化,适合系统学习机器学习原理和实战。
查看缓存全文
缓存时间: 2026/07/05 16:35
网上的机器学习教程常见两种极端:要么满屏公式、讲得抽象难啃;要么只教你调框架、原理一笔带过。结果学完能跑代码,却抓不住算法的核心。
我在 GitHub 上挖到一本开源免费电子书《Applied Machine Learning in Python》,路线清晰、体系完整,把数学推导和 Python 实现紧密绑在一起,真正做到“懂原理,也会写”。
从线性回归一路到神经网络,每个算法不仅有完整推导,还给出纯 Python 的手工实现;再配上交互式可视化,把原本晦涩的数学概念变成看得见、摸得着的训练过程。
GitHub:http://github.com/GeostatsGuy/MachineLearningDemos…
在线阅读:http://geostatsguy.github.io/MachineLearningDemos_Book…
你将学到:
- 覆盖 30+ 算法:回归、分类、聚类、降维一网打尽
- 每个算法:详细推导 + 纯 Python 手写实现,不止会用,更能理解
- 深度学习:ANN、CNN、自编码器、GAN 等主流架构系统讲透
- 交互式可视化:训练过程、参数变化一目了然
- 配套资源齐全:YouTube 讲座 + 完整代码仓库
全书免费在线读、代码全部开源,适合想系统入门并真正吃透机器学习原理的开发者。
GeostatsGuy/MachineLearningDemos
Source: https://github.com/GeostatsGuy/MachineLearningDemos
MachineLearningDemos: Python Machine Learning Demonstration Workflows Repository (0.0.1)
Approximately 20 Well-Documented Machine Learning Workflows!
It is challenging to learn machine learning. For me, great examples for common workflows are crtical. So I built out over 20 well-documented demonstration workflows that apply machine learning to accomplish common data science tasks to support my students in my Data Analytics and Geostatistics, Spatial Data Analytics and Machine Learning courses and anyone else learning data analytics and machine learning.
Michael Pyrcz, Professor, The University of Texas at Austin, Data Analytics, Geostatistics and Machine Learning
Twitter | GitHub | Website | GoogleScholar | Book | YouTube | LinkedIn
Cite As:
Pyrcz, M.J., 2024, MachineLearningDemos: Python Machine Learning Demonstration Workflows Repository (0.0.1) (0.0.1). Zenodo. TBD
Recent Updates
Here’s some highlights from recent updates:
What’s New with Version 0.0.1
I spent quite a bit of time checking, updating and improving all of the workflows for this first release.
- improved documentation with concepts and theory from my courses to motivate the workflows
- improved code comments
- improved data and model visualization
I’m quite happy with the current state. I feel that this set of well-documented workflow for machine learning in Python now lives up to its goal - to launch anyone into building machine learning workflows! I’m stoked to help out, Michael
Setup
A minimum environment includes:
- Python 3.7.10 - due to the depdendency of GeostatsPy on the Numba package for code acceleration
- GeostatsPy - I am continuously testing these workflow with the most current version, GeostatsPy(Pyrcz et al., 2021)
- MatPlotLib - plotting
- NumPy - gridded data and array math
- Pandas - tabulated data
- SciPy - statistics module
- scikit-learn - most of the machine learnng models
The required datasets are available in the GeoDataSets repository and linked in the workflows.
Repository Summary
More than 20 well-documented demonstration workflow for common machine learning workflows in Python.
- utilizing synthetic data from my GeoDataSets repository
- small and often 2D examples for fast run times and ease of interpretation
- often used and cited in my courses for repeatable educational content
Common geostatistical workflows that are included:
- multivariate analysis
- feature selection
- feature transformations
- cluster analysis
- principal component analysis
- linear regression
- ridge regression
- LASSO regression
- Bayesian linear regression
- naive Bayes classification
- polynomial regression
- k-nearest neighbours
- decision trees
- bagging trees and random forest
- gradiate boosting
- support vector machines
Installing GeostatsPy
Firstly, if you haven’t installed GeostatsPy, here’s the GitHub repository GeostatsPy GitHub. GeostatsPy is available on the Python Package Index (PyPI) GeostatsPy PyPI.
To install GeostatsPy, use pip
pip install geostatspy
GeostatsPy Package Dependencies
The functions rely on the following packages:
- numpy - for ndarrays
- pandas - for DataFrames
- numpy.linalg - for linear algebra
- numba - for numerical speed up
- scipy - for fast nearest neighbor search
- matplotlib.pyplot - for plotting
- tqdm - for progress bar
- statsmodels - for weighted (debiased) statistics
These packages should be available with any modern Python distribution (e.g. https://www.anaconda.com/download/).
If you get a package import error, you may have to first install some of these packages. This can usually be accomplished by opening up a command window on Windows and then typing ‘python -m pip install [package-name]’. More assistance is available with the respective package docs.
GeostatsPyDemos Repository Author:
Michael Pyrcz, Professor, The University of Texas at Austin
Novel Data Analytics, Geostatistics and Machine Learning Subsurface Solutions
With over 17 years of experience in subsurface consulting, research and development, Michael has returned to academia driven by his passion for teaching and enthusiasm for enhancing engineers’ and geoscientists’ impact in subsurface resource development.
For more about Michael check out these links:
Twitter | GitHub | Website | GoogleScholar | Book | YouTube | LinkedIn
Want to Work Together?
I hope this content is helpful to those that want to learn more about subsurface modeling, data analytics and machine learning. Students and working professionals are welcome to participate.
-
Want to invite me to visit your company for training, mentoring, project review, workflow design and / or consulting? I’d be happy to drop by and work with you!
-
Interested in partnering, supporting my graduate student research or my Subsurface Data Analytics and Machine Learning consortium (co-PIs including Profs. Foster, Torres-Verdin and van Oort)? My research combines data analytics, stochastic modeling and machine learning theory with practice to develop novel methods and workflows to add value. We are solving challenging subsurface problems!
-
I can be reached at [email protected].
I’m always happy to discuss,
Michael
Michael Pyrcz, Ph.D., P.Eng. Professor, Cockrell School of Engineering and The Jackson School of Geosciences, The University of Texas at Austin
More Resources Available at: Twitter | GitHub | Website | GoogleScholar | Book | YouTube | LinkedIn
More functionality will be added soon.
相似文章
@Jolyne_AI: 推荐一本 GitHub 上的免费机器学习与 AI 学习书:Machine Learning Q and AI。 全书围绕 30 个机器学习与人工智能的核心问题展开,从神经网络到模型部署,把关键知识点一次讲清。 GitHub:http://…
推荐免费的机器学习与AI书籍《Machine Learning Q and AI》,围绕30个核心问题系统讲解神经网络、深度学习、计算机视觉、NLP和模型部署,提供GitHub和在线阅读链接。
@Jolyne_AI: 学机器学习最常见的尴尬是:教程要么只讲概念,听完还是一头雾水;要么直接甩代码,跑得动却说不清为什么。 我今天在 GitHub 挖到一个很值得收藏的开源项目:Machine Learning Visualized。它把算法“讲明白”的方式很…
An open-source project that visualizes machine learning algorithms using Jupyter Notebooks, with interactive Marimo notebooks and mathematical derivations, hosted on GitHub.
@Jolyne_AI: 想系统学强化学习,最劝退的往往是两种资料:一种只讲概念,学完照样不会做;另一种公式堆满页,两章就读不下去。 开源教材 Mathematical Foundations of Reinforcement Learning 正好卡在中间:讲得…
介绍开源教材《Mathematical Foundations of Reinforcement Learning》,从数学角度深入浅出地讲解强化学习,配有大量视频和代码实现,适合具备基础概率论和线性代数的学习者。
@knowledgefxg: 学机器学习最痛苦的事情是什么?是对着一堆公式发呆,死记硬背,项目作者把神经网络、逻辑回归等这些经典算法,从数学第一原理开始推导,一步一步写成 Jupyter Notebook,然后把整个训练过程可视化出来,让你在学习的时候有个直观的感觉。…
推荐一个机器学习学习资源,该项目从数学第一原理推导经典算法,并通过 Jupyter Notebook 逐步实现和可视化训练过程,帮助学习者直观理解。
@XAMTO_AI: 机器学习入门最容易被什么坑到? 要么教程全是废话,听完还是懵的;要么上来就甩代码,跑通了也不知道为啥。 GitHub上有个宝藏项目:Machine Learning Visualized,直接把算法训练过程可视化给你看,权重怎么更新、怎么…
介绍 GitHub 上的 Machine Learning Visualized 项目,该工具通过交互式笔记本和可视化图表展示机器学习算法(如神经网络、逻辑回归等)的训练过程,帮助初学者理解原理。