GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Initial checkin of the regression package to be released · mlpack/mlpack@6f0a3f7

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • fastlib2/contrib/dongryel/regression
    • build.py
    • local_linear_krylov.h
    • local_linear_krylov_main.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎fastlib2/contrib/dongryel/regression/build.py‎

Copy file name to clipboard
+31Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# The library build rule for Krylov-subspace based local linear
2+
# regression.
3+
librule(
4+
name = "local_linear_krylov",
5+
sources = [],
6+
headers = ["local_linear_krylov.h"],
7+
deplibs = ["mlpack/series_expansion:series_expansion",
8+
"fastlib:fastlib_int"] # dependency
9+
)
10+
11+
# The binary executable rule for Krylov-subspace based local linear
12+
# regression.
13+
binrule(
14+
name = "local_linear_krylov_bin",
15+
sources = ["local_linear_krylov_main.cc"],
16+
headers = [],
17+
deplibs = [":local_linear_krylov",
18+
"mlpack/series_expansion:series_expansion",
19+
"fastlib:fastlib_int"]
20+
)
21+
22+
# to build:
23+
# 1. make sure have environment variables set up:
24+
# $ source /full/path/to/fastlib/script/fl-env /full/path/to/fastlib
25+
# (you might want to put this in bashrc)
26+
# 2. fl-build main
27+
# - this automatically will assume --mode=check, the default
28+
# - type fl-build --help for help
29+
# 3. ./main
30+
# - to build same target again, type: make
31+
# - to force recompilation, type: make clean
Collapse file

‎fastlib2/contrib/dongryel/regression/local_linear_krylov.h‎

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#ifndef LOCAL_LINEAR_KRYLOV_H
2+
#define LOCAL_LINEAR_KRYLOV_H
3+
4+
5+
#endif
Collapse file

‎fastlib2/contrib/dongryel/regression/local_linear_krylov_main.cc‎

Copy file name to clipboard
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#include "fastlib/fastlib.h"
2+
#include "local_linear_krylov.h"
3+
4+
int main(int argc, char *argv[]) {
5+
6+
// Initialize FastExec...
7+
fx_init(argc, argv);
8+
9+
10+
// Finalize FastExec and print output results.
11+
fx_done();
12+
return 0;
13+
}

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.