Optimization of k value and lag parameter of k-nearest neighbor algorithm on the prediction of hotel occupancy rates

Agus Subhan Akbar, R. H. Kusumodestoni
{"title":"Optimization of k value and lag parameter of k-nearest neighbor algorithm on the prediction of hotel occupancy rates","authors":"Agus Subhan Akbar, R. H. Kusumodestoni","doi":"10.14710/jtsiskom.2020.13648","DOIUrl":null,"url":null,"abstract":"Hotel occupancy rates are the most important factor in hotel business management. Prediction of the rates for the next few months determines the manager's decision to arrange and provide all the needed facilities. This study performs the optimization of lag parameters and k values of the k-Nearest Neighbor algorithm on hotel occupancy history data. Historical data were arranged in the form of supervised training data, with the number of columns per row according to the lag parameter and the number of prediction targets. The kNN algorithm was applied using 10-fold cross-validation and k-value variations from 1-30. The optimal lag was obtained at intervals of 14-17 and the optimal k at intervals of 5-13 to predict occupancy rates of 1, 3, 6, 9, and 12 months later. The obtained k-value does not follow the rule at the square root of the number of sample data.","PeriodicalId":56231,"journal":{"name":"Jurnal Teknologi dan Sistem Komputer","volume":"8 1","pages":"246-254"},"PeriodicalIF":0.0000,"publicationDate":"2020-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jurnal Teknologi dan Sistem Komputer","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.14710/jtsiskom.2020.13648","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Hotel occupancy rates are the most important factor in hotel business management. Prediction of the rates for the next few months determines the manager's decision to arrange and provide all the needed facilities. This study performs the optimization of lag parameters and k values of the k-Nearest Neighbor algorithm on hotel occupancy history data. Historical data were arranged in the form of supervised training data, with the number of columns per row according to the lag parameter and the number of prediction targets. The kNN algorithm was applied using 10-fold cross-validation and k-value variations from 1-30. The optimal lag was obtained at intervals of 14-17 and the optimal k at intervals of 5-13 to predict occupancy rates of 1, 3, 6, 9, and 12 months later. The obtained k-value does not follow the rule at the square root of the number of sample data.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
k-最近邻算法在酒店入住率预测中的k值和滞后参数优化
酒店入住率是酒店经营管理中最重要的因素。对未来几个月费率的预测决定了经理安排和提供所有所需设施的决定。本研究对酒店入住历史数据进行了k近邻算法的滞后参数和k值的优化。历史数据以监督训练数据的形式排列,每行的列数根据滞后参数和预测目标的数量而定。使用10倍交叉验证和1-30的k值变化来应用kNN算法。最佳滞后时间间隔为14-17,最佳k时间间隔为5-13,以预测1、3、6、9和12个月后的入住率。所获得的k值在样本数据的数量的平方根处不遵循规则。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
6
审稿时长
6 weeks
期刊最新文献
TATOPSIS: A decision support system for selecting a major in university with a two-way approach and TOPSIS Regional clustering based on economic potential with a modified fuzzy k-prototypes algorithm for village developing target determination River water level measurement system using Sobel edge detection method Classification of beneficiaries for the rehabilitation of uninhabitable houses using the K-Nearest Neighbor algorithm Sequence-based prediction of protein-protein interaction using autocorrelation features and machine learning
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1