<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>data analytics &#8211; About Things | A Hans Scharler Blog</title>
	<atom:link href="https://nothans.com/tag/data-analytics/feed" rel="self" type="application/rss+xml" />
	<link>https://nothans.com</link>
	<description>Life, Comedy, Games, Tech, Marketing, and Community</description>
	<lastBuildDate>Sat, 16 Sep 2023 13:55:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/nothans.com/wp-content/uploads/2023/02/cropped-settings.png?fit=32%2C32&#038;ssl=1</url>
	<title>data analytics &#8211; About Things | A Hans Scharler Blog</title>
	<link>https://nothans.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114568856</site>	<item>
		<title>Week One Fantasy Football &#8211; Start Patrick Mahomes or Jalen Hurts? Let&#8217;s see if ChatGPT can help me decide.</title>
		<link>https://nothans.com/start-patrick-mahomes-or-jalen-hurts</link>
					<comments>https://nothans.com/start-patrick-mahomes-or-jalen-hurts#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Mon, 11 Sep 2023 01:43:43 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[Games]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[data analytics]]></category>
		<category><![CDATA[fantasy football]]></category>
		<category><![CDATA[football]]></category>
		<category><![CDATA[NFL]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=4031</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>I got into a sticky situation with my Fantasy Football team. I have both Patrick Mahomes and Jalen Hurts. I didn&#8217;t particularly draft well for other positions and got stacked at the QB position. Arguably, these are the two best quarterbacks in the NFL and finished 1st and 2nd last year, respectively. I can only start one during week one. It is a close call, and I need ChatGPT to help me decide and push the decision one way or another. Ugg. All of Fantasy Football is about making 50/50 decisions.</p>



<p>I started by pasting in the fantasy football projects for week one. Mahomes is facing the Lions with a point projection of 22.46 points. This is based on last year&#8217;s matchup, but ultimately, this is what <a href="https://fantasydata.com/nfl/fantasy-football-weekly-projections?season=2023&amp;seasontype=1&amp;scope=2&amp;startweek=1&amp;endweek=1" data-type="link" data-id="https://fantasydata.com/nfl/fantasy-football-weekly-projections?season=2023&amp;seasontype=1&amp;scope=2&amp;startweek=1&amp;endweek=1">FantasyData.com</a> wants to project. Mahomes will be without Travis Kelce, the league&#8217;s best Tight End and Patrick&#8217;s go-to option. Philadelphia&#8217;s Jalen Hurts looks ready to go. He has everything stacked in his favor and is behind Mahomes in the projects with a modest 22.28 points. ChatGPT processed the data that I pasted in and let me know that it understood what I gave it for context.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="4032" data-permalink="https://nothans.com/start-patrick-mahomes-or-jalen-hurts/image-5-12" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?fit=861%2C483&amp;ssl=1" data-orig-size="861,483" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-5" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?fit=300%2C168&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?fit=750%2C421&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?resize=590%2C331&#038;ssl=1" alt="" class="wp-image-4032" style="width:590px;height:331px" width="590" height="331" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?w=861&amp;ssl=1 861w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?resize=300%2C168&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?resize=768%2C431&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?resize=750%2C421&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-5.png?resize=480%2C270&amp;ssl=1 480w" sizes="(max-width: 590px) 100vw, 590px" /><figcaption class="wp-element-caption">ChatGPT Processing Fantasy Football Data</figcaption></figure>
</div>


<p>Next, I am going to try to figure out which way to go. In my <a href="https://nothans.com/win-your-fantasy-football-league-with-chatgpt" data-type="post" data-id="4019">guide for using ChatGPT to win fantasy football</a>, I mentioned using any additional context that you can give ChatGPT to help you make a decision. I realized that Hurts was going to play New England, in my backyard, and I know that it is supposed to rain over the weekend.</p>



<p>I found the weather predictions, pasted them into ChatGPT, and asked the AI to help me decide between the QBs with this additional information.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>The weather forecast for the Kansas City Chiefs vs. Detroit Lions game on Thursday, September 7, 2023 at 8:20 PM ET is partly cloudy with a low around 63 degrees.&nbsp;The predicted daytime high is 88 degrees, and the nighttime low is 63 degrees. The forecast also calls for a slight chance of showers and thunderstorms after 7 PM.&nbsp;The chance of precipitation is 20%.&nbsp;The winds are predicted to be around 8 mph.</p>
<cite>Google Bard about the weather for the Chiefs home opener</cite></blockquote>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>The weather forecast for the Philadelphia Eagles and New England Patriots game at Gillette Stadium in Foxborough, MA is mostly cloudy with a high near 80 degrees.&nbsp;There is a 40% chance of precipitation, with a 88% chance of rain and a 53% chance of thunderstorms.&nbsp;The projected daytime rain accumulation is 0.26 inches. The rain is expected to slow down during the first half and dissipate by halftime.&nbsp;The rain is expected to continue throughout the afternoon.</p>
<cite>Google Bard about the weather for the New England game</cite></blockquote>



<p>Of course, it was going to be cruddy in New England. As a Pittsburgh Steelers fan, I wouldn&#8217;t put it past Bill to have some control over the weather. He had complete control over the Steelers for two decades.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img data-recalc-dims="1" decoding="async" data-attachment-id="4033" data-permalink="https://nothans.com/start-patrick-mahomes-or-jalen-hurts/image-6-10" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-6.png?fit=1022%2C731&amp;ssl=1" data-orig-size="1022,731" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-6" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-6.png?fit=300%2C215&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-6.png?fit=750%2C536&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-6.png?resize=580%2C415&#038;ssl=1" alt="" class="wp-image-4033" style="width:580px;height:415px" width="580" height="415" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-6.png?w=1022&amp;ssl=1 1022w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-6.png?resize=300%2C215&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-6.png?resize=768%2C549&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-6.png?resize=750%2C536&amp;ssl=1 750w" sizes="(max-width: 580px) 100vw, 580px" /></figure>
</div>


<p>ChatGPT did factor in the weather, but weighted skill and past performance higher. ChatGPT said Mahomes was a lock even without Kelce.</p>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p>Mahomes seems to have the better weather conditions, which are generally more favorable for a passing game. Hurts is facing potentially trickier weather conditions, although if the ground game becomes more important due to the weather, his rushing ability could be an asset.</p>
<cite>ChatGPT assessing Mahomes or Hurts based on weather forecasts</cite></blockquote>


<h2 class="wp-block-heading" id="why-am-i-spending-so-much-time-with-chatgpt-and-fantasy-football">Why Am I Spending So Much Time With ChatGPT and Fantasy Football?</h2>


<p>I am using Fantasy Football as a way to learn more about how to leverage ChatGPT and learn as much as I can about its limitations, what&#8217;s possible with prompt design, and how data can be used in large-language models. I will get back to blogging about important applications of Generative AI, but feel free to use what I am doing with fantasy football for your hobby. You should be thinking about how to apply this technology to your interests. Let me know what you try and what you learn. Let&#8217;s explore this together.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" decoding="async" width="750" height="422" data-attachment-id="4034" data-permalink="https://nothans.com/start-patrick-mahomes-or-jalen-hurts/image-7-9" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?fit=800%2C450&amp;ssl=1" data-orig-size="800,450" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-7" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?fit=300%2C169&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?fit=750%2C422&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?resize=750%2C422&#038;ssl=1" alt="" class="wp-image-4034" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?w=800&amp;ssl=1 800w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?resize=300%2C169&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?resize=768%2C432&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?resize=750%2C422&amp;ssl=1 750w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/09/image-7.png?resize=480%2C270&amp;ssl=1 480w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">ChatGPT Meme from Twitter</figcaption></figure>
</div>


<p></p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/start-patrick-mahomes-or-jalen-hurts/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4031</post-id>	</item>
		<item>
		<title>ChatGPT Code Interpreter for ThingSpeak IoT Data Analysis</title>
		<link>https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis</link>
					<comments>https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Fri, 07 Jul 2023 20:04:38 +0000</pubDate>
				<category><![CDATA[AI]]></category>
		<category><![CDATA[ThingSpeak]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[Code Interpreter]]></category>
		<category><![CDATA[data analytics]]></category>
		<category><![CDATA[internet of things]]></category>
		<category><![CDATA[iot]]></category>
		<category><![CDATA[web of things]]></category>
		<guid isPermaLink="false">https://nothans.com/?p=3904</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[
<p>ChatGPT just launched a new app for ChatGPT Plus subscribers. It is called ChatGPT Code Interpreter. The new app is in beta and will be rolling out to ChatGPT Plus subscribers over the next few weeks. I have early access and have been using it to explore IoT data analysis using ThingSpeak data.</p>



<p>Head over to <a href="https://chat.openai.com/" target="_blank" rel="noreferrer noopener">chat.openai.com</a>, sign in, and select <em>Code Interpreter</em>.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="433" height="508" data-attachment-id="3905" data-permalink="https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/image-6-8" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-6.png?fit=433%2C508&amp;ssl=1" data-orig-size="433,508" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-6" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-6.png?fit=256%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-6.png?fit=433%2C508&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-6.png?resize=433%2C508&#038;ssl=1" alt="" class="wp-image-3905" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-6.png?w=433&amp;ssl=1 433w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-6.png?resize=256%2C300&amp;ssl=1 256w" sizes="auto, (max-width: 433px) 100vw, 433px" /><figcaption class="wp-element-caption">ChatGPT Code Interpreter Beta</figcaption></figure>
</div>


<p>ThingSpeak enables millions of IoT devices to log data to the MathWorks Cloud. The data can be easily exported using MATLAB and ThingSpeak data feed API. ChatGPT Code Interpreter can work with CSV files and ThingSpeak also generates CSV files of data.</p>


<h2 class="wp-block-heading" id="use-chatgpt-code-interpreter-to-analyze-traffic-data">Use ChatGPT Code Interpreter to Analyze Traffic Data</h2>


<p>One of the most popular IoT projects that we published is the ability to analyze traffic data using a webcam and a Raspberry Pi. We generated an algorithm using <a rel="noreferrer noopener" href="https://www.mathworks.com/matlabcentral/fileexchange/52456-analyzing-traffic-using-a-webcam-a-raspberry-pi-and-thingspeak" target="_blank">Simulink</a> to detect cars and their direction. Simulink exported the car detection model and runs directly on the Raspberry Pi.</p>



<p>The car counter data is being stored in real-time using <a rel="noreferrer noopener" href="https://thingspeak.com/channels/38629" target="_blank">ThingSpeak Channel #38629</a>. The channel is public so anyone can use the data to learn IoT data analytics. Download the most recent data by clicking &#8220;Export recent data&#8221; and selecting <a rel="noreferrer noopener" href="https://thingspeak.com/channels/38629/feed.csv?results=8000" target="_blank">CSV</a>. This will download a CSV file that we can upload to ChatGPT Code Interpreter.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><a href="https://thingspeak.com/channels/38629/feed.csv?results=8000" target="_blank" rel="noreferrer noopener"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="250" data-attachment-id="3907" data-permalink="https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/image-7-7" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-7.png?fit=899%2C300&amp;ssl=1" data-orig-size="899,300" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-7" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-7.png?fit=300%2C100&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-7.png?fit=750%2C250&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-7.png?resize=750%2C250&#038;ssl=1" alt="" class="wp-image-3907" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-7.png?w=899&amp;ssl=1 899w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-7.png?resize=300%2C100&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-7.png?resize=768%2C256&amp;ssl=1 768w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-7.png?resize=750%2C250&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /></a><figcaption class="wp-element-caption">Export ThingSpeak Data as a CSV File</figcaption></figure>
</div>


<p>Now, let&#8217;s upload the data to ChatGPT.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="255" height="142" data-attachment-id="3908" data-permalink="https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/image-8-7" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-8.png?fit=255%2C142&amp;ssl=1" data-orig-size="255,142" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-8" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-8.png?fit=255%2C142&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-8.png?fit=255%2C142&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-8.png?resize=255%2C142&#038;ssl=1" alt="" class="wp-image-3908"/><figcaption class="wp-element-caption">Upload File to ChatGPT Code Interpreter</figcaption></figure>
</div>


<p>Tell ChatGPT that &#8220;Field 1 Data is the Density of Westbound Cars and Field 2 Data is the Density of Eastbound Cars&#8221;.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="622" height="165" data-attachment-id="3909" data-permalink="https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/image-9-6" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-9.png?fit=622%2C165&amp;ssl=1" data-orig-size="622,165" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-9" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-9.png?fit=300%2C80&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-9.png?fit=622%2C165&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-9.png?resize=622%2C165&#038;ssl=1" alt="" class="wp-image-3909" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-9.png?w=622&amp;ssl=1 622w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-9.png?resize=300%2C80&amp;ssl=1 300w" sizes="auto, (max-width: 622px) 100vw, 622px" /><figcaption class="wp-element-caption">Letting ChatGPT Code Interpreter Known About ThingSpeak IoT Data</figcaption></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="3910" data-permalink="https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/image-10-5" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-10.png?fit=603%2C425&amp;ssl=1" data-orig-size="603,425" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-10" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-10.png?fit=300%2C211&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-10.png?fit=603%2C425&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-10.png?resize=603%2C425&#038;ssl=1" alt="" class="wp-image-3910" width="603" height="425" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-10.png?w=603&amp;ssl=1 603w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-10.png?resize=300%2C211&amp;ssl=1 300w" sizes="auto, (max-width: 603px) 100vw, 603px" /><figcaption class="wp-element-caption">ChatGPT Code Interpreter Working on the ThingSpeak Data</figcaption></figure>
</div>


<p>Now, you can ask ChatGPT any questions or requests that you have about the IoT using natural language. You can ask it for ideas on how to interpret the data or provide suggestions on visualizations and plots. I asked ChatGPT to provide some interesting visualizations for the east and west traffic. I got back some suggestions.</p>



<ol class="wp-block-list">
<li><strong>Histograms</strong>: These can help to understand the distribution of the traffic densities. We can create separate histograms for eastbound and westbound traffic densities.</li>



<li><strong>Box Plots</strong>: These can provide statistical insights into the traffic densities. A box plot can show the median, quartiles, and potential outliers in the data.</li>



<li><strong>Hourly averages</strong>: By grouping the data by hour of the day, we can identify patterns that occur on an hourly basis. For instance, we might find that traffic is consistently higher during certain hours of the day.</li>



<li><strong>Day of the week patterns</strong>: Similarly, by grouping the data by day of the week, we can identify patterns that occur on specific days. For instance, traffic might be higher on weekdays compared to weekends.</li>
</ol>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="558" data-attachment-id="3911" data-permalink="https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/image-11-5" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-11.png?fit=751%2C559&amp;ssl=1" data-orig-size="751,559" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-11" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-11.png?fit=300%2C223&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-11.png?fit=750%2C558&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-11.png?resize=750%2C558&#038;ssl=1" alt="" class="wp-image-3911" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-11.png?w=751&amp;ssl=1 751w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-11.png?resize=300%2C223&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-11.png?resize=100%2C75&amp;ssl=1 100w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>
</div>


<p>I then asked ChatGPT to compare east and west traffic for the past three hours.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="750" height="510" data-attachment-id="3912" data-permalink="https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/image-12-4" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-12.png?fit=758%2C515&amp;ssl=1" data-orig-size="758,515" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-12" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-12.png?fit=300%2C204&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-12.png?fit=750%2C510&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-12.png?resize=750%2C510&#038;ssl=1" alt="" class="wp-image-3912" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-12.png?w=758&amp;ssl=1 758w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-12.png?resize=300%2C204&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-12.png?resize=750%2C510&amp;ssl=1 750w" sizes="auto, (max-width: 750px) 100vw, 750px" /></figure>
</div>


<p>I wasn&#8217;t too happy with the plot. So, I asked it to smooth data and use distinctive colors for the lines.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img data-recalc-dims="1" loading="lazy" decoding="async" width="680" height="434" data-attachment-id="3913" data-permalink="https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/image-13-4" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-13.png?fit=680%2C434&amp;ssl=1" data-orig-size="680,434" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="image-13" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-13.png?fit=300%2C191&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-13.png?fit=680%2C434&amp;ssl=1" src="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-13.png?resize=680%2C434&#038;ssl=1" alt="" class="wp-image-3913" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-13.png?w=680&amp;ssl=1 680w, https://i0.wp.com/nothans.com/wp-content/uploads/2023/07/image-13.png?resize=300%2C191&amp;ssl=1 300w" sizes="auto, (max-width: 680px) 100vw, 680px" /></figure>
</div>


<p>This plot turned out well and I was able to understand the results. Traffic is normally bad in Metro West Boston in the morning then settles down a bit and then spikes around lunch time. You can see the spike if you follow the Westbound Traffic blue line past 11:30. Neat.</p>


<h2 class="wp-block-heading" id="observations"> Observations</h2>


<ul class="wp-block-list">
<li>I have been using ChatGPT Code Interpreter since the alpha version. Right now, you are limited to 25 queries with the GPT-4 model over a three-hour period. It runs out pretty quickly and then you wait for a while to try again.</li>



<li>Traffic has been extremely high to ChatGPT Code Interpreter so many requests need to be resent.</li>



<li>Exploring new analytics and visualizations using natural language is a game changer. It is a fun way to learn other ways to explore the data without having to write up bunch of scratch code. It&#8217;s nice to try before you commit to writing the code.</li>



<li>Since this is Generative AI through the ChatGPT interface, the model temperature is set to 1. This is good for creative solutions but not great for reproducibility. I never get the same results following the same process. You must learn to be a little flexible, loosen up your expectations, and learn how to guide ChatGPT Code Interpreter towards the results that your seeking.</li>
</ul>



<p><strong><em>Are you exploring ChatGPT Code Interpreter? Share what you have learned on our <a href="/discord">Discord Server</a>.</em></strong></p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/chatgpt-code-interpreter-for-thingspeak-iot-data-analysis/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3904</post-id>	</item>
		<item>
		<title>What is the Use of Nonlinear Over Time?</title>
		<link>https://nothans.com/what-is-the-use-of-nonlinear-over-time</link>
					<comments>https://nothans.com/what-is-the-use-of-nonlinear-over-time#respond</comments>
		
		<dc:creator><![CDATA[Hans Scharler]]></dc:creator>
		<pubDate>Thu, 02 Feb 2017 19:53:35 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[big data]]></category>
		<category><![CDATA[data analytics]]></category>
		<category><![CDATA[Nonlinear]]></category>
		<guid isPermaLink="false">http://nothans.com/?p=1037</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<p>I like the word nonlinear.</p>
<blockquote><p>&#8220;In <a class="mw-redirect" title="Physical science" href="https://en.wikipedia.org/wiki/Physical_science">physical sciences</a>, a <b>nonlinear system</b> is a <a title="System" href="https://en.wikipedia.org/wiki/System">system</a> in which the output is not <a title="Proportionality (mathematics)" href="https://en.wikipedia.org/wiki/Proportionality_(mathematics)#Direct_proportionality">directly proportional</a> to the input. Nonlinear problems are of interest to <a title="Engineer" href="https://en.wikipedia.org/wiki/Engineer">engineers</a>, <a title="Physicist" href="https://en.wikipedia.org/wiki/Physicist">physicists</a> and <a title="Mathematician" href="https://en.wikipedia.org/wiki/Mathematician">mathematicians</a> and many other <a title="Scientist" href="https://en.wikipedia.org/wiki/Scientist">scientists</a> because most systems are inherently nonlinear in nature. Nonlinear systems may appear chaotic, unpredictable or counterintuitive, contrasting with the much simpler <a class="mw-redirect" title="Linear systems" href="https://en.wikipedia.org/wiki/Linear_systems">linear systems</a>.&#8221;</p>
<p>&#8211;<a href="https://en.wikipedia.org/wiki/Nonlinear_system">Wikipedia</a></p></blockquote>
<p>I wondered what the use of the word nonlinear over time was. I found Google Books and they track such things with their <a href="https://books.google.com/ngrams/graph?content=nonlinear&amp;year_start=1800&amp;year_end=2008&amp;corpus=15&amp;smoothing=7&amp;share=&amp;direct_url=t1%3B%2Cnonlinear%3B%2Cc0">Ngram Viewer</a>.</p>
<p><img data-recalc-dims="1" loading="lazy" decoding="async" data-attachment-id="1038" data-permalink="https://nothans.com/what-is-the-use-of-nonlinear-over-time/nonlinear" data-orig-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/nonlinear.png?fit=917%2C369&amp;ssl=1" data-orig-size="917,369" data-comments-opened="0" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="Use of nonlinear over time" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/nonlinear.png?fit=300%2C121&amp;ssl=1" data-large-file="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/nonlinear.png?fit=750%2C302&amp;ssl=1" class="aligncenter size-full wp-image-1038" src="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/nonlinear.png?resize=750%2C302" alt="Use of nonlinear over time" width="750" height="302" srcset="https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/nonlinear.png?w=917&amp;ssl=1 917w, https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/nonlinear.png?resize=300%2C121&amp;ssl=1 300w, https://i0.wp.com/nothans.com/wp-content/uploads/2017/02/nonlinear.png?resize=768%2C309&amp;ssl=1 768w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<p>The use of the word nonlinear in books is decidedly nonlinear.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://nothans.com/what-is-the-use-of-nonlinear-over-time/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1037</post-id>	</item>
	</channel>
</rss>
