Vincent Davis wrote:
I ask this question in part because of a fee remarks from another question I
ask "class attribute to initiate more classes"
Basically I am simulation the process of applicants to schools and trying to
ask/answer some questions like "what conditions do you need to have an
opt
Paras K. wrote:
I have some code that is going through a number of test.
When I have the line that has been read I need to add another value at the
end of it, or write the information into another csv file
Example of my code:
for line in fh.readlines():
readline = line
On Sat, Oct 31, 2009 at 12:54 PM, Vincent Davis
wrote:
> So my plan way to make a new class. This class would define the Applicant
> characteristics "self.gpa = random.gauss(mean, SD)" and the
> institutions self.quality = random.gauss(mean, sd)
> so it would look something like this
>
> class Re
Kent Johsnon writes
"This class has a lot of responsibilities:
- create applicants
- create institutions
- run a single match
- run multiple matches
- calculate statistics on the result of multiple matches
A principle of object-oriented design is that a class should have a
single responsibility. I
On Sun, Nov 1, 2009 at 10:47 AM, Vincent Davis wrote:
> Kent Johsnon writes
> "This class has a lot of responsibilities:
> - create applicants
> - create institutions
> - run a single match
> - run multiple matches
> - calculate statistics on the result of multiple matches
> A principle of object-
Just to be clear,or try, given a set of applicants and institutions the
Match will always have the same result. So when I am repeating the Match
this only makes sense to do is I am also making new applicants and
institutions. So I am sampling Match results drawn from a process that is
initiated wit
On Sun, Nov 1, 2009 at 11:15 AM, Vincent Davis wrote:
> Just to be clear,or try, given a set of applicants and institutions the
> Match will always have the same result.
Yes. You have to create a new Match, with new Applicants and
Institutions, for each run of the simulation.
> So when I am repe
(This is too hard to follow, so I'm just going to respond to Kent's
subsequent email. If I missed anything from here, please quote it more
reasonably)
Vincent Davis wrote:
Kent Johsnon writes
"This class has a lot of responsibilities:
- create applicants
- create institutions
- run a single m
Kent Johnson wrote:
On Sun, Nov 1, 2009 at 10:47 AM, Vincent Davis wrote:
Kent Johsnon writes
"This class has a lot of responsibilities:
- create applicants
- create institutions
- run a single match
- run multiple matches
- calculate statistics on the result of multiple matches
A principle
Thanks again for all your help Kent and Dave.
I think you won't here from me for a week or more as I digest your advise
and work on my project.
Thanks
Vincent Davis
720-301-3003
On Sun, Nov 1, 2009 at 6:34 PM, Dave Angel wrote:
> Kent Johnson wrote:
>
>> On Sun, Nov 1, 2009 at 10:47 AM, Vincen
On Sun, Nov 1, 2009 at 8:34 PM, Dave Angel wrote:
> I mostly agree with Kent, but I apparently disagree about which classes are
> actually needed. Think what things will have actual instances that will
> last long enough to be worth formally defining. So you need Applicant, and
> Institution, an
Dave Angel wrote:
Kent
Johnson wrote:
On Sun, Nov 1, 2009 at 10:47 AM, Vincent Davis
wrote:
Kent Johsnon writes
"This class has a lot of responsibilities:
- create applicants
- create institutions
- run a single match
- run multiple matches
- calculate statistics on the result of multiple ma
Amit Sethi wrote:
Hi , For some weird reason or a huge screw up I did my python zlib
library has been removed . This is part of standard lib(i think!!!)
and it is used by setuptools and many other libraries .What is the
safe way in which I can recover this library on ubuntu. My previous
try so
13 matches
Mail list logo