Giter Club home page Giter Club logo

probability's Introduction

概率 C#界面绘制

此处输入图片的描述

🎋起因


我想要在 0 - 9 中生成一个数, 并想单独设置每个数出现的概率 (每个数出现的概率和是 100%) 如何才能使用C#完成这样的程序, 并测试程序是正常工作的

🖼️软件作用


软件将创建一个10个数的数组,用于存储用户设置的 每个数出现的概率 图片中右侧文本9 表示当前要调节概率的这个数 9上面的滑动条则可用于调节当前这个数出现的概率, 并在折线图(红色)实时展示 软件要求配置的十个数的百分比概率和是100%,否则无法点击按钮跑数据 软件的**作用是将这一功能通过UI的方式实际呈现出来

🧵折线图


X轴为0-9共十个用于测试的数 通过采集数据前的修改,手动设定了 0 - 9 每个数出现的概率 点击 "概率分析 跑数据 x 1000" 将通过设定的概率 生成1000个随机数 分别是 0 - 9,最后经过统计, 每个数出现的概率,通过(绿色)的折线图显示出来

🚠另外


probability's People

Contributors

cngege avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.