-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid syntax when importing the modules #1
Comments
In order to run code, you would have to load the tables as well to a
database. You can find the schema for the tables here, but you would have
to get access to the data through your institution.
I hope this helps!
…On Sun, Dec 11, 2022, 8:41 PM Rina2323 ***@***.***> wrote:
When I was trying to run autoencode.py, the following error occur. The
files are in the same path and I tried to look it up but couldn't find the
solution. Could you please help?
Traceback (most recent call last):
File "C:...\PycharmProjects\pythonProject2\autoencoder.py", line 90, in
import composition
File "C:...\PycharmProjects\pythonProject2\composition.py", line 9, in
import utilities
File "C:...\PycharmProjects\pythonProject2\utilities.py", line 27
HOST = #####
^^^^^
SyntaxError: invalid syntax
—
Reply to this email directly, view it on GitHub
<#1>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AITR7AXIPHWR7VDSPSYCRYTWMZ7EDANCNFSM6AAAAAAS3LGTJU>
.
You are receiving this because you are subscribed to this thread.Message
ID:
<Leo8216/An-Analysis-of-PCA-and-Autoencoder-Generated-Factors-in-Predicting-SP500-Returns/issues/1
@github.com>
|
Many thanks for the information. I was wondering if the data could be
imported from an excel file or it would have to connect to Postgre SQL?
Does the database access in utilities.py refer to Compustat?
Thank you!
…On Mon, 12 Dec 2022 at 02:30, Leo Barbosa ***@***.***> wrote:
In order to run code, you would have to load the tables as well to a
database. You can find the schema for the tables here, but you would have
to get access to the data through your institution.
I hope this helps!
On Sun, Dec 11, 2022, 8:41 PM Rina2323 ***@***.***> wrote:
> When I was trying to run autoencode.py, the following error occur. The
> files are in the same path and I tried to look it up but couldn't find
the
> solution. Could you please help?
>
> Traceback (most recent call last):
> File "C:...\PycharmProjects\pythonProject2\autoencoder.py", line 90, in
> import composition
> File "C:...\PycharmProjects\pythonProject2\composition.py", line 9, in
> import utilities
> File "C:...\PycharmProjects\pythonProject2\utilities.py", line 27
> HOST = #####
> ^^^^^
> SyntaxError: invalid syntax
>
> —
> Reply to this email directly, view it on GitHub
> <
#1
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AITR7AXIPHWR7VDSPSYCRYTWMZ7EDANCNFSM6AAAAAAS3LGTJU
>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID:
>
<Leo8216/An-Analysis-of-PCA-and-Autoencoder-Generated-Factors-in-Predicting-SP500-Returns/issues/1
> @github.com>
>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4TMP4OM4DPPCG7XXIWDWGTWM2E53ANCNFSM6AAAAAAS3LGTJU>
.
You are receiving this because you authored the thread.Message ID:
<Leo8216/An-Analysis-of-PCA-and-Autoencoder-Generated-Factors-in-Predicting-SP500-Returns/issues/1/1345780348
@github.com>
|
Correct. Compustat. I redacted the database related info as I used the data
as part of academic work.
…On Mon, Dec 12, 2022, 1:17 PM Rina2323 ***@***.***> wrote:
Many thanks for the information. I was wondering if the data could be
imported from an excel file or it would have to connect to Postgre SQL?
Does the database access in utilities.py refer to Compustat?
Thank you!
On Mon, 12 Dec 2022 at 02:30, Leo Barbosa ***@***.***> wrote:
> In order to run code, you would have to load the tables as well to a
> database. You can find the schema for the tables here, but you would have
> to get access to the data through your institution.
>
> I hope this helps!
>
> On Sun, Dec 11, 2022, 8:41 PM Rina2323 ***@***.***> wrote:
>
> > When I was trying to run autoencode.py, the following error occur. The
> > files are in the same path and I tried to look it up but couldn't find
> the
> > solution. Could you please help?
> >
> > Traceback (most recent call last):
> > File "C:...\PycharmProjects\pythonProject2\autoencoder.py", line 90, in
> > import composition
> > File "C:...\PycharmProjects\pythonProject2\composition.py", line 9, in
> > import utilities
> > File "C:...\PycharmProjects\pythonProject2\utilities.py", line 27
> > HOST = #####
> > ^^^^^
> > SyntaxError: invalid syntax
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
>
#1
> >,
> > or unsubscribe
> > <
>
https://github.com/notifications/unsubscribe-auth/AITR7AXIPHWR7VDSPSYCRYTWMZ7EDANCNFSM6AAAAAAS3LGTJU
> >
> > .
> > You are receiving this because you are subscribed to this
thread.Message
> > ID:
> >
>
<Leo8216/An-Analysis-of-PCA-and-Autoencoder-Generated-Factors-in-Predicting-SP500-Returns/issues/1
> > @github.com>
> >
>
> —
> Reply to this email directly, view it on GitHub
> <
#1 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/A4TMP4OM4DPPCG7XXIWDWGTWM2E53ANCNFSM6AAAAAAS3LGTJU
>
> .
> You are receiving this because you authored the thread.Message ID:
>
<Leo8216/An-Analysis-of-PCA-and-Autoencoder-Generated-Factors-in-Predicting-SP500-Returns/issues/1/1345780348
> @github.com>
>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AITR7AU22JB4IJRZM3Y2DLDWM5T2NANCNFSM6AAAAAAS3LGTJU>
.
You are receiving this because you commented.Message ID:
<Leo8216/An-Analysis-of-PCA-and-Autoencoder-Generated-Factors-in-Predicting-SP500-Returns/issues/1/1346993404
@github.com>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I was trying to run autoencode.py, the following error occur. The files are in the same path and I tried to look it up but couldn't find the solution. Could you please help?
Traceback (most recent call last):
File "C:...\PycharmProjects\pythonProject2\autoencoder.py", line 90, in
import composition
File "C:...\PycharmProjects\pythonProject2\composition.py", line 9, in
import utilities
File "C:...\PycharmProjects\pythonProject2\utilities.py", line 27
HOST = #####
^^^^^
SyntaxError: invalid syntax
The text was updated successfully, but these errors were encountered: