cmaclell / concept_formation

Python implementations of TRESTLE, COBWEB/3, and COBWEB
MIT License
61 stars 18 forks source link

About the python version #3

Closed rosrad closed 9 years ago

rosrad commented 10 years ago

recently I am learning the cobweb method, I find this code,but cannot work. I think may be there is some misunderstand of the python. What is the version of python that was used to test the code?. thank you

cmaclell commented 10 years ago

Version 3.3 was used although it has also been tested intermittently with python 2.7.

To run cobweb do: "python cobweb.py" however you will need to change the dataset to one of the ones that is in the repo, I'm not sure the mushroom.json file is in the github repo. You can change it at the very bottom of the cobweb.py file.

Best wishes,

Chris

On Mon, Jun 2, 2014 at 5:31 AM, rosrad notifications@github.com wrote:

recently I am learning the cobweb method, I find this code,but cannot work. I think may be there is some misunderstand of the python. What is the version of python that was used to test the code?. thank you

— Reply to this email directly or view it on GitHub https://github.com/cmaclell/concept_formation/issues/3.

rosrad commented 10 years ago

thanky you very much.

cmaclell commented 10 years ago

Rosrad,

Actually it looks like the mushroom json file is uploaded. Also, this version of cobweb is under active development and so is slightly modified from some of the algorithms as they appear in other papers.

Best wishes,

Chris

On Mon, Jun 2, 2014 at 1:23 PM, rosrad notifications@github.com wrote:

thanky you very much.

— Reply to this email directly or view it on GitHub https://github.com/cmaclell/concept_formation/issues/3#issuecomment-44903262 .

rosrad commented 10 years ago

Chris,

so that means the version here cannot work ? Maybe I need to make a new dataset just like the mushroom json file.

Rosrad

cmaclell commented 10 years ago

Rosrad,

No, the version here works. I have been using it for many of my research projects.

Best wishes,

Chris

Sent from my iPad

On Jun 2, 2014, at 10:28 PM, rosrad notifications@github.com wrote:

Chris,

so that means the version here cannot work ? Maybe I need to make a new dataset just like the mushroom json file.

Rosrad

— Reply to this email directly or view it on GitHub.