Разница между страницами «Machine Learning with TensorFlow Book» и «JMC»

Материал из Home Wiki
(Различия между страницами)
Перейти к навигации Перейти к поиску
 
 
Строка 1: Строка 1:
[[:Категория:Работа]]
Видео: https://www.youtube.com/watch?v=wm2JNlaJJ5k


Machine Learning with TensorFlow Book by Nishant Shukla
GIST: https://gist.github.com/aragozin/6ac622de6328a1b6ee58a1bf6f2e523d


https://github.com/BinRoot/TensorFlow-Book/
JMC: https://download.oracle.com/otn-pub/java/jmc/7.1.2+04/a4634525489241b9a9e1aa73d9e118e6/jmc-7.1.2_windows-x64.zip


= Chapter 1 =
Для подключения к weblogic нужно докинуть  wlclient.jar, wljmxclient.jar в катоалог с jmc и настроить jmc.ini:
= 1.4.1 Supervised learning =


Descrete with few values - Classifier
<nowiki>
 
-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote
Many values and the values have natural order - Regressor
-Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
 
-Xbootclasspath/a:wlclient.jar;wljmxclient.jar
= 1.4.2. Unsupervised learning =
</nowiki>
 
Clustering is the process of splitting the data into individual buckets of similar items.
 
Dimensionality reduction is about manipulating the data to view it under a much simpler perspective.
 
= 1.4.3 Reinforcement learning =
 
Reinforcement learning trains on information gathered by observing how the environment reacts to actions.
 
= 2. Tensorflow opertators =
 
tf.constant
 
tf.zeros
 
tf.ones
 
tf.negative
 
tf.add(x, y)—Adds two tensors of the same type, x + y
 
tf.subtract(x, y)—Subtracts tensors of the same type, x – y
 
tf.multiply(x, y)—Multiplies two tensors element-wise
 
tf.pow(x, y)—Takes the element-wise x to the power of y
 
tf.exp(x)—Equivalent to pow(e, x), where e is Euler’s number (2.718 ...)
 
tf.sqrt(x)—Equivalent to pow(x, 0.5)
 
tf.div(x, y)—Takes the element-wise division of x and y
 
tf.truediv(x, y)—Same as tf.div, except casts the arguments as a float
 
tf.floordiv(x, y)—Same as truediv, except rounds down the final answer into an integer
 
tf.mod(x, y)—Takes the element-wise remainder from division
 
== 2.4. Executing operators with sessions ==
 
<syntaxhighlight>
with tf.Session() as sess:
    result = sess.run(negMatrix)
</syntaxhighlight>
 
With interactive session remember to close the session to free up resources.
<syntaxhighlight>
sess = tf.InteractiveSession()
...
sess.close()
</syntaxhighlight>
 
[[Категория:Работа]]
[[Категория:Linux]]
[[Категория:Docker]]
[[Категория:AI]]

Версия 12:54, 26 ноября 2020

Видео: https://www.youtube.com/watch?v=wm2JNlaJJ5k

GIST: https://gist.github.com/aragozin/6ac622de6328a1b6ee58a1bf6f2e523d

JMC: https://download.oracle.com/otn-pub/java/jmc/7.1.2+04/a4634525489241b9a9e1aa73d9e118e6/jmc-7.1.2_windows-x64.zip

Для подключения к weblogic нужно докинуть wlclient.jar, wljmxclient.jar в катоалог с jmc и настроить jmc.ini:

-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote -Djava.naming.factory.initial=weblogic.jndi.WLInitialContextFactory -Xbootclasspath/a:wlclient.jar;wljmxclient.jar