#include <string>
#include <algorithm>
#include "../matrixmarket/mmio.h"
#include "../matrixmarket/mmio.c"
#include "graphchi_basic_includes.hpp"
#include "api/graphlab2_1_GAS_api/graphlab.hpp"
#include "als_vertex_program.hpp"
Functions | |
int | convert_matrixmarket_for_ALS_graphlab (std::string filename) |
int | main (int argc, const char **argv) |
Copyright [2012] [Aapo Kyrola, Guy Blelloch, Carlos Guestrin / Carnegie Mellon University]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Program for running ALS-matrix factorizatino toolkit from GraphLab. This is an example of GraphLab v2.1 programs development for GraphChi.
int convert_matrixmarket_for_ALS_graphlab | ( | std::string | base_filename | ) |
Create a bipartite graph from a matrix. Each row corresponds to vertex with the same id as the row number (0-based), but vertices correponsing to columns have id + num-rows.
Create sharder object