Giter Club home page Giter Club logo

xlearn_doc_cn's People

Contributors

aksnzhy avatar etveritas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

xlearn_doc_cn's Issues

logo

能不能把打印logo和日志加一个开关啊?还要改源码。。。。

数据疑问

选择FM模型,读入的是.csv / .txt文件,训练结果 Train log_loss 全为nan。求助,谢谢

import xlearn as xl

fm_model = xl.create_fm() # Use field-aware factorization machine
fm_model.setTrain("D:\software\git\tensorflow-DeepFM\example\data\train.csv") # Training data

param = {'task':'binary', 'lr':0.2, 'lambda':0.002, 'metric':'acc'}

fm_model.fit(param, 'D:\software\git\tensorflow-DeepFM\example\data\out\model.out')

fm_model.setTest("D:\software\git\tensorflow-DeepFM\example\data\test.csv") # Test data
fm_model.setSigmoid() # Convert output to 0-1

fm_model.predict("D:\software\git\tensorflow-DeepFM\example\data\out\model.out", "D:\software\git\tensorflow-DeepFM\example\data\out\output.txt")

结果:
Epoch Train log_loss Time cost (sec)
[ 10% ] 1 nan 0.29
[ 20% ] 2 nan 0.20
[ 30% ] 3 nan 0.20
[ 40% ] 4 nan 0.20
[ 50% ] 5 nan 0.20
[ 60% ] 6 nan 0.20
[ 70% ] 7 nan 0.20
[ 80% ] 8 nan 0.20
[ 90% ] 9 nan 0.20
[ 100% ] 10 nan 0.20

服务器挂掉

我在本地 windows /linux 系统上都安装了 xlearn , 都能进跑。
在公司服务器上安装了xlearn, 能够使用其加载数据等,
但是一旦训练,fit, 服务器就挂了。

python安装失败

过程:使用Visual Studio 2017编译以后,然后再python-package打开命令行,输入python setup.py install
结果:Traceback (most recent call last):
File "setup.py", line 29, in
LIB_PATH = os.path.relpath(libfile, CURRENT_DIR) for libfile in lib
nd_lib_path'
]
File "xlearn/libpath.py", line 63, in find_lib_path
'Cannot find xlearn Library in the candidate path'
XLearnLibraryNotFound: Cannot find xlearn Library in the candidate path

请问该如何解决呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.