Comments (7)
Hello, yes you have to create the database and give the user write/read permissions, you can specify the database user and password with:
make USER=USERNAME PASSWORD=PASSWORD run
and you can also specify the database in the .yaml file. Let us know if that solves your problem.
from benchmarks.
Hi, @zoq , worked well!
But when I try to make a report by "make reports", it shows "can't open file 'benchmark/make_reports.py'".
I did not see this file anywhere, what's wrong? Thank you!
from benchmarks.
The make reports
command was removed as we switch from the static html reports to the javascript reports. It looks like I've forgotten to remove the command from the CMake file. I'll do that later today.
So, depending on the database you use to store the results you have to setup your system accordingly. If you use sqlite wich is the default database for the reports the setup is minimal, just go into the reports folder and run: python -m SimpleHTTPServer
and open a browser with 127.0.0.1:8000
If you use mysql as a database backend, make sure you can handle php files, e.g. by creating a simple phpinfo file. That is necessary since we need a simple php script to communicate with the database. Besides that open benchmarks/reports/js/benchmarks.js
and uncomment // dbType = "mysql"
I haven't found and easy solution to set the value from the command line also make sure to set the correct credentials in benchmarks/reports/php/config.ini
.
Btw. If you like to switch the backend from mysql to sqlite set sqlite
as a driver in the .yaml config file. I hope this is helpful.
from benchmarks.
@zoq , I just want to produce some images and tables. Is there any method to do this more conveniently without produce a web page? (if it's the only one way, I'll try then) :)
from benchmarks.
Right now that are basically the only options you have (here is the interactive interface we use to show some results: http://www.mlpack.org/benchmark.html); However, since all results are stored in the database you can create your own visualization really quick. Another solution is to use the 'LOG=False' option to print a simple table to the console, maybe that's sufficient enough for your case?
from benchmarks.
@zoq Thank you. I think some images are better, but not necessary for me now. I may try to solve this problem latter.
from benchmarks.
I think this question is answered, so I'm going to go ahead and close this issue. If there is something I can clarify or something I left answered, feel free to reopen it.
from benchmarks.
Related Issues (20)
- Contributing doc is necessary. HOT 1
- Audit benchmarking configuration scripts
- wine data downloading is defect HOT 1
- Weka does not use the predefined centroids HOT 2
- R is missing a kmeans benchmark
- Collect better error messages from failures
- Allow printing of all the metrics HOT 1
- Benchmarks sometimes show negative execution time HOT 3
- Visualisation isn't working HOT 1
- Some DTC benchmarks are missing from the webpage. HOT 6
- Difficulties of setting up local benchmark environment HOT 1
- Non uniformity in benchmarking scripts of Shogun HOT 6
- Build fails and exits on Fedora 28 without python33
- is this project still maintained by someone HOT 4
- Expanding the benchmark coverage of this repository for all the toolkits HOT 3
- Website appears to be missing many JS files HOT 8
- Installation Problem mlpy HOT 1
- Enhancements to benchmarking HOT 5
- Error in import timeout_decorator HOT 3
- MRPT ANN test occasionally fails
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 benchmarks.