This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- main.scpt | |
-- Cocoa-AppleScript Applet | |
-- | |
-- This app can close and open applications when an other application, | |
-- the trigger, is launced or terminated. This can be useful when two | |
-- applications interfere with eachother or when one is dependend on the | |
-- other (e.g. with setting an VPN connection). | |
-- | |
-- | |
-- Roemer Vlasveld ([email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Demo to visualize the mapping with a Gaussian Radial Basis Function, | |
% especially in the context of Support Vector Machines. | |
% | |
% When this script is executed, first a collection of red points can be | |
% clicked on the graph. | |
% After that, the blue points can be generated. | |
% Then the user must provide a gamma value. | |
% The final graph can be rotated to inspect the 3D-space (use the "turn" | |
% icon next the hand in the toolbar) | |
% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# app/controllers/graphs_controller.rb | |
def show | |
... | |
@presenter = GraphPresenters::LineGraphPresenter.new graph | |
end |