Comments (7)
你可以添加
export PYTHONPATH=你的xlearn路径/python
到~/.bashrc 下试试。
记得 source ~/.bashrc
from xlearn.
我在windows 上装出现的问题,但是我在linux下安装也有其他问题,python 包安装好了调用会报错。建议你们整个whl的安装包,省得大家编译。谢谢
from xlearn.
xLearn 目前还不能支持 windows,可能会在下一个版本里开始支持。
from xlearn.
这个倒没啥,但是安装还是比较蛋疼。这个能支持多大的数据
from xlearn.
在单机上我们测试过 1 TB 的数据。
from xlearn.
xLearn does not currently support Windows and may start supporting it in the next release.
I have problems with Windows, but I have other problems with linux installation. If the python package is installed, the call will report an error. I suggest you install the entire whl package, saving everyone to compile. Thank you
Is this still the case? I used the Cygwin installation instructions and used the pypi source file to install and am getting the same error.
from xlearn.
I faced the same issue and finally managed to install xlearn on Windows 10 with MINGW64 (Git Bash) and Visual Studio 16 2019.
Here are the commands I used :
git clone https://github.com/aksnzhy/xlearn.git
cd xlearn
mkdir build
cd build
cmake ../
cmake --build .
The build should end with an output like this :
########
xlearn_train.vcxproj -> ....\xlearn\build\Debug\xlearn_train.exe
Building Custom Rule ..../xlearn/CMakeLists.txt_
########
cp ./test/c_api/Debug/xlearn_api.dll ../python-package/xlearn/ # THIS IS THE KEY COMMAND TO SOLVE THE PROBLEM BY MAKING THE DLL VISIBLE
cd ../python-package/
pip install .
pip install should end with an output like this :
#########
Successfully built xlearn
Installing collected packages: xlearn
Successfully installed xlearn-0.4.4
#########
Then the import xlearn
should pass ok.
And you can run this example script to test your installation :
python ../demo/classification/scikit_learn_demo/example_FM_wine.py
But I still have the issue that it is working only when running the code from command like with the command above.
The same code as in the example does not run inside a Jupyter notebook or inside Pycharm (with same Python 3.8).
In Jupyter or Pycharm the kernel crashes when calling .fit() ...
from xlearn.
Related Issues (20)
- Preload Model for Faster Predictions
- Only same or similar output from binary classifier model
- libsvm格式的数据训练Segmentation fault
- 读取pandas数据训练loss为nan HOT 1
- Support for arm64 HOT 1
- predict does not work without specifying out_path
- predict output gives different mse than one reported by predict function
- Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
- Memory Leak in DMatrix
- ffm模型训练的时候Precision为nan
- segmentation fault python3 我抽了(1000,20)的数据报错 HOT 1
- 使用xlearn的FM模型训练自己的数据集,发现出现bash line 1 :189133 segmentation fault core dumped的错误,感觉像是我自己做的数据集错了,但是又找不出来,请问有人出现过这个问题吗?
- xlearn python API's .predict method in doesn't kill the created threads after execution in python API, which leads to resource exhausted. HOT 2
- xlearn was installed on windows anaconda successfully but is not working HOT 1
- jupyter训练报错显示The kernel appears to have died. It will restart automatically. HOT 1
- successfully training. but always fail when running 'model.predict()' HOT 1
- How xlearn process the dataset before using the c++ api "Train(vector<reader>, vector<reader>)”
- Library crashing when using it in a HDFS environment
- Failed to convert feature matrix X and label y to xlearn data format
- Model output produces gibberish
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xlearn.