Giter VIP home page Giter VIP logo

Comments (1)

cnuernber avatar cnuernber commented on June 16, 2024
user> (require '[tech.v3.dataset :as ds])
nil
user> (def ds (ds/->dataset {:a (repeatedly 100 rand)}))
#'user/ds
user> ds
_unnamed [100 1]:

|         :a |
|-----------:|
| 0.19665694 |
| 0.46307367 |
| 0.76538815 |
| 0.54582756 |
| 0.07570895 |
| 0.40522701 |
| 0.47855486 |
| 0.93474881 |
| 0.60427836 |
| 0.62288076 |
|        ... |
| 0.54462287 |
| 0.09558121 |
| 0.53809773 |
| 0.13410423 |
| 0.30965088 |
| 0.38388258 |
| 0.18008029 |
| 0.90002638 |
| 0.31287355 |
| 0.24210655 |
| 0.54967764 |
user> (with-meta ds {:maximum-precision 3})
;; output cleared
user> (with-meta ds {:maximum-precision 3})
null [100 1]:

|    :a |
|------:|
| 0.197 |
| 0.463 |
| 0.765 |
| 0.546 |
| 0.076 |
| 0.405 |
| 0.479 |
| 0.935 |
| 0.604 |
| 0.623 |
|   ... |
| 0.545 |
| 0.096 |
| 0.538 |
| 0.134 |
| 0.310 |
| 0.384 |
| 0.180 |
| 0.900 |
| 0.313 |
| 0.242 |
| 0.550 |
user> 

from tech.ml.dataset.

Related Issues (20)

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.