简体   繁体   English

是否有可能从数据集中获得两种不同类型的结果

[英]Is it possible to get two different types of results from dataset

please be easy on me, I am new to ML. 请放心,我是ML的新手。 I am sure somebody will request to close this as subjective but I cannot find my specific answer and don't know how else to ask. 我确定有人会要求以主观方式结束此操作,但我找不到我的具体答案,也不知道还有什么要问的。

If I have a shop, with three areas of the shop. 如果我有一家商店,则拥有三个区域的商店。 I have sensors to detect when people come in or out of each area. 我有传感器来检测人们何时进入或离开每个区域。 This happens every 15 seconds. 这每15秒发生一次。 So, in my db, I have a count of the occupancy, per room, every 15 seconds. 因此,在我的数据库中,我每隔15秒就有一个房间的占用计数。

Using this data, I want to predict the occupancy, per room, in the future but also, if somebody comes in the door, predict most likely room they will go to. 使用此数据,我想预测将来每个房间的占用率,而且,如果有人进门,则要预测他们将要去的最有可能的房间。

Is it possible to predict future occupancy per room and also probability of where people will go when the walk in using a dataset that simply lists the rooms and the occupancy of each room every 15 seconds? 是否可以使用每15秒简单列出一个房间和每个房间的占用率的数据集来预测每个房间的未来占用率,以及人们走进去的可能性? Is this a regression model? 这是回归模型吗?

Thanks! 谢谢!

Mike 麦克风

Predicting the most likely room, which they would walk in. : 预测最可能进入的房间。

This falls under the classification problem. 这属于分类问题。 The output falls under a set of categories, in this case it is different rooms. 输出属于一组类别,在这种情况下,它是不同的房间。

Predicting the Occpancy of each room : As mentioned by @poorna is a regression problem. 预测每个房间的占用情况:如@poorna所述,这是一个回归问题。

Two ways you can look at this problem, 您可以通过两种方式查看此问题,

  1. Multi- target regression problem with occupancy of each room as one target and past occupancies of all rooms as input. 将每个房间的占用率作为一个目标,将过去所有房间的占用率作为输入的多目标回归问题。

  2. Independent forecast problem for each room with past occupancies of corresponding room as input. 以每个房间过去的占用率作为输入的每个房间的独立预测问题。

For learning the basics of machine learning, you can go through this link 要学习机器学习的基础知识,可以通过此链接

I can see this is a forecasting (A type of Regression) problem. 我可以看到这是一个预测(一种回归)问题。

This requires a set of features useful for forecasting your occupancy per room which can be 这需要一些功能,这些功能可用于预测每个房间的入住率,

  1. room number 房间号
  2. time period as hours 时间段(以小时为单位)
  3. time period as day of the week 时间段为星期几
  4. Lagging 落后的

Try fitting any of the time series forecasting models like mentioned here with the above mentioned as features and occupancy count as target variable. 尝试将此处提到的任何时间序列预测模型与上面提到的特征和占用计数作为目标变量进行拟合。

Basing on the count of occupancy per room you can find the most probable room by applying simple probability. 根据每个房间的占用量,您可以通过应用简单概率找到最可能的房间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 两种不同方法在计算召回率和精度方面的结果不同 - different results in calculating recall and precision from two different methods 为什么libsvm在同一数据集上创建不同的结果 - Why libsvm creates different results on same dataset 机器学习中同一数据集上的不同结果 - Different results on the same dataset in machine learning MATLAB SVM:使用相同的数据集进行训练和测试会得到不同的结果 - MATLAB SVM: Using the same dataset for training and testing gives different results Keras:使用批量标准化对同一数据集进行不同的培训和验证结果 - Keras: Different training and validation results on same dataset using batch normalization 在一个数据集上使用两个不同的回归模型来预测单个标签 - Using two different regression models on one dataset to predict a single label PCA:为什么我从princomp()和prcomp()得到的结果如此不同? - PCA: why do I get so different results from princomp() and prcomp()? 有没有办法从无监督数据集中获取关系? - Is there any way to get the relationship from the unsupervised dataset? 从测试数据集中获得最佳准确性 - To get best accuracy from Testing dataset 如何将两个数据集与 BusinessID 合并并获得最终数据集? - How do I merge two datasets with on BusinessID and get the final dataset?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM