Re: Python LSTM forecast future values for time series
Jorge Conforte wrote: > > I'm starting run the LSTM to forecast future values for time serie data. > > please can someone give me some information > on how i can predict future values > for my time series using LSTM. Thanks, Conrado I cannot personlly help but a google search using the following phrase seems promising lstm predict future values -- Stanley C. Kitching Human Being Phoenix, Arizona -- https://mail.python.org/mailman/listinfo/python-list
URLError:
The following is used in a loop to get response code for each url. print (urllib.request.urlopen(url).getcode()) However, error message says: URLError: Python 3.6.5 is being used to test whether url is live or not. Can anyone shed light on this? Regards, David -- https://mail.python.org/mailman/listinfo/python-list
Re: PermissionError: [Errno 13] Permission denied: 'Abc.xlsx'
On 2022-02-11 18:20:19 -0500, Dennis Lee Bieber wrote: > On Fri, 11 Feb 2022 20:37:57 +0100, "Peter J. Holzer" > declaimed the following: > > >Interestingly, Excel did have the ability for multiple users editing the > >same file at some time (maybe early 2000s? Way before Google docs or ^^ > >Office 365). It had to be explicitely enabled and it didn't work very ^^ > >reliably (at least not with Samba as file servers), so we never really > >used it but it is clear that somebody at MS thought that users needed or > >at least wanted that ability. > > A quick Google does find mention of "shared workbooks": > https://docs.microsoft.com/en-us/office/troubleshoot/excel/use-shared-workbook | To make changes to a shared workbook that was created in Microsoft Excel 97 | or a later version of Excel, you must use Excel 97 or a later version of Excel. So apparently that ability was added in Excel 97. > The preferred mode requires "Microsoft 365 subscription" and latest > Office version: Yes, these days you would use Office 365 for that kind of functionality, but that didn't exist at that time (neither did cloud storage systems). Network file systems like NFS or SMB did exist, though, and people wanted (or at least MS thought they wanted) to collaborate on Excel files. So Excel provided a way to do that. That was sort of the point: That Excel was not *always* single-user. There have been ways that multiple users could simultaneously edit the same file for 25 years. > However -- the key feature is that these are Excel-Excel(-Excel...) > operations I'm pretty sure that that worked entirely through the file system. So the only thing stopping you from implementing it in a different program was the lack of documentation (as was typical for MS in the 1990's). But again, this wasn't my point. My point was that Excel files are designed to be used only by a single process isn't true. hp -- _ | Peter J. Holzer| Story must make more sense than reality. |_|_) || | | | [email protected] |-- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" signature.asc Description: PGP signature -- https://mail.python.org/mailman/listinfo/python-list
Re: URLError:
On 2022-02-12 20:15:43 +, Shaozhong SHI wrote: > The following is used in a loop to get response code for each url. > > print (urllib.request.urlopen(url).getcode()) > > However, error message says: URLError: getaddrinfo failed> > > Python 3.6.5 is being used to test whether url is live or not. > > Can anyone shed light on this? getaddrinfo is the function that resolves a domain name into an IP address. If that fails, either the domain name doesn't exist or you have a problem with your DNS setup. Things to test: * Can you resolve the domain name to an address (try «nslookup» or «host» or «dig» depending on your OS)? * Can you access the whole URL with a different tool like «wget» or «curl»? hp -- _ | Peter J. Holzer| Story must make more sense than reality. |_|_) || | | | [email protected] |-- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" signature.asc Description: PGP signature -- https://mail.python.org/mailman/listinfo/python-list
Re: URLError:
On Sun, 13 Feb 2022 at 07:17, Shaozhong SHI wrote: > > The following is used in a loop to get response code for each url. > > print (urllib.request.urlopen(url).getcode()) > > However, error message says: URLError: getaddrinfo failed> > > Python 3.6.5 is being used to test whether url is live or not. > > Can anyone shed light on this? > What that's saying is that it couldn't look up the domain name to get the corresponding address. Most likely, that means you either don't have DNS available, or the DNS server said that it couldn't find that server. (Whether that's true or not. It's always possible for the DNS server to be wrong.) So, if you can fairly safely assume that you have a fully-functioning internet connection (for instance, if other URLs can be fetched successfully), the most reasonable interpretation of this is that the URL is, in some way, broken. I suspect that errno 11001 is a Winsock error, in which case it would mean "Host not found". On my Linux system, I get a chained exception that says "Name or service not found". Most likely, you can find this information further up in the traceback. ChrisA -- https://mail.python.org/mailman/listinfo/python-list
Re: URLError:
Shaozhong SHI wrote: The following is used in a loop to get response code for each url. print (urllib.request.urlopen(url).getcode()) However, error message says: URLError: 11001 == WSAHOST_NOT_FOUND. Look in any 'winsock.h' header: #define WSAHOST_NOT_FOUND (WSABASEERR+1001) -- --gv -- https://mail.python.org/mailman/listinfo/python-list
