关于使用scipy.optimize模块拟合模型的简短课程

A. Rokem
{"title":"关于使用scipy.optimize模块拟合模型的简短课程","authors":"A. Rokem","doi":"10.21105/JOSE.00016","DOIUrl":null,"url":null,"abstract":"Fitting models and testing the match of the models to the measured data is a fundamental activity in many fields of science. This short (approximately 3-hour) course (available at: https://github.com/arokem/scipy-optimize) aims to teach participants to use the Scipy library’s optimize module to fit models to data (Jones et al. 2001). Using data from a psychology experiment (Rokem and Landau 2016) as an example, the course motivates the use of explicit mathematical models to explain and predict data and compares linear models and non-linear models. The core of the lesson focuses on fitting a curve with the curve_fit function. The course also introduces the idea of model comparison with cross-validation for evaluation and selection between non-nested non-linear models.","PeriodicalId":75094,"journal":{"name":"The Journal of open source education","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2018-07-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"A short course about fitting models with the scipy.optimize module\",\"authors\":\"A. Rokem\",\"doi\":\"10.21105/JOSE.00016\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Fitting models and testing the match of the models to the measured data is a fundamental activity in many fields of science. This short (approximately 3-hour) course (available at: https://github.com/arokem/scipy-optimize) aims to teach participants to use the Scipy library’s optimize module to fit models to data (Jones et al. 2001). Using data from a psychology experiment (Rokem and Landau 2016) as an example, the course motivates the use of explicit mathematical models to explain and predict data and compares linear models and non-linear models. The core of the lesson focuses on fitting a curve with the curve_fit function. The course also introduces the idea of model comparison with cross-validation for evaluation and selection between non-nested non-linear models.\",\"PeriodicalId\":75094,\"journal\":{\"name\":\"The Journal of open source education\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2018-07-04\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"The Journal of open source education\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.21105/JOSE.00016\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Journal of open source education","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21105/JOSE.00016","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

拟合模型并测试模型与测量数据的匹配是许多科学领域的基本活动。此短期(约3小时)课程(可在以下网址获取:https://github.com/arokem/scipy-optimize)旨在教参与者使用Scipy库的优化模块将模型与数据相匹配(Jones等人,2001)。以心理学实验(Rokem和Landau 2016)的数据为例,该课程鼓励使用显式数学模型来解释和预测数据,并比较线性模型和非线性模型。本课程的核心内容是使用curve_filt函数拟合曲线。本课程还介绍了模型比较与交叉验证的思想,用于评估和选择非嵌套非线性模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A short course about fitting models with the scipy.optimize module
Fitting models and testing the match of the models to the measured data is a fundamental activity in many fields of science. This short (approximately 3-hour) course (available at: https://github.com/arokem/scipy-optimize) aims to teach participants to use the Scipy library’s optimize module to fit models to data (Jones et al. 2001). Using data from a psychology experiment (Rokem and Landau 2016) as an example, the course motivates the use of explicit mathematical models to explain and predict data and compares linear models and non-linear models. The core of the lesson focuses on fitting a curve with the curve_fit function. The course also introduces the idea of model comparison with cross-validation for evaluation and selection between non-nested non-linear models.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信