06 2020 档案

摘要:Path: Compose Functors -> Monad Transformers -> Free Monad Let's first see how much it sucks when dealing with nested Monads (without natural transfor 阅读全文
posted @ 2020-06-29 17:09 Zhentiw 阅读(169) 评论(0) 推荐(0) 编辑
摘要:Path: Compose Functors -> Monad Transformers -> Free Monad Compose Functors: Let's say we have a Task holding a Either. And we want simply apply a .ma 阅读全文
posted @ 2020-06-29 14:49 Zhentiw 阅读(143) 评论(0) 推荐(0) 编辑
摘要:import './assets/css/style.css'; const app = document.getElementById('app'); app.innerHTML = ` <div class="todos"> <div class="todos-header"> <h3 clas 阅读全文
posted @ 2020-06-28 21:55 Zhentiw 阅读(187) 评论(0) 推荐(0) 编辑
摘要:A support vector machine (SVM) is a supervised machine learning model that uses classification algorithms for two-group classification problems. After 阅读全文
posted @ 2020-06-26 03:36 Zhentiw 阅读(146) 评论(0) 推荐(0) 编辑
摘要:Predicting Student Admissions with Neural Networks In this notebook, we predict student admissions to graduate school at UCLA based on three pieces of 阅读全文
posted @ 2020-06-22 19:42 Zhentiw 阅读(315) 评论(0) 推荐(0) 编辑
摘要:ClassifyNB.py: def classify(features_train, labels_train): ### import the sklearn module for GaussianNB from sklearn.naive_bayes import GaussianNB ### 阅读全文
posted @ 2020-06-20 21:59 Zhentiw 阅读(218) 评论(0) 推荐(0) 编辑
摘要:const app = document.getElementById('app'); app.innerHTML = ` <h1>JavaScript DOM</h1> <form name="order"> <label> Your name <input type="text" name="f 阅读全文
posted @ 2020-06-18 19:17 Zhentiw 阅读(217) 评论(0) 推荐(0) 编辑
摘要:const app = document.getElementById('app'); app.innerHTML = ` <h1>JavaScript DOM</h1> <form name="order"> <label> Your name <input type="text" name="f 阅读全文
posted @ 2020-06-18 19:09 Zhentiw 阅读(163) 评论(0) 推荐(0) 编辑
摘要:Many people just drop all of their Zsh functions inside of their .zshrc and forget about it. But as your collection of functions begins to grow, you s 阅读全文
posted @ 2020-06-18 14:49 Zhentiw 阅读(185) 评论(0) 推荐(0) 编辑
摘要:A common problem you'll run into when working inside of your terminal is the desire to rename the directory you're currently in. This is achieved in 3 阅读全文
posted @ 2020-06-18 14:32 Zhentiw 阅读(211) 评论(0) 推荐(0) 编辑
摘要:import './assets/css/style.css'; const app = document.getElementById('app'); app.innerHTML = ` <h1>JavaScript DOM</h1> <form name="order"> <label> You 阅读全文
posted @ 2020-06-17 20:26 Zhentiw 阅读(227) 评论(0) 推荐(0) 编辑
摘要:Instead of just returning a value from a recoil selector, you can return any promise, which means that you can do asynchronous functions in recoil sel 阅读全文
posted @ 2020-06-17 20:12 Zhentiw 阅读(403) 评论(0) 推荐(0) 编辑
摘要:pkg allows you to take any of your node projects and bundle them up into standalone apps that you can ship to people or servers that do not have node. 阅读全文
posted @ 2020-06-17 20:03 Zhentiw 阅读(141) 评论(0) 推荐(0) 编辑
摘要:Implementing the Gradient Descent Algorithm In this lab, we'll implement the basic functions of the Gradient Descent algorithm to find the boundary in 阅读全文
posted @ 2020-06-15 22:09 Zhentiw 阅读(339) 评论(0) 推荐(0) 编辑
摘要:If I have bunch of events and a bunch of probabilities, how likely is it those events happen based on the probabilities? If it is very likely then we 阅读全文
posted @ 2020-06-13 16:29 Zhentiw 阅读(251) 评论(0) 推荐(0) 编辑
摘要:The Softmax Function In the next video, we'll learn about the softmax function, which is the equivalent of the sigmoid activation function, but when t 阅读全文
posted @ 2020-06-11 02:55 Zhentiw 阅读(140) 评论(0) 推荐(0) 编辑
摘要:The sigmoid function is defined as sigmoid(x) = 1/(1+e-x). If the score is defined by 4x1 + 5x2 - 9 = score, then which of the following points has ex 阅读全文
posted @ 2020-06-11 02:43 Zhentiw 阅读(321) 评论(0) 推荐(0) 编辑
摘要:/* for li follow by another li, add margin */ ul li + li { margin-top: $unit; } // Display .display-flex { display: flex; &--wrap { flex-wrap: wrap; } 阅读全文
posted @ 2020-06-10 16:01 Zhentiw 阅读(147) 评论(0) 推荐(0) 编辑
摘要:When you doing Modal UI component, one common aria issue you need to deal with is "Refoucs the opener element when Modal closed". To do this, you need 阅读全文
posted @ 2020-06-08 19:02 Zhentiw 阅读(201) 评论(0) 推荐(0) 编辑
摘要:Give this: We have a wrongn classified point, how to move the line to come closer to the points? We apply learning rate and since wrong point is in po 阅读全文
posted @ 2020-06-07 23:08 Zhentiw 阅读(1130) 评论(0) 推荐(0) 编辑
摘要:const compose = (...fns) => (...args) => fns.reduceRight((res, fn) => [fn.call(null, ...res)], args)[0]; const input = document.getElementById("nameIn 阅读全文
posted @ 2020-06-07 17:11 Zhentiw 阅读(153) 评论(0) 推荐(0) 编辑
摘要:The place-content CSS property is a shorthand for align-content and justify-content. It can be used in any layout method which utilizes both of these 阅读全文
posted @ 2020-06-05 15:07 Zhentiw 阅读(264) 评论(0) 推荐(0) 编辑
摘要:PyPi vs. Test PyPi Note that pypi.org and test.pypy.org are two different websites. You'll need to register separately at each website. If you only re 阅读全文
posted @ 2020-06-04 14:41 Zhentiw 阅读(154) 评论(0) 推荐(0) 编辑
摘要:/* * [Modified] Modern CSS Reset * @link https://github.com/hankchizljaw/modern-css-reset */ /* Box sizing rules */ *, *::before, *::after { box-sizin 阅读全文
posted @ 2020-06-03 14:55 Zhentiw 阅读(319) 评论(0) 推荐(0) 编辑
摘要:In this next section, you'll convert the Distributions code into a Python package. A package is a collection of Python modules. Although the previous 阅读全文
posted @ 2020-06-03 14:20 Zhentiw 阅读(218) 评论(0) 推荐(0) 编辑
摘要:Thinking about Promise.all, once there is a Promise in the list fails, the whole promise fails. There would be good to have an 'Alernative' operator, 阅读全文
posted @ 2020-06-02 15:13 Zhentiw 阅读(178) 评论(0) 推荐(0) 编辑
摘要:Environment variables are a standard way to configure variables in your app based on the current environment (development, test, production). This les 阅读全文
posted @ 2020-06-02 01:05 Zhentiw 阅读(177) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示