Giter Site home page Giter Site logo

sandy4321 / difacto_dmlc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cnevd/difacto_dmlc

0.0 2.0 0.0 42.57 MB

Distributed FM and LR based on Parameter Server with Ftrl

CMake 3.66% Makefile 3.43% Python 7.52% C++ 75.55% Shell 0.99% Java 4.74% C 4.11%

difacto_dmlc's Introduction

Distributed FM and LR with parameter server

GitHub license

Portable, scalable and reliable distributed machine learning.

Wormhole is a place where DMLC projects works together to provide scalable and reliable machine learning toolkits that can run on various platforms

Since wormhole has been Deprecated, we retain some useful tools and keep updating

Features

  • Portable:
    • Supported platforms: local machine, Apache YARN, MPI and Sungrid Engine
  • Rich support of Data Source
    • All projects can read data from HDFS, S3 or local filesystem
  • Scalable and Reliable

List of Tools

  • Linear method: linear
  • Factorization Machine based on PS: difacto

Build & Run

  • Requires a C++11 compiler (e.g.~g++ >=4.8) and git. Install them on Ubuntu >= 13.10

  • cd dmlc-core; make to make dmlc core
    cd ps-lite; make to make ps
    cd src/linear; make or cd src/difacto; make

Questions

  • How to set multipath?
    if you have date paths like: ./data/train1 ./data/train2
    pls set train_data = "./data/train1;./data/train2" or "./data/train.*"
    for hdfsfiles: train_data = "hdfs://data/train1;hdfs://data/train2" or "hdfs://data/train.*"
  • How to use HDFS?
    set USE_HDFS=1 in dmlc-core/make/config.mk and ps-lite/make/config.mk
  • How to get readable weight?
    use ./build/dump.dmlc model_in=your_model_path(should be local file) dump_out=dump_file need_inverse=1(0 or 1) then dump_file is the readable weight
  • dump error when use hdfs: ./build/dump.dmlc: error while loading shared libraries: libhdfs.so.0.0.0: cannot open shared object file: No such file or directory?
    pls add hadoop lib path to LD_LIBRARY_PATH before dump
    in my case: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/clusterserver/hadoop/lib/native/
  • Why the ids of dumped file is large like -2305843009213693952 and how to use the original ids?
    see issue8 and issue10

difacto_dmlc's People

Contributors

cnevd avatar qiang2008 avatar

Watchers

James Cloos avatar  avatar

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.