Coder Social home page Coder Social logo

irfan-gh / chatgpt_programming_numerical_methods Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ali-stanford/chatgpt_programming_numerical_methods

0.0 0.0 0.0 254 KB

Coding numerical methods using ChatGPT: successes, failures, and challenges

C++ 48.08% Python 34.53% C 3.42% MATLAB 11.99% Julia 1.98%

chatgpt_programming_numerical_methods's Introduction

ChatGPT for Programming Numerical Methods

pic

Programming numerical methods using ChatGPT: successes, failures, and challenges

Research Article:
ChatGPT for Programming Numerical Methods
This is also the arXiv version.

Authors: Ali Kashefi ([email protected]) & Tapan Mukerji ([email protected])
Version: 2.0

Citation
If you use this research article, please cite the following journal paper:
ChatGPT for Programming Numerical Methods

 @article{kashefi2023chatgpt,
   title={Chatgpt for programming numerical methods},
   author={Kashefi, Ali and Mukerji, Tapan},
   journal={Journal of Machine Learning for Modeling and Computing},
   volume={4},
   number={2},
   year={2023},
   publisher={Begel House Inc.}}

Abstract

ChatGPT is a large language model recently released by the OpenAI company. In this technical report, we explore for the first time the capability of ChatGPT for programming numerical algorithms. Specifically, we examine the capability of GhatGPT for generating codes for numerical algorithms in different programming languages, for debugging and improving written codes by users, for completing missed parts of numerical codes, rewriting available codes in other programming languages, and for parallelizing serial codes. Additionally, we assess if ChatGPT can recognize if given codes are written by humans or machines. To reach this goal, we consider a variety of mathematical problems such as the Poisson equation, the diffusion equation, the incompressible Navier-Stokes equations, compressible inviscid flow, eigenvalue problems, solving linear systems of equations, storing sparse matrices, etc. Furthermore, we exemplify scientific machine learning such as physics-informed neural networks and convolutional neural networks with applications to computational physics. Through these examples, we investigate the successes, failures, and challenges of ChatGPT. Examples of failures are producing singular matrices, operations on arrays with incompatible sizes, programming interruption for relatively long codes, etc. Our outcomes suggest that ChatGPT can successfully program numerical algorithms in different programming languages, but certain limitations and challenges exist that require further improvement of this machine learning model.

ChatGPT in Machine Learning + X seminar 2023 at Brown University
In case of your interest, you might watch the recorded machine learning seminar with the topic of ChatGPT at Brown University using the following link:
YouTube Video

Questions?
If you have any questions or need assistance, please do not hesitate to contact Ali Kashefi ([email protected]) via email.

About the Author
Please see the author's website: Ali Kashefi

chatgpt_programming_numerical_methods's People

Contributors

ali-stanford avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.