A CODE TO VISUALIZE HOUSE OCCUPATION

조회 수: 1(최근 30일)
Emanuele De Astis
Emanuele De Astis 2021년 2월 9일
댓글: Emanuele De Astis 2021년 2월 12일
2009-10-16 09:15:52.000081 M003 ON
2009-10-16 09:15:57.000014 M003 OFF
2009-10-16 09:15:59.000039 M027 OFF
2009-10-16 09:15:59.000050 M002 ON
2009-10-16 09:16:01.000001 M001 ON Leave_Home begin
2009-10-16 09:16:02.000052 M002 OFF
2009-10-16 09:16:04.000001 D001 OPEN
2009-10-16 09:16:11.000061 M001 OFF
2009-10-16 09:16:18.000053 M001 ON
2009-10-16 09:16:25.000026 D001 CLOSE
2009-10-16 09:16:30.000027 M002 ON
2009-10-16 09:16:33.000051 M001 OFF Leave_Home end
2009-10-16 09:16:34.000065 M027 ON
2009-10-16 09:16:35.000079 M002 OFF
2009-10-16 09:16:46.000013 M027 OFF
2009-10-16 09:16:49.000031 M004 ON
hello, i have a dataset of activity in Houses, i'm looking for a way to plot time intervals between the begin and start of "Leave_Home" (the original dataset is more largest of this). i am thinking of creating a code to have certain values ​​between end and begin (like 1, to indicate that the house is occupied) and another value (like 0 to indicate that the house is empty), between begin and end. all this work should serve me for a subsequent Machine Learning training. Thanks to those who will answer

답변(1개)

Gaurav Garg
Gaurav Garg 2021년 2월 12일
Hi Emanuele,
You can try fitting your data using Decision Trees (link).
If decision trees doesn't give good results in your scenario, there are other functions available in MATLAB which can be used to fit data (link).
  댓글 수: 1
Emanuele De Astis
Emanuele De Astis 2021년 2월 12일
"Warning: Error occurred while executing the listener callback for event TrainingDatasetChanged defined for class
mlearnapp.internal.model.Session:
Error using eye
Requested 1048417x1048417 (8189.5GB) array exceeds maximum array size preference. Creation of arrays greater than
this limit may take a long time and cause MATLAB to become unresponsive."
Command window shows me this, what i do?

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by