# SciPy

SciPy is an open-source Python library providing algorithms and data structures for scientific computing.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Scientific Python: Using SciPy for Optimization

DevFeed: [Scientific Python: Using SciPy for Optimization](<https://devfeed.tech/articles/scientific-python-using-scipy-for-optimization-134509.md>)

Original publisher: [Read original article](<https://realpython.com/python-scipy-cluster-optimize/>)

Author: Bryan Weber

Published: 2026-11-15T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [SciPy](<https://devfeed.tech/topics/scipy.md>), [clustering](<https://devfeed.tech/topics/clustering.md>), [Operations research and optimization](<https://devfeed.tech/topics/operations-research-and-optimization.md>), [Python](<https://devfeed.tech/topics/python.md>), [pip](<https://devfeed.tech/topics/pip.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>)

Tags: [clustering](<https://devfeed.tech/tags/clustering.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [install](<https://devfeed.tech/tags/install.md>), [library](<https://devfeed.tech/tags/library.md>), [modules](<https://devfeed.tech/tags/modules.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [python](<https://devfeed.tech/tags/python.md>), [scipy](<https://devfeed.tech/tags/scipy.md>)

### AI overview

The tutorial distinguishes the SciPy ecosystem from the SciPy library, explains installation with Anaconda or pip, then demonstrates clustering and optimization. In its SMS example, `scipy.cluster.vq` uses whitened digit-count data with `kmeans()` and `vq()` to form three groups: messages with zero digits were mostly ham, those with more than 20 digits were mostly spam, and the middle group remained uncertain. For optimization, `minimize_scalar()` finds a scalar function's minimum; its `bounded` method can restrict the search interval, while a `bracket` for Brent's method does not guarantee the result stays within that interval. The tutorial also uses `minimize()` with linear constraints and variable bounds to allocate shares among buyers. It stresses checking the returned success status: an infeasible 1,000-share target yields a failed `OptimizeResult` rather than an exception.

### Source excerpt

Learn how the SciPy ecosystem differs from the SciPy library, then install SciPy and use its clustering and optimization modules in Python.

## Autonomous Optimization of Numerical Algorithms by an AI Agent: Application to Atomistic Simulation

DevFeed: [Autonomous Optimization of Numerical Algorithms by an AI Agent: Application to Atomistic Simulation](<https://devfeed.tech/articles/autonomous-optimization-of-numerical-algorithms-by-an-ai-agent-application-to-atomistic-simulation-128259.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.13143>)

Author: Jeheon Woo

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Simulation](<https://devfeed.tech/topics/simulation.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>), [NumPy](<https://devfeed.tech/topics/numpy.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [algorithm](<https://devfeed.tech/tags/algorithm.md>), [algorithms](<https://devfeed.tech/tags/algorithms.md>), [ase](<https://devfeed.tech/tags/ase.md>), [automated](<https://devfeed.tech/tags/automated.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [components](<https://devfeed.tech/tags/components.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [faster](<https://devfeed.tech/tags/faster.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [library](<https://devfeed.tech/tags/library.md>), [loops](<https://devfeed.tech/tags/loops.md>), [metric](<https://devfeed.tech/tags/metric.md>), [numpy](<https://devfeed.tech/tags/numpy.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [physics-chem-ph](<https://devfeed.tech/tags/physics-chem-ph.md>), [python](<https://devfeed.tech/tags/python.md>), [simulation](<https://devfeed.tech/tags/simulation.md>)

### AI overview

AIOA uses an AI agent in an automated loop to optimize atomistic simulation algorithms against a specified metric, with verifiers the agent cannot change. In ASE, it both rewrites implementations to run faster without changing results and redesigns methods to use fewer force evaluations. The agents accelerated six Python kernels using NumPy and SciPy by an average of 22-24x. On unseen problems, optimizers from the best configuration used 3.1-3.4x fewer force evaluations than L-BFGS for structure relaxation and 4.6-17x fewer than standard climbing-image nudged elastic band calculations for reaction paths. The abstract also reports two optimizer components not found by the authors in the literature.

### Source excerpt

arXiv:2611.13143v1 Announce Type: cross Abstract: Coding agents built on large language models, run in automated improvement loops, can discover more efficient algorithms. We present AIOA, a framework that brings this approach to the numerical algorithms of atomistic simulation: an agent improves an algorithm against a pre-specified metric in a loop guarded by verifiers it cannot alter. Applied to ASE, a widely used atomistic simulation library, AIOA targets two facets of an algorithm: its implementation, rewritten to run faster with unchanged results, and the method itself, redesigned to converge with fewer force evaluations. Agents made six kernels 22-24 times faster on average in Python with NumPy and SciPy. On unseen problems, optimizers from the best configuration needed 3.1-3.4 times fewer force evaluations than L-BFGS for structure relaxation and 4.6-17 times fewer than standard climbing-image nudged elastic band calculations for reaction paths. The agents' optimizers also contain two algorithmic components we did not find in the literature.

## Re4: Scientific Computing Agent with Rewriting, Resolution, Review and Revision

DevFeed: [Re4: Scientific Computing Agent with Rewriting, Resolution, Review and Revision](<https://devfeed.tech/articles/re4-scientific-computing-agent-with-rewriting-resolution-review-and-revision-102916.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2508.20729>)

Author: Ao Cheng, Lei Zhang, Guowei He

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>), [Finite Element Method (FEM)](<https://devfeed.tech/topics/finite-element-method.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [array](<https://devfeed.tech/tags/array.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [code](<https://devfeed.tech/tags/code.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [computing](<https://devfeed.tech/tags/computing.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [data](<https://devfeed.tech/tags/data.md>), [data-driven](<https://devfeed.tech/tags/data-driven.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [deepseek-r1](<https://devfeed.tech/tags/deepseek-r1.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [execution](<https://devfeed.tech/tags/execution.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [flow](<https://devfeed.tech/tags/flow.md>), [physics-comp-ph](<https://devfeed.tech/tags/physics-comp-ph.md>), [review](<https://devfeed.tech/tags/review.md>), [revision](<https://devfeed.tech/tags/revision.md>), [scientific-computing](<https://devfeed.tech/tags/scientific-computing.md>)

### AI overview

Re4 coordinates three reasoning roles: a Consultant augments problem descriptions with domain knowledge, a Programmer writes and executes code, and a Reviewer uses runtime feedback to drive iterative revision. Evaluated on PDEs, flow past a cylinder, ill-conditioned linear systems, and data-driven physical analysis, the review mechanism raised execution success (bug-free code and non-NaN solutions) from 59% to 82% for DeepSeek R1, 66% to 87% for ChatGPT 4.1-mini, and 60% to 84% for Gemini-2.5. The abstract also identifies boundary treatment, array indexing, and preserving numerical constraints as recurring solver-development difficulties.

### Source excerpt

arXiv:2508.20729v3 Announce Type: replace Abstract: Large language models (LLMs) have demonstrated abilities to perform complex tasks in multiple domains, including mathematical and scientific reasoning. In this work, we construct a novel agent framework for solving representative problems in scientific computing. The proposed agent incorporates a "rewriting-resolution-review-revision" logical chain via three reasoning LLMs (the Consultant, Reviewer, and Programmer) in a collaborative and interactive manner. The Consultant module enables knowledge transfer to link problems to professional domain insights, thereby rewriting problem descriptions through text augmentation. The Programmer module generates and executes well-structured code to solve problems. The Reviewer module enables self-debugging and self-refinement through interactive feedback with code runtime outputs. Through the end-to-end review mechanism, the Programmer's executable code undergoes iterative revision. We comprehensively evaluate the framework on typical partial differential equations (PDEs), engineering-oriented flow past a cylinder, ill-conditioned linear systems, and data-driven physical analysis problems. Compared with a single-model approach, this collaborative framework significantly improves the bug-free code generation rate and reduces non-physical solutions, establishing a reliable framework for autonomous code generation from natural language descriptions. The review mechanism improved the average execution success (bug-free code and non-NaN solutions) rate of DeepSeek R1 from 59% to 82%, while ChatGPT 4.1-mini improved from 66% to 87% and Gemini-2.5 improved from 60% to 84%. Automatic code generation and review provide a promising workflow for scientific computing; analysis of solver-development trajectories further reveals recurring implementation difficulties in boundary treatment, array indexing, and the preservation of numerical constraints.

## Your Drift Dashboard Can Be Green While Your Model Is Failing

DevFeed: [Your Drift Dashboard Can Be Green While Your Model Is Failing](<https://devfeed.tech/articles/your-drift-dashboard-can-be-green-while-your-model-is-failing-102342.md>)

Original publisher: [Read original article](<https://hackernoon.com/your-drift-dashboard-can-be-green-while-your-model-is-failing?source=rss>)

Author: David Taiwo Balogun

Published: 2026-10-27T10:45:02Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [ai observability](<https://devfeed.tech/topics/ai-observability.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [aggregate](<https://devfeed.tech/tags/aggregate.md>), [ai-data-documentation](<https://devfeed.tech/tags/ai-data-documentation.md>), [alarm](<https://devfeed.tech/tags/alarm.md>), [alert](<https://devfeed.tech/tags/alert.md>), [alerting](<https://devfeed.tech/tags/alerting.md>), [alerts](<https://devfeed.tech/tags/alerts.md>), [align](<https://devfeed.tech/tags/align.md>), [build](<https://devfeed.tech/tags/build.md>), [can](<https://devfeed.tech/tags/can.md>), [concept-drift](<https://devfeed.tech/tags/concept-drift.md>), [credit-risk-modelling](<https://devfeed.tech/tags/credit-risk-modelling.md>), [dashboard](<https://devfeed.tech/tags/dashboard.md>), [data](<https://devfeed.tech/tags/data.md>), [data-drift-detection](<https://devfeed.tech/tags/data-drift-detection.md>), [green](<https://devfeed.tech/tags/green.md>), [ml-model-calibration](<https://devfeed.tech/tags/ml-model-calibration.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [model](<https://devfeed.tech/tags/model.md>), [model-degradation](<https://devfeed.tech/tags/model-degradation.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [performance](<https://devfeed.tech/tags/performance.md>), [python-scipy](<https://devfeed.tech/tags/python-scipy.md>), [scipy](<https://devfeed.tech/tags/scipy.md>), [test](<https://devfeed.tech/tags/test.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

The simulations show that feature drift alerts do not reliably indicate model failure: harmless shifts and sampling noise can trigger alerts, while a changed relationship between inputs and outcomes can degrade performance with no input drift. The article builds a Python monitor using SciPy effect-size measures and Evidently 0.7, including prediction drift, and recommends treating p-values cautiously, weighting feature drift by model importance, and checking predictions and delayed outcomes by business segment. Its triage steps are to check data quality, see whether predictions moved, assess calibration using available labels or proxies, and distinguish business change from model fault. It suggests windows of at least 1,000 rows aligned to traffic cycles, calibrating thresholds on known healthy periods, and retraining only when labeled performance or segment calibration deteriorates. The results come from controlled simulations; production labels may arrive late.

### Source excerpt

Build a Python drift monitor with SciPy and Evidently, then test five scenarios showing why data drift doesn't always mean model performance is degrading.

## Python Histogram Plotting: NumPy, Matplotlib, pandas & Seaborn

DevFeed: [Python Histogram Plotting: NumPy, Matplotlib, pandas & Seaborn](<https://devfeed.tech/articles/python-histogram-plotting-numpy-matplotlib-pandas-seaborn-89219.md>)

Original publisher: [Read original article](<https://realpython.com/python-histograms/>)

Author: Brad Solomon

Published: 2026-10-17T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [plotting](<https://devfeed.tech/topics/plotting.md>), [NumPy](<https://devfeed.tech/topics/numpy.md>), [pandas](<https://devfeed.tech/topics/pandas.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>)

Tags: [numpy](<https://devfeed.tech/tags/numpy.md>), [pandas](<https://devfeed.tech/tags/pandas.md>), [plotting](<https://devfeed.tech/tags/plotting.md>), [python](<https://devfeed.tech/tags/python.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial shows how to build and plot histograms in Python, from frequency counts and NumPy binning to visualizations with Matplotlib, pandas, and Seaborn. It also covers kernel density estimates, probability distributions, and choosing among the available approaches.

### Source excerpt

In this tutorial, you'll be equipped to make production-quality, presentation-ready Python histogram plots with a range of choices and features.

## Python 3.15 delivers a native-by-default experience on Windows on Arm

DevFeed: [Python 3.15 delivers a native-by-default experience on Windows on Arm](<https://devfeed.tech/articles/python-3-15-delivers-a-native-by-default-experience-on-windows-on-arm-87165.md>)

Original publisher: [Read original article](<https://blogs.windows.com/windowsdeveloper/2026/10/14/python-3-15-delivers-native-by-default-experience-on-windows-arm/>)

Author: cstewart

Published: 2026-10-14T17:00:05Z

Content type: article

Language: en

Sources: [Windows Developer](<https://devfeed.tech/sources/windows-developer-blog.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Universal Windows Platform](<https://devfeed.tech/topics/uwp.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [NumPy](<https://devfeed.tech/topics/numpy.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>), [native aot](<https://devfeed.tech/topics/native-aot.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [anaconda](<https://devfeed.tech/tags/anaconda.md>), [arm64](<https://devfeed.tech/tags/arm64.md>), [aws](<https://devfeed.tech/tags/aws.md>), [azure](<https://devfeed.tech/tags/azure.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [ci](<https://devfeed.tech/tags/ci.md>), [clang](<https://devfeed.tech/tags/clang.md>), [cmake](<https://devfeed.tech/tags/cmake.md>), [code](<https://devfeed.tech/tags/code.md>), [published](<https://devfeed.tech/tags/published.md>), [python-3-15](<https://devfeed.tech/tags/python-3-15.md>), [windows-developers](<https://devfeed.tech/tags/windows-developers.md>), [windows-on-arm](<https://devfeed.tech/tags/windows-on-arm.md>)

### AI overview

Python 3.15 makes the native Arm64 runtime the default on Windows on Arm, while CPython's Tier 2 status, broader package availability, and hosted GitHub Actions runners support mainstream Python development and testing. The article reports that about 94% of the 1,000 most-downloaded PyPI projects have either native Arm wheels or platform-independent wheels, while noting that full application compatibility still depends on each project's dependencies.

### Source excerpt

Windows on Arm has been ready for Python development for some time. With Python 3.15, the broader ecosystem has matured significantly, with more package maintainers publishing native Arm64 wheels, allow The post Python 3.15 delivers a native-by-default experience on Windows on Arm appeared first on Windows Developer Blog.

## Python Statistics Fundamentals: How to Describe Your Data

DevFeed: [Python Statistics Fundamentals: How to Describe Your Data](<https://devfeed.tech/articles/python-statistics-fundamentals-how-to-describe-your-data-55428.md>)

Original publisher: [Read original article](<https://realpython.com/python-statistics/>)

Author: Mirko Stojiljković

Published: 2026-09-19T14:00:00Z

Content type: tutorial

Language: en

Sources: [Real Python](<https://devfeed.tech/sources/real-python.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Statistics](<https://devfeed.tech/topics/statistics.md>), [Data Science](<https://devfeed.tech/topics/data-science.md>), [NumPy](<https://devfeed.tech/topics/numpy.md>), [pandas](<https://devfeed.tech/topics/pandas.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>), [dataset](<https://devfeed.tech/topics/dataset.md>)

Tags: [covariance](<https://devfeed.tech/tags/covariance.md>), [data](<https://devfeed.tech/tags/data.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [median](<https://devfeed.tech/tags/median.md>), [pandas](<https://devfeed.tech/tags/pandas.md>), [python](<https://devfeed.tech/tags/python.md>), [statistics](<https://devfeed.tech/tags/statistics.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>), [variance](<https://devfeed.tech/tags/variance.md>)

### AI overview

A step-by-step tutorial on descriptive statistics in Python. It explains how to summarize and visualize datasets using pure Python, NumPy, SciPy, pandas, and Python's built-in statistics library, covering measures such as mean, median, variance, standard deviation, covariance, and correlation.

### Source excerpt

In this step-by-step tutorial, you'll learn the fundamentals of descriptive statistics and how to calculate them in Python. You'll find out how to describe, summarize, and represent your data visually using NumPy, SciPy, pandas, Matplotlib, and the built-in Python statistics library.

## Introducing PySurvival

DevFeed: [Introducing PySurvival](<https://devfeed.tech/articles/introducing-pysurvival-15712.md>)

Original publisher: [Read original article](<https://developer.squareup.com/blog/introducing-pysurvival>)

Author: Stephane Fotso

Published: 2019-04-12T21:06:21Z

Content type: article

Language: en

Sources: [Square Corner](<https://devfeed.tech/sources/square-corner-blog-medium.md>)

Topics: [Data analysis](<https://devfeed.tech/topics/data-analysis.md>), [NumPy](<https://devfeed.tech/topics/numpy.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>), [pip](<https://devfeed.tech/topics/pip.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [churn](<https://devfeed.tech/tags/churn.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [financial-institutions](<https://devfeed.tech/tags/financial-institutions.md>), [installation](<https://devfeed.tech/tags/installation.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [models](<https://devfeed.tech/tags/models.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [python](<https://devfeed.tech/tags/python.md>), [survival-analysis](<https://devfeed.tech/tags/survival-analysis.md>)

### AI overview

PySurvival is an open-source Python package for survival analysis, built on NumPy, SciPy, and PyTorch. It offers 10+ models, including Cox Proportional Hazard, Neural Multi-Task Logistic Regression, and Random Survival Forest; theory summaries, API descriptions, examples, tutorials, performance metrics such as c-index and Brier score, and model loading and saving. Survival analysis models the probability of an event by a particular time and can account for censored cases, where the event has not occurred by the end of observation; this preserves information that a regression approach discarding those cases would lose. The article says pip is the easiest installation method if a working gcc version is installed.

### Source excerpt

PySurvival is an open source python package for Survival Analysis modeling.

## Introducing PySurvival

DevFeed: [Introducing PySurvival](<https://devfeed.tech/articles/introducing-pysurvival-27014.md>)

Original publisher: [Read original article](<https://medium.com/square-corner-blog/introducing-pysurvival-5a274b072381?source=rss----3650599ae4e2---4>)

Author: sfotso

Published: 2019-04-12T21:06:21Z

Content type: article

Language: en

Sources: [Square Corner](<https://devfeed.tech/sources/square-corner-blog-medium.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Predictive AI](<https://devfeed.tech/topics/predictive-ai.md>), [Model Development](<https://devfeed.tech/topics/model-development.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>), [pip](<https://devfeed.tech/topics/pip.md>)

Tags: [churn](<https://devfeed.tech/tags/churn.md>), [cross-validation](<https://devfeed.tech/tags/cross-validation.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [deep-learning](<https://devfeed.tech/tags/deep-learning.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [medical](<https://devfeed.tech/tags/medical.md>), [medical-research](<https://devfeed.tech/tags/medical-research.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [models](<https://devfeed.tech/tags/models.md>), [neural](<https://devfeed.tech/tags/neural.md>), [numpy](<https://devfeed.tech/tags/numpy.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [package](<https://devfeed.tech/tags/package.md>), [performance-metrics](<https://devfeed.tech/tags/performance-metrics.md>), [python](<https://devfeed.tech/tags/python.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [regression](<https://devfeed.tech/tags/regression.md>), [risk](<https://devfeed.tech/tags/risk.md>), [scipy](<https://devfeed.tech/tags/scipy.md>), [survival](<https://devfeed.tech/tags/survival.md>), [survival-analysis](<https://devfeed.tech/tags/survival-analysis.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

### AI overview

PySurvival is an open-source Python package for survival analysis, which estimates when events may occur while accounting for cases where the event has not yet happened. The excerpt explains that ordinary regression would require discarding these censored observations, losing information; survival models incorporate them and estimate event probability at a particular time. Built on NumPy, SciPy, and PyTorch, PySurvival offers more than 10 models, including Cox Proportional Hazard, Neural Multi-Task Logistic Regression, and Random Survival Forest, plus model theory and API examples, analysis tutorials, c-index and Brier score metrics, and model loading and saving. The excerpt mentions applications such as churn, loan repayment, employee departures, and machine failure. It says pip installation is easiest when a working version of gcc is already installed.

### Source excerpt

Heads up, we've moved! If you'd like to continue keeping up with the latest technical content from Square please visit us at our new home https://developer.squareup.com/blogPySurvival is an open source python package for Survival Analysis modeling. Today, we're excited to introduce PySurvival, a python package for Survival Analysis modeling. This article is the first installment in a four part series, which will include tutorials designed to demonstrate how to easily make the most of the package. You can also find these tutorials on the official website: Churn modeling Predictive maintenance Credit risk PySurvival LogoWhat is PySurvival ? PySurvival is an open source python package for Survival Analysis modeling -- the modeling concept used to analyze or predict when an event is likely to happen. It is built on top the most commonly used machine learning packages: NumPy, SciPy, and PyTorch. PySurvival provides a very easy way to navigate between theoretical knowledge on Survival Analysis and detailed tutorials on how to conduct a full analysis, as well as build and use a model. The package contains: 10+ models ranging from the Cox Proportional Hazard model and the Neural Multi-Task Logistic Regression, to Random Survival Forest Summaries of the theory behind each model as well as API descriptions and examples Detailed tutorials on how to perform exploratory data analysis, survival modeling, cross-validation and prediction, for churn modeling and credit risk, for example Performance metrics to assess the models' abilities like c-index or brier score Simple ways to load and save models Installation If you have already installed a working version of gcc, the easiest way to install Pysurvival is using pip. pip install pysurvival The complete installation steps can be found here. Introduction to Survival analysisWhat is Survival Analysis ? Survival analysis is used to analyze or predict when an event is likely to happen. It originated in medical research, but its use has

## RealityMining, a Case Study in the Woes of Data Processing

DevFeed: [RealityMining, a Case Study in the Woes of Data Processing](<https://devfeed.tech/articles/realitymining-a-case-study-in-the-woes-of-data-processing-40339.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/01/21/realitymining-a-case-study-in-the-woes-of-data-processing/>)

Published: 2014-01-21T22:11:49Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [data-processing](<https://devfeed.tech/topics/data-processing.md>), [Python](<https://devfeed.tech/topics/python.md>), [dataset](<https://devfeed.tech/topics/dataset.md>), [SciPy](<https://devfeed.tech/topics/scipy.md>), [MATLAB](<https://devfeed.tech/topics/matlab.md>), [NumPy](<https://devfeed.tech/topics/numpy.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [big-data](<https://devfeed.tech/tags/big-data.md>), [data-analysis](<https://devfeed.tech/tags/data-analysis.md>), [data-mining](<https://devfeed.tech/tags/data-mining.md>), [data-processing](<https://devfeed.tech/tags/data-processing.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [library](<https://devfeed.tech/tags/library.md>), [matlab](<https://devfeed.tech/tags/matlab.md>), [python](<https://devfeed.tech/tags/python.md>), [reality-mining](<https://devfeed.tech/tags/reality-mining.md>), [research](<https://devfeed.tech/tags/research.md>), [social-networks](<https://devfeed.tech/tags/social-networks.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial and critique of accessing the RealityMining smartphone dataset with Python. It explains the dataset's communication, cell-tower, survey, and friendship data; the access process; the proprietary Matlab file format; and difficulties loading and inspecting the data with SciPy and NumPy.

### Source excerpt

This post is intended to be a tutorial on how to access the RealityMining dataset using Python (because who likes Matlab?), and a rant on how annoying the process was to figure out. RealityMining is a dataset of smart-phone data logs from a group of about one hundred MIT students over the course of a year. The data includes communication and cell tower data, the latter being recorded every time a signal changes from one tower to the next.