Skip to main content

Posts

ChatGPT, Data Scientist - fitting it a bit

This is a second post about using ChatGPT to do some data analysis. In the first looked at using it to some basic statistics  https://robotsandphysicalcomputing.blogspot.com/2023/07/chatgpt-data-scientist.html This time, the CSV file looked at some publication data - The year of publication; the number of papers published in that year; and the number of citaations papers in that year got over time. The data was collected from Google Scholar for one person. The prompt used (again using Code Interpreter plug-in The transcript is shown below. Analyse this data as a Data Analyst including linear and polynominal fitring papervcitation.csv Interestingly it spotted some errors in its own code and corrected them.  I apologize for the inconvenience, there seems to have been a technical issue with the code execution. Let's try to load the dataset again. Finished working Hide work python Copy code # Load the new dataset data_new = pd.read_csv( '/mnt/data/papervcitation.csv' ) # Disp...

ChatGPT, Data Scientist

ChatGPT (with a plus account) have launched an application in BETA to try - Code Interpreter that can be used to produce the start of of an analysis of data. Producing Python code for the analysis  - Pandas based. Prompt 1 So load in a file of COVID data from 2021 and type in the prompt " Acts as a data scientist and analze the datashet amd make charts and graphs to show major trends" Even with the spelling mistakes it did the following:    Acts as a data scientist and analze the datashet amd make charts and graphs to show major trends covid_1.csv ChatGPT Great, let's start by loading the dataset and examining its structure. Finished working Show work It seems like the dataset does not have any column names. The dataset consists of three columns. Could you please provide some context about what these columns represent? This will help me to analyze the data more accurately. Prompt 2 Follow-up prompt " first column is days, the second is group...

The 5 most read blog posts June 2023

Microbit Remote Control CBiS Car Posted by Scott Turner Coral Dev Board and Raspberry Pi Posted by Scott Turner Speech Recognition in Scratch 3 - turning Hello into Bonjour! Posted by Scott Turner Scratch Robot Arm Posted by Scott Turner Free Web based Augmented Reality (AR) All opinions in this blog are the Author's and should not in any way be seen as reflecting the views of any organisation the Author has any association with. Twitter @scottturneruon

Popular posts May 2023

Microbit Remote Control CBiS Car I wanted to contol the CBiS micro:Bit Car via gestures whilst holding another micro:Bit (see Figure 1) I went for: - Button A in combinat... Coral Dev Board and Raspberry Pi This is the second of a planned occasional series of posts on playing with some of the current AI specific add-on processors for Intenet of ... Escape the Maze with a VR robot - Vex VR You don't need to buy a robot to get programming a robot, now there are a range of free and relatively simple to start with robot simula... Crumblebot - explorer bot? In an earlier post I played with 4Tronix's CrumbleBot to make an edge follower robot ( http://robotsandphysicalcomputing.blogspot.co.uk/... Programming Robots Virtually 4: Preview of Edbot Studio In previous post I looked at a few on-line robot simulators (see links below) Programming VEX Code Programming  iRobot Simulator Programming... Top read post on Blog in Feb 2020 Popular Posts Moving Eyes with an Adafruit Adabox kit...

Batmobile and micropython: first play

How do you fancy, building and programming a Batmobile? A recently fulfilled Kickstarter project from Circuitmess allows just that  https://circuitmess.com/products/batmobile ;an autonomous 'car' kit, programmable and controlled through a separate controller. It can also be programmed through their  CircuitBlocks environment based on MakeCode and Blockly - this approach is the starting point for this first play. There is not going to be discussion on the building of the controller and the batmobile, in this post; Circuitmess have provided detailed instructions here:  https://circuitmess.com/blogs/resources/batmobile-build-guide   Below is a video showing it off a bit and some of the functions produced by the manufacturers. The video largely shows going through the controller to interact with the Batmobile. You can as well start coding through  https://code.circuitmess.com/  the Circuitmess coding app mentioned earlier, and choose a sketch. The controll...