Serving the Quantitative Finance Community

  • 1
  • 6
  • 7
  • 8
  • 9
  • 10
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

Re: My Dinner with ChatGPT

September 22nd, 2024, 8:42 pm

Image
 
User avatar
jasonbell
Posts: 348
Joined: May 6th, 2022, 4:16 pm
Location: Limavady, NI, UK
Contact:

Re: My Dinner with ChatGPT

September 23rd, 2024, 2:25 pm

https://unearthmag.com/2023/04/16/chatgtp-rubiks-cubes-ai-the-carbon-puzzle/

....every cost which some clever clogs was writing about 18 months ago :) 

* Her dad had nothing to do with her interest in AI, this I can confirm. 
Website: https://jasonbelldata.com
Linkedin: https://www.linkedin.com/in/jasonbelldata/
Author of Machine Learning: Hands on for Developers and Technical Professionals (Wiley).
Contributor: Machine Learning in the City (Wiley).
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

Re: My Dinner with ChatGPT

October 2nd, 2024, 3:03 pm

Image
 
User avatar
Alan
Topic Author
Posts: 3050
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

Re: My Dinner with ChatGPT

October 12th, 2024, 3:07 pm

I recently posted a query to Copilot, whose answer impressed me with the apparent understanding of 'the contradiction'  -- at least in the first paragraph. (In the second paragraph, perhaps not so much): 

me:  
The Wall Street Journal recently said "The deterioration of China's real-estate market in the past three years meant local governments could no longer rely on land sales to real-estate developers, a significant source of revenue." But my understanding is that the state owns all the land in China. Can you explain the contradiction?


Copilot:
You’re right that in China, the state owns all the land. However, the government leases land to developers and other entities for long-term use, typically through land-use rights sales. This system allows local governments to generate significant revenue from these leases.

The contradiction arises because, while the state technically owns the land, local governments depend heavily on the revenue from these land-use rights sales to real estate developers. When the real estate market deteriorates, developers are less willing or able to purchase these rights, leading to a significant drop in local government revenue.

This reliance on land sales has been a critical part of local government financing in China. The recent downturn in the real estate market has severely impacted this revenue stream, creating financial challenges for local governments.
 
User avatar
Cuchulainn
Posts: 23029
Joined: July 16th, 2004, 7:38 am

Re: My Dinner with ChatGPT

October 17th, 2024, 7:40 pm

ChatGPT not good with C++ Excel
Second time I ran it:
[color=#141414][size=100][font=Segoe UI, Helvetica Neue, Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, sans-serif]引发了未经处理的异常:读取访问权限冲突。[/font][/size][/color]
[color=#141414][size=100][font=Segoe UI, Helvetica Neue, Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, sans-serif]pDispatch->**** 是 nullptr。[/font][/size][/color]

[color=#141414][size=100][font=Segoe UI, Helvetica Neue, Helvetica, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, sans-serif]An unhandled exception was raised: read access violation. pDispatch->**** was nullptr.[/font][/size][/color]


Could you give some hints? Thank you, sir. I have asked GPT but it told me nothing... Is there something wrong with the pointers? (I guess)
 
User avatar
bearish
Posts: 5906
Joined: February 3rd, 2011, 2:19 pm

Re: My Dinner with ChatGPT

December 14th, 2024, 6:59 pm

I’m assuming everybody is just quietly using their favorite ensemble of LLMs. The other day I gave ChatGPT a piece of Julia code that used PyCall to invoke some Python math function (and yes, I recognize that would be a bizarre thing to do in real life) and asked it to explain what the result would be. And it scored a ten out of ten. Proof by example, I know…
 
User avatar
Alan
Topic Author
Posts: 3050
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

Re: My Dinner with ChatGPT

January 11th, 2025, 6:05 pm

I had a very helpful session with Copilot, asking it to write some Python code to give me all the traditional Third Friday option expirations between two given years. 

Well, then it turns out that some of those were Good Friday market holidays, so I needed those identified and the dates in those months moved back a day. Copilot's first try at identifying Easter didn't work, I complained, and it fixed things by inserting into the code this Easter algorithm. Curiously, this algorithm was apparently from an anonymous submission to Nature in 1876: link
 
User avatar
bearish
Posts: 5906
Joined: February 3rd, 2011, 2:19 pm

Re: My Dinner with ChatGPT

January 12th, 2025, 7:19 pm

Nice! I pasted the code from that link into VS Code and asked the GitHub copilot to turn it into a Julia function, which it happily did, complete with a test case.
 
User avatar
bearish
Posts: 5906
Joined: February 3rd, 2011, 2:19 pm

Re: My Dinner with ChatGPT

January 12th, 2025, 7:21 pm

Admittedly, that is a much easier task than locating the algorithm in the first place. I decided against trying to figure out why it works (I know the calendar rule, but am missing fundamentals of the astronomy involved).
 
User avatar
Alan
Topic Author
Posts: 3050
Joined: December 19th, 2001, 4:01 am
Location: California
Contact:

Re: My Dinner with ChatGPT

February 5th, 2025, 7:12 pm

For my current book project, it turns out that a classic theorem about likelihood ratio tests, called Wilks' Theorem, is important. So, I was looking for a relatively simply proof. Finally, today I put the query to ChatGPT o3-mini, and it produced the attached, including the nicely formatted Latex -- which I complled. 
(The only edit I made was to the blank "author" slot; all the remaining argument/formatting/presentation is due to the chatbot). 

Also, while I knew what [$]O(1)[$] meant, I wasn't sure about [$]O_p(1)[$], so you can see my follow-up and the answer. I was quite impressed!

Wilks.ChatGPTo3-mini.pdf
(180.81 KiB) Downloaded 12 times