t; @classmethod
> > def get_person(self, employee):
> > print (employee['name'])
> >
> > return PERSONDatabase(employee['created_at'],
> > employee['id'],
> >
didn't involve long lines
> of code, I need to learn a) how to enter code if it's not just clicking on
> the 'code' box before pasting text and b) how to keep code lines from
> wrapping so a horizontal scroll bar is made available.
>
> TIA,
>
> Rich
&g
_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ls -l
/media/joepareti54/Elements/x/finance-2020/AI/Listen_attend_spell/VCTK-Corpus/wav48
| awk "{print $9
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
h
indeed. There are better options than the one I attempted. Thanks for the
advice
Am Mi., 28. Juli 2021 um 18:19 Uhr schrieb Chris Angelico :
> On Thu, Jul 29, 2021 at 2:10 AM joseph pareti
> wrote:
> >
> > The following code fails as shown in the title:
> >
> &g
print("expected inputs :", add.n_in)
print("promised outputs :", add.n_out, "\n")
# Inputs
x = np.array([3])
y = np.array([4])
print("-- Inputs --")
print("x :", x, "\n")
print("y :", y, "\n")
# Outputs
z = add((x,
yes, but I do not see Fn anywhere.
Another question is on this line:
z = add((x, y))
If I code:
z = add(x, y)
Then the following exception occurs :
*Expected input to be a tuple or list; instead got .*
Am Di., 17. Aug. 2021 um 19:21 Uhr schrieb MRAB :
> On 2021-08-17 16:50, joseph par
(B))
print('-')
print(C)
print(type(C))
print('-')
print(D)
print(type(D))
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 7
I have a VM in the cloud running centos that comes with python 2.7
installed on it. For my purpose, I need python 3.5 (or 6?)
However there is an issue with urlgrabber, and I believe this is due to
inconsistencies with the 2 python versions, whcih I am not able to resolve.
DETAILS
INSTALL PYTHO
r/bin/python2.7
[joepareti54@xxx build]$
CONCLUSION
In summary, I don't know whether this configuration is consistent or not
for building the manta application, and whether the python set-up is
consistent.
Also to be noted that the manta application was built by the authors on an
ubuntu platform,
here are details on my attempt:
tensorflow for centos 7 installation guidelines are in:
https://gist.github.com/thoolihan/28679cd8156744a62f88
sudo yum -y install epel-release
sudo yum -y install gcc gcc-c++ python-pip python-devel atlas atlas-devel
gcc- gfortran openssl-devel libffi-devel
# use
$ python tf_simple.py
/anaconda/envs/py35/lib/python3.5/site-packages/h5py/__init__.py:36:
FutureWarning: Conversion of the second argument of issubdtype from `float`
to `np.floating` is deprecated. In future, it will be treated as
`np.float64 == np.dtype(float).type`.
from ._conv import registe
on an Ubuntu VM with :
1. Linux JP-Paid-UBUNTU-DSVM 4.13.0-1014-azure
2. Python 3.5.4 :: Anaconda custom (64-bit)
$ manta manta_genSimData.py
Loading script 'manta_genSimData.py'
Traceback (most recent call last):
skipping some details
...
File "/anaconda/lib/python2.7/weakref.py", line
; On Fri, May 4, 2018 at 1:53 AM, joseph pareti
> wrote:
> > on an Ubuntu VM with :
> >
> >
> >1. Linux JP-Paid-UBUNTU-DSVM 4.13.0-1014-azure
> >2. Python 3.5.4 :: Anaconda custom (64-bit)
> >
> > $ manta manta_genSimData.py
> > Loading s
thank you for the advice: depending on the value of PYTHONPATH (version
2.7, 3.5, or unset), tensorflow stops with 3 different error traps
2018-05-04 7:55 GMT+02:00 dieter :
> Chris Angelico writes:
> > ...
> > Somewhere, you have a mismatch of versions. Make sure you're using the
> > same Pytho
problem: all I have seen is
that the error code changes depending on the PYTHONPATH value. Perhaps it
is a bug in the application code?
2018-05-05 9:12 GMT+02:00 dieter :
> joseph pareti writes:
> > thank you for the advice: depending on the value of PYTHONPATH (version
> > 2.7
ccessfully
downloaded, extracting ...*
2. I don't see any such files in /tmp/data on my system, why?
3. (this is part of a code for training a neuronal network which works
as expected, it's just for my own understanding of how this works -- Thank
you)
--
Regards,
Joseph
rror: 'numpy.ndarray' object has no attribute 'savefig'*
Anything I am missing? I am not familiar with the code, just trying to
understand it.
Thank you
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
cell +49 1520 1600 209
cell +39 339 797 0644
--
https://mail.python.org/mailman/listinfo/python-list
'NoneType' object has no attribute 'start'
any help? Thanks
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644
--
https://mail.python.org/mailman/listinfo/python-list
Ok, thanks. It works for me.
regards,
Am Di., 22. Okt. 2019 um 11:29 Uhr schrieb Matt Wheeler :
>
>
> On Tue, 22 Oct 2019, 09:44 joseph pareti, wrote:
>
>> the following code ends in an exception:
>>
>> import re
>> pattern = 'S
line 183, in search
return _compile(pattern, flags).search(string)
File
"c:\Users\joepareti\Miniconda3\pkgs\python-3.7.1-h8c8aaf0_6\lib\re.py",
line 276, in _compile
return _cache[type(pattern), pattern, flags]
TypeError: unhashable type: 'list'
Thanks for any insi
:
(i) loop over a bunch of ISIN codes
(ii) access a specific website (=morningstar?), that does the
ISIN-to-fund-name translation
(iii) "inspect" that page containing the result and grab the fund name.
I would appreciate any advice on how to program all this. Thanks.
--
Regards,
Jos
pareti <
joeparet...@gmail.com>:
>
>
> -- Forwarded message -----
> Von: joseph pareti
> Date: Do., 7. Nov. 2019 um 09:26 Uhr
> Subject: Re: Hi there! We are here to answer any questions you have about
> Udacit...
> To: Sherry from Udacity
>
>
> ap
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644
--
https://mail.python.org/mailman/listinfo/python-list
lf.insassen = ins
def __str__(self):
return Fahrzeug.__str__(self) + " " + str(self.insassen) + "
Insassen"
def einsteigen(self, anzahl):
self.insassen += anzahl
def aussteigen(self, anzahl):
self.insassen -= anzahl
fiat = PKW("Fiat Marea",50,
thank you, that fixes it. I also noticed that both statements work:
super(PKW, self).__init__(bez,ge)
or
super().__init__(bez,ge)
Am Do., 12. März 2020 um 12:58 Uhr schrieb MRAB :
> On 2020-03-12 10:54, joseph pareti wrote:
> > The following code that uses a class
self.insassen += anzahl
def aussteigen(self, anzahl):
self.insassen -= anzahl
fiat = PKW("Fiat Marea",50,0,1)
fiat = PKW("Fiat Marea",50,0)
fiat.einsteigen(3)
fiat.aussteigen(1)
fiat.beschleunigen(10)
print(fiat)
Am Do., 12. März 2020 um 17:38 Uhr schrieb Pieter va
> >>> If you do not have currently time, but know someone who would possibly
> be
> >>> interested in working at this project, I would be happy if you let me
> >>> know.
> >>>
> >>> Kind regards,
> >>> Orges Leka
> >>>
> Best regards,
> >
> > Christian
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
>
>
> --
> Mit freundlichen Grüßen
> Herr Dipl. Math. Orges Leka
>
> Mobil: 015751078391
> Email: orges.l...@googlemail.com
the hindmost :)
> > --
> > Robin Becker
> >
>
>
> --
> Mit freundlichen Grüßen
> Herr Dipl. Math. Orges Leka
>
> Mobil: 015751078391
> Email: orges.l...@googlemail.com
> Holzheimerstraße 25
> 65549 Limburg
> --
> https://mail.python.org/m
a3/pkgs/python-3.6.8-h9f7ef89_1/python.exe
./Users/joepareti/Miniconda3/pkgs/python-3.7.1-h8c8aaf0_6/python.exe
./Users/joepareti/Miniconda3/python.exe
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520
. However, a permission denied issue prevents
loading/updating the *ipynb files. Any idea why?
Same happens if I do it as Administrator.
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cel
t; --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644
--
https://mail.python.org/mailman/listinfo/python-list
ges and reply text?
>
> Barry
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644
--
https://mail.python.org/mailman/listinfo/python-list
ogrammer/data scientist.
> > Can someone please walk me through how to download Python, SO THAT I will
> > be able to import numpy?
> >
> > Thanks,
> > Derek
> >
> > Sent from Mail for Windows 10
> >
> > --
> > https://mail.python.
d upgrading it by python -m pip install --upgrade pip which worked but
> I still can not use pip.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joeparet
=
metrics.accuracy_score(y_test, y_pred)
Are the two codes really equivalent?
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644
--
https://mail.pytho
yes, it is random forest classifier from scikit learn. Thank you.
Am Fr., 8. Mai 2020 um 21:50 Uhr schrieb MRAB :
> On 2020-05-08 20:02, joseph pareti wrote:
> > In general I prefer doing:
> >
> >
> > X_train, X_test, y_train, y_test = train_test_split(X, y,
> t
yet, something is still unclear; in Python you can do things like:
*clf0.fit(X_train, y_train)*
which is not the way I programmed in other languages where a left-hand side
and a right hand side is required.
Am Fr., 8. Mai 2020 um 21:52 Uhr schrieb joseph pareti <
joeparet...@gmail.com>:
eturn Charges0 ABC 01/01/2020
> 02/20/202060.671 HIJ 01/01/2020 03/01/202040.002 HIJ
> 05/01/2020 05/05/202050.013 DEF 01/12/2020 02/02/2020
> 212.18
>
> I have been trying to use a combination of sorting and grouping but
> the best I've achieved is reordering the dataframe. Even though I am
> able to sort/group based on values, I still run into the issues of
> finding overlapping date ranges and pulling out all trips based on a
> single company per aggregate/overlapping date range.
>
> Thank you in advance for any help!
>
> Aaron
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
Regards,
Joseph Pareti - Artificial Intelligence consultant
Joseph Pareti's AI Consulting Services
https://www.joepareti54-ai.com/
cell +49 1520 1600 209
cell +39 339 797 0644
--
https://mail.python.org/mailman/listinfo/python-list
*):*
*print**(*'vehicle is '*,*self*.*make*,*' insurance premium '*,*self
*.*insurance*)*
*def* claim*(*self*,* discount*):*
X *=* self*.*insurance *+* discount
*return* X
And hence I am not sure about the behavior of the first code in this email.
--
Re
o know if i can to create a dictionary with two matrices,
> where every element of the first matrix corresponds to dictionary's keys
> and the elements of the second matrix will be the values every key.
> thanks
> --
> https://mail.python.org/mailman/listinfo/python-list
41 matches
Mail list logo