-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error when numpy is being called #1
Comments
The error explains itself well.. You have to check the input file of the
predict2.py --$sample.X.test.txt, is it all zeors?
…On Mon, Jun 10, 2019 at 9:59 AM medcelerate ***@***.***> wrote:
I am getting this error when the python script is being called
Found array with 0 sample(s) (shape=(0, 16)) while a minimum of 1 is
required.
Full trace
Traceback (most recent call last):
File "/hpc/users/clarke16/ConusPipe/bin/predict2.py", line 67, in <module>
y_hat = log_reg.predict(Xtest)
File "/hpc/users/clarke16/.conda/envs/mari/lib/python3.7/site-packages/sklearn/linear_model/base.py", line 289, in predict
scores = self.decision_function(X)
File "/hpc/users/clarke16/.conda/envs/mari/lib/python3.7/site-packages/sklearn/linear_model/base.py", line 265, in decision_function
X = check_array(X, accept_sparse='csr')
File "/hpc/users/clarke16/.conda/envs/mari/lib/python3.7/site-packages/sklearn/utils/validation.py", line 550, in check_array
context))
ValueError: Found array with 0 sample(s) (shape=(0, 16)) while a minimum of 1 is required.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AB6ATI2ZCPDNWOC3PRO7G3TPZZ26JA5CNFSM4HWUZ5Q2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GYTGLBQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB6ATI6MYTDOM7FPXPFEYRDPZZ26JANCNFSM4HWUZ5QQ>
.
|
The file is empty, why is conuspipe generating an empty file? |
The file is empty because there must something wrong when running the
pipline.. What does the standard error say?
…On Tue, Jun 11, 2019 at 10:57 AM medcelerate ***@***.***> wrote:
The file is empty, why is conuspipe generating an empty file?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AB6ATI4KCVUPN3Z7NHU2KJLPZ7KQBA5CNFSM4HWUZ5Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXNZ6KY#issuecomment-500932395>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB6ATI4H2MPY6BPFFPXSF63PZ7KQBANCNFSM4HWUZ5QQ>
.
|
|
It looks like something wrong with the previous steps . Can you
successfully run the test data set in your system with the pipeline ?
…On Tue, Jun 11, 2019 at 12:27 PM medcelerate ***@***.***> wrote:
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 356, <FH> line 115080.
Use of uninitialized value in addition (+) at ./discoveryPipe.4methods.simple.v2.pl line 357, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 360, <FH> line 115080.
Use of uninitialized value in string eq at ./discoveryPipe.4methods.simple.v2.pl line 362, <FH> line 115080.
Use of uninitialized value $cysPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 376, <FH> line 115080.
Use of uninitialized value $cysSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 371, <FH> line 115082.
Use of uninitialized value $cysPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 376, <FH> line 115082.
Use of uninitialized value $cysMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 381, <FH> line 115082.
Use of uninitialized value $cysSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 371, <FH> line 115084.
Use of uninitialized value $cysPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 376, <FH> line 115084.
Use of uninitialized value $cysPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 376, <FH> line 115086.
Use of uninitialized value $cysSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 371, <FH> line 115088.
Use of uninitialized value $cysMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 381, <FH> line 115088.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115090.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115090.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115090.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115092.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115092.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115092.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115094.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115094.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115096.
Use of uninitialized value $pcPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 379, <FH> line 115096.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115096.
Use of uninitialized value $ncMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 385, <FH> line 115096.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115098.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115098.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115098.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115100.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115100.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115100.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115102.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115102.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115104.
Use of uninitialized value $pcPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 379, <FH> line 115104.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115104.
Use of uninitialized value $ncMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 385, <FH> line 115104.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115106.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115108.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115108.
Use of uninitialized value $ncPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 380, <FH> line 115108.
Use of uninitialized value $ncMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 385, <FH> line 115108.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115110.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115112.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115112.
Use of uninitialized value $pcPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 379, <FH> line 115112.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115114.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115114.
Use of uninitialized value $cysMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 381, <FH> line 115114.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115116.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115116.
Use of uninitialized value $cysMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 381, <FH> line 115116.
Use of uninitialized value $pcPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 379, <FH> line 115118.
Use of uninitialized value $cysMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 381, <FH> line 115118.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115120.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115122.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115122.
Use of uninitialized value $pcSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 374, <FH> line 115124.
Use of uninitialized value $ncSs in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 375, <FH> line 115124.
Use of uninitialized value $cysPp in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 376, <FH> line 115126.
Use of uninitialized value $ncMTox in division (/) at ./discoveryPipe.4methods.simple.v2.pl line 385, <FH> line 115126.
/hpc/packages/minerva-centos7/anaconda3/2018.12/lib/python3.7/site-packages/sklearn/linear_model/logistic.py:433: FutureWarning: Default solver will be changed to 'lbfgs' in 0.22. Specify a solver to silence this warning.
FutureWarning)
Traceback (most recent call last):
File "/hpc/users/clarke16/ConusPipe/bin/predict2.py", line 66, in <module>
log_reg.fit(X, y)
File "/hpc/packages/minerva-centos7/anaconda3/2018.12/lib/python3.7/site-packages/sklearn/linear_model/logistic.py", line 1285, in fit
accept_large_sparse=solver != 'liblinear')
File "/hpc/packages/minerva-centos7/anaconda3/2018.12/lib/python3.7/site-packages/sklearn/utils/validation.py", line 756, in check_X_y
estimator=estimator)
File "/hpc/packages/minerva-centos7/anaconda3/2018.12/lib/python3.7/site-packages/sklearn/utils/validation.py", line 582, in check_array
context))
ValueError: Found array with 0 sample(s) (shape=(0, 16)) while a minimum of 1 is required.
readline() on closed filehandle FH1 at ./discoveryPipe.4methods.simple.v2.pl line 222, <FH1> line 115126.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AB6ATI2QQBEIZ3J2HC7ONGLPZ7U7VA5CNFSM4HWUZ5Q2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXOCGRI#issuecomment-500966213>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB6ATIYMNAY6APYHJ34A2JDPZ7U7VANCNFSM4HWUZ5QQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting this error when the python script is being called
Found array with 0 sample(s) (shape=(0, 16)) while a minimum of 1 is required.
Full trace
The text was updated successfully, but these errors were encountered: