search for: chatgpt

Displaying 20 results from an estimated 31 matches for "chatgpt".

2023 Feb 13
2
An interesting chat with ChatGPT
Duncan - Indeed, this has now been well documented; I have called these constructions "Schr?dinger Facts", since they arise from a superposition of truths in the training data that collapse into an untruth when observed. https://sentientsyllabus.substack.com/p/chatgpts-achilles-heel Now, the curious question is: why can it program. Why is its production of R-syntax less vulnerable to this effect than a literature quote, or reference? Maybe it has to do with the fact that in producing correct syntax there is a ground truth - errors just will not run. But I'm...
2023 Feb 13
1
An interesting chat with ChatGPT
..." and "b" matches the target string. What appears to happen is that the first match wins, and that's how it is documented in Python, but I was looking for docs on this in R. As far as I can see, the ?regex help page doesn't resolve this. So just for fun, I decided to ask ChatGPT, and got an interesting response. I won't show the whole conversation here, but just some extracts: --------------------------------------- Me: In a regular expression in R, if both "a" and "b" match, which does "(a)|(b)" match? Please include authoritative r...
2023 Aug 13
3
OFF TOPIC: chatGPT glibly produces a lot of wrong answers?
**OFF TOPIC** but perhaps of interest to some on this list. I apologize in advance to those who may be offended. The byline: ******************************** "ChatGPT's odds of getting code questions correct are worse than a coin flip But its suggestions are so annoyingly plausible" ************************************* from here: https://www.theregister.com/2023/08/07/chatgpt_stack_overflow_ai/ Hmm... Perhaps not surprising. Sounds like some expert c...
2023 Apr 07
2
python module
I am looking for the python-samba module. I would like to add/disable/modify AD accounts using python running on a linux machine. ChatGPT suggested the python-samba module. Sample code as follows: from samba.credentials import Credentials from samba.netcmd.user import create as create_user from samba.netcmd.user import setpassword as set_user_password ... I am running Debuan bullseye and I can import the samba module. But there is...
2024 Apr 13
1
Just for your (a|be)musement.
I recently had the chance to read a book explaining how to use ChatGPT with a certain programming language. (I'm not going to describe the book any more than that because I don't want to embarrass whoever wrote it.) They have appendix material showing three queries to ChatGPT and the answers. Paraphrased, the queries are "if I throw 2 (3, 4) fair dice,...
2023 Apr 07
1
python module
On 07/04/2023 20:20, David Bear via samba wrote: > I am looking for the python-samba module. I would like to > add/disable/modify AD accounts using python running on a linux machine. > ChatGPT suggested the python-samba module. Sample code as follows: > > from samba.credentials import Credentials > from samba.netcmd.user import create as create_user > from samba.netcmd.user import setpassword as set_user_password > > ... > I am running Debuan bullseye and I can im...
2023 Apr 07
1
python module
Thanks Rowland. I really appreciate your rapid responses and many years of work helping the python community. To answer your question, I could wrap samba tool -- but I thought it would be easier -- and more pythonic to keep the code pure python. As for what chatgpt knows... for the curious I'll paste the relevant responses below. Chat did suggest making calls to the samba-tool. I thought things would go faster for the script if it didn't have to spawn a new shell to execute samba-tool in. ---- now, on the chat answers..---- There are several Python l...
2023 Mar 07
1
insert hyperlink into svg graphic
This was actually the first thing that ChatGPT debugged for me. The issue was that I was able to click on the link when I displayed the raw SVG in the browser (you can use that to test whether the syntax is even correct), but not when the svg displays inside a html page with the <img ...> tag. ChatGPT correctly identified the issue and...
2024 Apr 15
2
Synthetic Control Method
...quot;2010-01-01"):as.Date("2017-10-01"), time.plot = as.Date("2010-01-01"):as.Date("2024-03-01"), unit.names.variable = "BFS" ) synth_out <- synth( data.prep.obj = dataprep_out ) I keep getting the same error message. Unfortunately, ChatGPT and solutions from various forums do not help. My unit variables are all numeric except one, which is a date and has POSIXct as type. Fehler in dataprep(foo = INVESTMENTVOLUME, predictors = c("Predictor 1", : unit.variable not found as numeric variable in foo. I would be ver...
2023 Nov 21
1
Cambiar el intervalo de confianza en un anova
...estigación Operativa Institución: Escuela Superior de Ingeniería Organización: Universidad de Cádiz -------------------------------------------------- El mar, 21-11-2023 a las 12:43 +0000, Relloso Barrio, Juan Bautista escribió: > Gracias Carlos. > Yo también he visto el ejemplo que te pone chatGPT, pero la salida que te da no soy capaz de interpretarla. > Os paso las ordenes y las respuestas de R de la propuesta de chatGPT >   > Ejemplo.aov<- aov(P~TRAT+CORTE+REP) > > summary (Ejemplo.aov) >            Df Sum Sq Mean Sq F value Pr(>F)    > TRAT         6 0.0028 0.0...
2023 Nov 21
1
Cambiar el intervalo de confianza en un anova
Gracias Carlos. Yo también he visto el ejemplo que te pone chatGPT, pero la salida que te da no soy capaz de interpretarla. Os paso las ordenes y las respuestas de R de la propuesta de chatGPT Ejemplo.aov<- aov(P~TRAT+CORTE+REP) > summary (Ejemplo.aov) Df Sum Sq Mean Sq F value Pr(>F) TRAT 6 0.0028 0.00046 0.777 0.590 CORTE...
2023 Mar 07
2
insert hyperlink into svg graphic
Perhaps this thread on stackoverflow (from a search on "include hyperlink in svg graphic") may be of use: https://stackoverflow.com/questions/41970535/a-hyperlink-in-svg-use Cheers, Bert On Tue, Mar 7, 2023 at 12:34?AM Rusty Travis <rusytravis19 at gmail.com> wrote: > Greetings, > > I am creating plots of weather data and wish to include a link to the > data source
2023 Jul 22
2
plotly
ChatGPT-4: ------ Query: ---------------------------------- Thank you. The `value` in the code example is 2874. The plot shows a large number at the center and a smaller value computed as a delta relative to the `reference` of 4800. But the large value is given as 2870, and the smaller value is given as...
2025 Jan 19
1
Test For Difference of Betas By Group in car
...ed correctly. In R a ?=? sign is interpreted as assignment whereas a ?==? (doubled equals) is a logical operator. Since I?ve only got a iPhone at hand I can?t test. In the future you should include full text of errors, preferably in the context in which they are returned. As an experiment I asked ChatGPT your question an it suggested library(car) data <- data.frame( income = c(30, 45, 50, 25, 60, 55), education = c(12, 16, 14, 10, 18, 16), gender = c("Male", "Female", "Male", "Female", "Male", "Female") ) model <- lm(income ~...
2023 Aug 11
1
Expresión en un objeto
Esta es la respuesta que te da ChatGPT-4: Entiendo tu pregunta y, aunque no hay una función nativa en R que te permita hacer exactamente lo que estás pidiendo, puedes lograr el mismo resultado utilizando una función. Una función te permitiría encapsular la lógica de la expresión que quieres reutilizar y luego llamar a esa función donde...
2025 Apr 17
1
Upgrade Support Level Legend on Hardware Compatibility List
...ade the support level legend from orange (based on fragments of publicly available protocol) to green (vendor provided protocol and hardware)? Does this need to be submitted and requested directly by the manufacturer? Kindly confirm. Thank you! https://networkupstools.org/stable-hcl.html?utm_source=chatgpt.com Best regards Yvonne Chen Cyber Energy Co., Ltd. Tel: +886-2-8792-9628 #605 Fax: +886-2-8792-9626 Email: Yvonne.Chen at cyberenergy.com<mailto:Yvonne.Chen at cyberenergy.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.ne...
2023 Aug 11
1
Expresión en un objeto
Muchas gracias, Manuel: Que bueno! No se me había ocurrido lo de GPT! Lo pruebo. Saludos. On Fri, 11 Aug 2023 18:15:18 +0200 Manuel Mendoza <mmendoza en fulbrightmail.org> wrote: > Esta es la respuesta que te da ChatGPT-4: > > Entiendo tu pregunta y, aunque no hay una función nativa en R que te > permita hacer exactamente lo que estás pidiendo, puedes lograr el mismo > resultado utilizando una función. Una función te permitiría encapsular la > lógica de la expresión que quieres reutilizar y luego l...
2023 Aug 12
1
Expresión en un objeto
...om>) escribió: > Muchas gracias, Manuel: > > Que bueno! No se me había ocurrido lo de GPT! > > Lo pruebo. > > Saludos. > > On Fri, 11 Aug 2023 18:15:18 +0200 > Manuel Mendoza <mmendoza en fulbrightmail.org> wrote: > > > Esta es la respuesta que te da ChatGPT-4: > > > > Entiendo tu pregunta y, aunque no hay una función nativa en R que te > > permita hacer exactamente lo que estás pidiendo, puedes lograr el mismo > > resultado utilizando una función. Una función te permitiría encapsular la > > lógica de la expresión que quie...
2025 Apr 08
1
An opinion question, please
...y work, I deal with many financial time series. I highly recommend the xts package which is a subclass of the zoo class. The zoo class is an S3 time series class built on matrix. The xts class is "designed for fast, consistent time-based indexing, ideal for financial time series" (quoting ChatGPT here). The xts package is maintained by Joshua Ulrich who is extremely active and helpful in responding to questions about xts in the R-help lists. HTH, Eric On Tue, Apr 8, 2025 at 2:24?AM Erin Hodgess <erinm.hodgess at gmail.com> wrote: > > We can have different frequencies of data,...
2023 May 26
1
Problems solved
...st worked instantly. For my next trick: setting up voicemail. The book does it all with smoke and mirrors (SQL), but I'm fresh outa those, so I'll be doing it the old-fashioned way, by editing the voicemail.conf and users.conf files with some hopefully helpful hints from our friends at ChatGPT.