mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 22:42:25 -04:00

* Support searching for deck configs by name * Integrate FSRS optimizer into Anki * Hack in a rough implementation of evaluate_weights() * Interrupt calculation if user closes dialog * Fix interrupted error check * log_loss/rmse * Update to latest fsrs commit; add progress info to weight evaluation * Fix progress not appearing when pretrain takes a while * Update to latest commit
18 lines
523 B
Svelte
18 lines
523 B
Svelte
<!--
|
|
Copyright: Ankitects Pty Ltd and contributors
|
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
-->
|
|
<script lang="ts">
|
|
import ConfigInput from "./ConfigInput.svelte";
|
|
import RevertButton from "./RevertButton.svelte";
|
|
import WeightsInput from "./WeightsInput.svelte";
|
|
|
|
export let value: any;
|
|
export let defaultValue: any;
|
|
</script>
|
|
|
|
<slot />
|
|
<ConfigInput>
|
|
<WeightsInput bind:value />
|
|
<RevertButton slot="revert" bind:value {defaultValue} />
|
|
</ConfigInput>
|