-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 58bd0e7
Showing
290 changed files
with
148,489 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:7.0 | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y upgrade \ | ||
&& apt-get -y install python3 python3-pip python3-dev ipython3 | ||
|
||
RUN python3 -m pip install --no-cache-dir notebook jupyterlab | ||
|
||
ARG NB_USER=fsdocs-user | ||
ARG NB_UID=1000 | ||
ENV USER ${NB_USER} | ||
ENV NB_UID ${NB_UID} | ||
ENV HOME /home/${NB_USER} | ||
|
||
RUN adduser --disabled-password \ | ||
--gecos "Default user" \ | ||
--uid ${NB_UID} \ | ||
${NB_USER} | ||
|
||
COPY . ${HOME} | ||
USER root | ||
RUN chown -R ${NB_UID} ${HOME} | ||
USER ${NB_USER} | ||
|
||
ENV PATH="${PATH}:$HOME/.dotnet/tools/" | ||
|
||
RUN dotnet tool install --global Microsoft.dotnet-interactive --version 1.0.410202 | ||
|
||
RUN dotnet-interactive jupyter install |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<solution> | ||
<add key="disableSourceControlIntegration" value="true" /> | ||
</solution> | ||
<packageSources> | ||
<clear /> | ||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> | ||
<add key="dotnet3-dev" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet3.1/nuget/v3/index.json" /> | ||
<add key="dotnet-core" value="https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json" /> | ||
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" /> | ||
<add key="PSGallery" value="https://www.powershellgallery.com/api/v2/" /> | ||
</packageSources> | ||
</configuration> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<script src="https://cdn.plot.ly/plotly-2.21.0.min.js"></script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
(** | ||
*) | ||
#r "nuget: Bristlecone,2.0.0-alpha2" | ||
(** | ||
# Calculating Confidence Intervals | ||
Bristlecone includes functions to calculate confidence intervals based | ||
on a profile likelihood method. Given the minimum -log likelihood, the | ||
profile likelihood method samples the parameter space around this point. | ||
The range sampled for each parameter is discovered at 95% and 68% | ||
confidence based on a chi squared distribution. | ||
These functions are included in the `Bristlecone.Optimisation.ConfidenceInterval` module. | ||
An example of their use is given below: | ||
*) | ||
open Bristlecone | ||
open Bristlecone.Optimisation | ||
open Bristlecone.Data | ||
|
||
// // fitFn = | ||
// fun engine dataset hypothesis result -> | ||
|
||
// // The function used to fit the model, which unless an | ||
// // advanced scenario is usually Bristlecone.fit | ||
// let fitFn = Bristlecone.fit | ||
|
||
// // The number of jumps to perform in parameter space | ||
// let n = 10000 | ||
|
||
// let ci = ConfidenceInterval.ProfileLikelihood.profile fitFn engine dataset hypothesis n result | ||
|
||
// // Optionally, save the result | ||
// let saveDir = "/some/save/dir" | ||
// let subjectName = "some subject" | ||
// let modelId = "some model hypothesis" | ||
// Confidence.save saveDir subjectName modelId result.ResultId ci | ||
|
Oops, something went wrong.