This file contains hidden or 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
| using SpectralKit | |
| using LinearAlgebra | |
| using Optim | |
| using Plots | |
| const maxiter = 10 | |
| mutable struct SaddlePath | |
| basis::SpectralKit.FunctionBasis | |
| coefs::Vector{Float64} | |
| end |
This file contains hidden or 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
| using LogExpFunctions | |
| using Distributions | |
| function generate_data(K=1_000_000) | |
| X = collect(range(-6, -3, length=K)) | |
| Y = rand.(Bernoulli.(logistic.(X))) | |
| return X, Y | |
| end | |
| # dispatch on different types of numerical methods |
Suppose there are
The expected number of correct answers is
- Install "App Installer" from the Microsoft Store
- Open a terminal with
cmd(Run as Administrator)or.Git Bash - Type
winget install -e --id GnuWin32.Maketo install GNUWin Make. This will be installed inC:\Program Files (x86)\GnuWin32\bin. - Add this folder to path, so that
makeand other GNUWin tools you install can be invoked from anywhere. - Launch a terminal again, and check that
makeresults in this error message:make: *** No targets specified and no makefile found. Stop.
- Cite everything that the replication package relies on.
- Why: Citations in the manuscript and the README are the best way of directing readers to these resources and to give credit to the original authors.
- How: All datasets, whether public or private, included or not, should be cited. It is good practice to cite software packages, but not required, unless the license terms specifically ask you to do so.
- Include all exhibits and the code to produce them ALL DATA THAT YOU ARE ABLE (drill down).
- Why: The package should be self contained so that readers can verify that your analysis code produces the output you included.
- How: Save all the output of the analysis in some standard format into the replication package. Tables can be saved as .csv, .xls or .tex files. It is also sufficient to save the Stata .log file. In this case, please report in the README the line numbers where the readers can find the table numbers. Figures can be saved in .eps, .pdf or .png.
- How 2: Re
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| from shapely.geometry import Point | |
| # suppose function projection(lat, lon) is already defined, returing (x, y) in meters | |
| neighborgood_gps = (48.2176956, 16.3901985) | |
| # a list of GPS coordinate pairs | |
| transitstops_gps = [(), (), ..., ()] | |
| neighborhood_shapely = Point(projection(neighborgood_gps)) | |
| for point in transitstops_gps: |
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$
bash-3.2$
This file contains hidden or 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
| #!/usr/bin/env python2.7 | |
| import re, string | |
| from sys import argv | |
| from os import path, system, remove | |
| class WikiParser: | |
| """Object that turns Wii LaTeX. | |
| All formatting commands can be parsed one line at a time, though |
NewerOlder