[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-124027-en":3,"doc-seo-124027-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},124027,8796095461610,"Oliver","https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c",6,"Technology","ml_edm package - a Python toolkit for Machine Learning based Early Decision Making","ml_edm is a Python 3 library built for early decision making in learning tasks that involve temporal and sequential data. The toolkit is modular, enabling researchers to implement custom triggering strategies for classification, regression, or other machine learning tasks. It provides efficient implementations of many state-of-the-art Early Classification of Time Series (ECTS) algorithms using parallel computation. The API follows scikit-learn conventions, ensuring estimator and pipeline compatibility, and the software is released under the BSD-3-Clause license.","arXiv :2408 . 12925v1 [ cs .LG] 23 Aug 2024  \nml_edm package: a Python toolkit for Machine Learning based Early  \nDecision Making  \nAurélien Renault Youssef Achenchabe Édouard Bertrand Alexis Bondu Antoine Cornuéjols Vincent Lemaire Asma Dachraoui  \n[aurelien.renault@orange.com](aurelien.renault@orange.com)[ ](aurelien.renault@orange.com)youssef.achenchabe@    \n[edouard.bertrand100@gmail.com](edouard.bertrand100@gmail.com)[ ](edouard.bertrand100@gmail.com)[alexis.bondu@orange.com](alexis.bondu@orange.com)  \n[antoine.cornuejols@agroparistech.fr](antoine.cornuejols@agroparistech.fr)[ ](antoine.cornuejols@agroparistech.fr)[vincent.lemaire@orange.com](vincent.lemaire@orange.com)[ ](vincent.lemaire@orange.com)asma.dachraoui@    \nEditor: my editor  \nAbstract  \nml_edm is a Python 3 library, designed for early decision making of any learning tasks involving temporal/sequential data. The package is also modular, providing researchers an easy way to implement their own triggering strategy for classi􀀜cation, regression or any machine learning task. As of now, many Early Classi􀀜cation of Time Series (ECTS) state-of-the-art algorithms, are e􀀞ciently implemented in the library leveraging parallel computation. The syntax follows the one introduce in scikit-learn, making estimatorsand pipelines compatible with ml_edm. This software is distributed over the BSD-3-Clause license, source code can be found at [https://github.com/ML-EDM/ml_edm](https://github.com/ML-EDM/ml_edm).  \nKeywords: Machine Learning, Python, Time Series, Sequential data, Cost-sensitive learning  \n1 Introduction  \nIn hospital emergency rooms (Mathukia et al. (2015)), in the control rooms of national or international power grids (Dachraoui et al. (2015)), in government councils assessing critical situations, there is a time pressure to make early decisions. On the one hand, the longer a decision is delayed, the lower the risk of making the wrong decision, as knowledge of the problem increases with time. On the other hand, late decisions are generally more costly, if only because early decisions allow one to be better prepared. For example, a cyber-attack that is not detected quickly enough gives hackers time to exploit the security 􀀝aw found.  \nA number of applications involve making decisions that optimizes a trade-o􀀛 between accuracy of the prediction and its earliness. The problem is that favoring one usually works against the other. Greater accuracy comes at the price of waiting for more data. Such a compromise between the Earliness and the Accuracy of decisions has been particularly studied in the 􀀜eld of Early Classi􀀜cation of Time Series (ECTS)  \n(Gupta et al. (2020)), and introduced by Xing et al. (2008) .  \nIn this paper, the ml_edm package is presented, it gathers many state-of-the-art ECTS algorithms ina modular way, clearly di􀀛erencing the classi􀀜cation part from the triggering part, when possible. Thus, it allows researchers to easily reproduce past results, test well-know methods in di􀀛erent settings and implement new ECTS algorithms.  \n2 Implementation details  \nDependencies: The ml_edm package depends on numpy (Van Der Walt et al. (2011)), scipy (Virtanen et al.(2020)) and pandas (Wes McKinney (2010)) for classic array operations. It also depends on scikit-learn for its API, utilities as well as some classical Machine Learning models. The package is also dependent of aeon (Middlehurst et al. (2024)), for some time series specialized features extraction algorithms.  \n3 An API for Early Time Series Classi􀀜cation  \nOne of the main 􀀜eld of research when it comes to Early Decision Making is ECTS. The package has been primarily built to reproduce results from this literature, working only with univariate time series for now (Renault et al. (2024)) . In what follows, the di􀀛erent modules are presented through an introductory example. Please note that, as Early Decision Making can be broaden to other ML tasks, the ml_edm package can also be used to address these.  \n3.","cbCaijnXF4nON3ZD","https://ap.wps.com/l/cbCaijnXF4nON3ZD","pdf",102752,1,5,"English","en",105,"# 1 Introduction\n# 2 Implementation details\n# 3 An API for Early Time Series Classification\n## 3.1 Cost setting\n## 3.2 Classification","[{\"question\":\"What is the ml_edm package designed to do?\",\"answer\":\"It is a Python 3 library for early decision making in learning tasks involving temporal or sequential data, particularly Early Classification of Time Series (ECTS).\"},{\"question\":\"How does ml_edm support customization for triggering strategies?\",\"answer\":\"The package is modular and allows researchers to implement their own triggering strategy for classification, regression, or other machine learning tasks.\"},{\"question\":\"What API compatibility does ml_edm provide?\",\"answer\":\"The syntax follows scikit-learn, making its estimators and pipelines compatible with scikit-learn-style workflows.\"}]","ml_edm package - a Python toolkit for Machine Learning based Early Decision Making | PDF",1785819931,13,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"ml_edm-package-a-python-toolkit-for-machine-learning-based-early-decision-making","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/technology/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/ml_edm-package-a-python-toolkit-for-machine-learning-based-early-decision-making/124027/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-04",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"What is the ml_edm package designed to do?","Question",{"text":75,"@type":76},"It is a Python 3 library for early decision making in learning tasks involving temporal or sequential data, particularly Early Classification of Time Series (ECTS).","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"How does ml_edm support customization for triggering strategies?",{"text":80,"@type":76},"The package is modular and allows researchers to implement their own triggering strategy for classification, regression, or other machine learning tasks.",{"name":82,"@type":73,"acceptedAnswer":83},"What API compatibility does ml_edm provide?",{"text":84,"@type":76},"The syntax follows scikit-learn, making its estimators and pipelines compatible with scikit-learn-style workflows.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,109,112,117,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":106,"show_sort_weight":107,"slug":108},"Comic",60,"comic",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":110,"slug":111},50,"technology",{"id":113,"doc_module":4,"doc_module_name":46,"category_name":114,"show_sort_weight":115,"slug":116},7,"Healthcare",40,"healthcare",{"id":118,"doc_module":4,"doc_module_name":46,"category_name":119,"show_sort_weight":120,"slug":121},8,"Research & Report",30,"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":21,"slug":137},19,"General","general"]