# -*- coding: utf-8 -*-
# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .jl
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Julia 1.4.0
#     language: julia
#     name: julia-1.4
# ---

using FileIO
using Plots
using JLD

result = load("normalization3d-test.jld");

plot((result["parameters"][1])["low_line"], marker=:dot)
plot!(result["parameters"][1]["corrected_low_line"], marker=:dot)

s = 2
plot((result["parameters"][s])["mean_line"], marker=:dot)
plot!(result["parameters"][s]["corrected_mean_line"], marker=:dot, ylim=(0, 0.004))

s = 3
plot((result["parameters"][s])["mean_line"], marker=:dot)
plot!(result["parameters"][s]["corrected_mean_line"], marker=:dot, ylim=(0, 0.004))

s = 56
plot((result["parameters"][s])["mean_line"], marker=:dot)
plot!(result["parameters"][s]["corrected_mean_line"], marker=:dot, ylim=(0, 0.01))

# # 结论
# K-means 是有效的，同时没有过拟合。
# 但是拟合的指数函数太直了？

StarcoderdataJupyterScriptsDedupFiltered