| tags | ||
|---|---|---|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Get measurements for a new flower to generate a prediction | |
| // The first argument is the data, and the second is the shape. | |
| const inputData = tf.tensor2d([[4.8, 3.0, 1.4, 0.1]], [1, 4]); | |
| // Get the highest confidence prediction from our model | |
| const result = model.predict(inputData); | |
| const winner = irisClasses[result.argMax().dataSync()[0]]; | |
| // Display the winner | |
| console.log(winner); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| id | il | nufus | alan | yogunluk | kod | |
|---|---|---|---|---|---|---|
| 1 | Adana | 2201670 | 13844 | 159.03 | 1 | |
| 2 | Adıyaman | 610484 | 7337 | 83.21 | 2 | |
| 3 | Afyonkarahisar | 714523 | 14016 | 50.98 | 3 | |
| 4 | Ağrı | 542255 | 11099 | 48.86 | 4 | |
| 5 | Aksaray | 396673 | 7659 | 51.79 | 68 | |
| 6 | Amasya | 326351 | 5628 | 57.99 | 5 | |
| 7 | Ankara | 5346518 | 25632 | 208.59 | 6 | |
| 8 | Antalya | 2328555 | 20177 | 115.41 | 7 | |
| 9 | Ardahan | 98335 | 4934 | 19.93 | 75 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="bir"> | |
| </div> | |
| <div id="iki"> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install TensorFlow (CPU), Keras, and some other tools to a new anaconda environment. | |
| Open Anaconda Prompt | |
| conda create --name tensorflow35 python=3.5 | |
| conda activate tensorflow35 | |
| conda install jupyter | |
| conda install scipy | |
| conda install spyder | |
| pip install tensorflow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
| const axios = require('axios'); // promised based requests - like fetch() | |
| function getCoffee() { | |
| return new Promise(resolve => { | |
| setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
| }); | |
| } |
This is the Keras model of VGG-Face.
It has been obtained through the following method:
- vgg-face-keras:directly convert the vgg-face matconvnet model to keras model
- vgg-face-keras-fc:first convert vgg-face caffe model to mxnet model,and then convert it to keras model
Details about the network architecture can be found in the following paper:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Very Tiny Language T. Nakagawa 2004/05/23 2004/06/26 | |
| #include <uart.h> | |
| #include <avr/io.h> | |
| #define F_CPU 16000000UL // define the clock frequency as 16MHz | |
| #define BAUD 115200*2 | |
| #include <util/setbaud.h> // Set up the Uart baud rate generator |
NewerOlder