<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/room-occupancy-detection-jhojoim7c" -->

---
title: Room Occupancy Detection | daily.dev
description: This project aims to predict room occupancy based on sensor data. The dataset contains attributes such as date, temperature, humidity, light, CO2, humidity...
canonical: https://daily.dev/posts/room-occupancy-detection-jhojoim7c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Room Occupancy Detection | daily.dev
og:description: This project aims to predict room occupancy based on sensor data. The dataset contains attributes such as date, temperature, humidity, light, CO2, humidity...
og:url: https://daily.dev/posts/room-occupancy-detection-jhojoim7c
og:image: https://api.daily.dev/og/posts/JHojOim7c.png
og:image:alt: Room Occupancy Detection
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Room Occupancy Detection

**[HEARTBEAT](https://daily.dev/sources/hrb)** · 7 min read · 5 upvotes · 0 comments

## Summary

This project aims to predict room occupancy based on sensor data. The dataset contains attributes such as date, temperature, humidity, light, CO2, humidity ratio, and occupancy. The exploratory data analysis shows correlations between temperature, light, CO2, and occupancy. The Random Forest Classifier is used as the final model with an accuracy score of 98%.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://heartbeat.comet.ml/room-occupancy-detection-ddb7a7025243>

---

Tags: [#data-science](https://daily.dev/tags/data-science), [#data-analysis](https://daily.dev/tags/data-analysis), [#classification](https://daily.dev/tags/classification), [#data-visualization](https://daily.dev/tags/data-visualization), [#random-forest](https://daily.dev/tags/random-forest), [#exploratory-data-analysis](https://daily.dev/tags/exploratory-data-analysis)

[View this post on daily.dev](https://daily.dev/posts/room-occupancy-detection-jhojoim7c)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Room Occupancy Detection","url":"https://daily.dev/posts/room-occupancy-detection-jhojoim7c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/room-occupancy-detection-jhojoim7c"},"datePublished":"2024-02-07T11:54:44.690Z","dateModified":"2024-05-09T09:28:18.744Z","description":"This project aims to predict room occupancy based on sensor data. The dataset contains attributes such as date, temperature, humidity, light, CO2, humidity...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d67f06f7330d1b8e6cf2507b2bb1957b?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/d67f06f7330d1b8e6cf2507b2bb1957b?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"HEARTBEAT","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"HEARTBEAT","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hrb","url":"https://daily.dev/sources/hrb"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/room-occupancy-detection-jhojoim7c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"data-science,data-analysis,classification,data-visualization,random-forest,exploratory-data-analysis","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"HEARTBEAT","item":"https://daily.dev/sources/hrb"},{"@type":"ListItem","position":3,"name":"Room Occupancy Detection"}]}
```

