Closed purviprajapati196 closed 5 years ago
Fxml.py is actually a command line application. It appears you tried to run that from within a python shell instead of from the command line.
On Thu, Apr 12, 2018, 4:58 AM purviprajapati196 notifications@github.com wrote:
I did all the requirements. numpy>=1.8.1 scipy>=0.13.3 scikit-learn>=0.17 Cython>=0.23.4 future>=0.16.0
after that i downloaded deliciousLarge dataset from Extreme Classification Repository. I saved this dataset in fastxml_master folder.
I tried following command : fxml.py delicious.model deliciousLarge_train.txt --standard-dataset --verbose train --iters 5 --trees 20 --label-weight propensity --alpha 1e-4 --leaf-classifiers --no-remap-labels
I got Syntax error. at delicious.model. what is model file?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Refefer/fastxml/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/ABdKFf4Ntw1AsLkN6ufw74emIJGSfAiOks5tn0FPgaJpZM4TRpzq .
Still I am getting syntax error on command prompt... kindly tell me what is model file....and i tried following command ...is it write?
fxml.py delicious.model deliciousLarge_train.txt --standard-dataset --verbose train --iters 5 --trees 20 --label-weight propensity --alpha 1e-4 --leaf-classifiers --no-remap-labels
kindly check the error .... fxml.py is not able to search fastXML folder... New Microsoft Word Document (2).docx
Traceback (most recent call last):
File "fxml.py", line 27, in
It's looking like you didn't install fastxml correctly, if at all. I also don't know what fastxmlinit.py is - that file doesn't exist in the repo.
Did you pip install fastxml
? Since it looks like you have checked out the code as well, I would suggest you run python setup.py develop
to actually install the binary.
Looking at the screenshot above, you're trying to run the command using python fxml.py ...
which is redundant since the setup.py script should add fxml.py to your path.
Thanks for the reply............. Sir I tried according to your suggestions.... Now i got errors in splitter.cpp ... ididnt understand it...kindly check the attached document.
Sir,
Kindly check my attached document...
I am not able to solve it... kindly help me.
On Fri, Apr 13, 2018 at 9:51 PM, Andrew Stanton notifications@github.com wrote:
It's looking like you didn't install fastxml correctly, if at all. I also don't know what fastxmlinit.py is - that file doesn't exist in the repo.
Did you pip install fastxml? Since it looks like you have checked out the code as well, I would suggest you run python setup.py develop to actually install the binary.
Looking at the screenshot above, you're trying to run the command using python fxml.py ... which is redundant since the setup.py script should add fxml.py to your path.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Refefer/fastxml/issues/10#issuecomment-381187647, or mute the thread https://github.com/notifications/unsubscribe-auth/Akizuq5yueEtTTpapk3DT88hmItUcq05ks5toNB1gaJpZM4TRpzq .
The error produced is pretty clear - you don't have a c++11 compiler on your machine. You need it to be able to compile the Cython code.
sir I have installed TDM-GCC-64 for C++11 compiler. still i am getting error.
Kindly check my errors in attached file. error.docx
I did all the requirements. numpy>=1.8.1 scipy>=0.13.3 scikit-learn>=0.17 Cython>=0.23.4 future>=0.16.0
after that i downloaded deliciousLarge dataset from Extreme Classification Repository. I saved this dataset in fastxml_master folder.
I tried following command : fxml.py delicious.model deliciousLarge_train.txt --standard-dataset --verbose train --iters 5 --trees 20 --label-weight propensity --alpha 1e-4 --leaf-classifiers --no-remap-labels
I got Syntax error. at delicious.model. what is model file?