Giter VIP home page Giter VIP logo

Comments (7)

zoq avatar zoq commented on September 25, 2024

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.

ThyrixYang avatar ThyrixYang commented on September 25, 2024

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.

zoq avatar zoq commented on September 25, 2024

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.

ThyrixYang avatar ThyrixYang commented on September 25, 2024

@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.

zoq avatar zoq commented on September 25, 2024

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.

ThyrixYang avatar ThyrixYang commented on September 25, 2024

@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.

zoq avatar zoq commented on September 25, 2024

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)

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.