This file contains 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
android.permission.REAL_GET_TASKS | |
android.permission.ACCESS_CACHE_FILESYSTEM | |
android.permission.REMOTE_AUDIO_PLAYBACK | |
com.amazon.mp3.permission.UA_DATA | |
com.huawei.alarm.provider.writePermission | |
com.google.android.apps.photos.permission.C2D_MESSAGE | |
android.permission.REGISTER_WINDOW_MANAGER_LISTENERS | |
android.permission.INTENT_FILTER_VERIFICATION_AGENT | |
android.permission.BIND_INCALL_SERVICE | |
android.permission.PROVIDE_RESOLVER_RANKER_SERVICE |
This file contains 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
1. Fetch the stock prices using pandas_datareader libray. | |
2. Use pandas to save the data frame to csv file or xlsx file. | |
3. Fetch and save for the desired ticker symbol between any date range. |
This file contains 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
''' | |
Class creates tensors of different ranks and shapes | |
''' | |
import tensorflow as tf | |
def main(): | |
''' | |
Main method |
This file contains 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
import tensorflow as tf | |
node1 = tf.constant(5) # dtype is int32 | |
node2 = tf.constant(6.0) # dtype is float32 | |
print('Node 1: ', node1) # Node 1: Tensor("Const:0", shape=(), dtype=int32) | |
print('Node 2: ', node2) # Node 2: Tensor("Const_1:0", shape=(), dtype=float32) | |
# Multiplication | |
# Convert the node1 type to float32 before multiplying |
This file contains 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
''' | |
Class uses placeholders instead of constants. | |
''' | |
import tensorflow as tf | |
def main(): | |
''' | |
Main Method |
This file contains 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
''' | |
Class performs arithmetic operations on multiple tensors and | |
shows the Computational graph with the help of Tensorboard. | |
Uses constants for arithmetic operations | |
''' | |
import tensorflow as tf | |
This file contains 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
/** | |
* The amount of time that has to pass to update the progress bar color | |
*/ | |
private static final long UPDATE_TIME_IN_MILLIS = 2000; | |
/** | |
* List of all the desired colors of the progress bar | |
*/ | |
private ColorStateList[] colorsList; |
This file contains 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
new CountDownTimer(10000, 1000) { | |
@Override | |
public void onTick(long millisUntilFinished) { | |
Log.i(TAG, "Time in Milli until finished: " + millisUntilFinished); | |
int remainingTimeInSec = (int) (millisUntilFinished / 1000); | |
countDownTimeTextView.setText(String.valueOf(remainingTimeInSec)); | |
} | |
@Override | |
public void onFinish() { |
This file contains 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
new CountDownTimer(10000, 1000) { | |
@Override | |
public void onTick(long millisUntilFinished) { | |
Log.i(TAG, "Time in Milli until finished: " + millisUntilFinished); | |
int remainingTimeInSec = (int) (millisUntilFinished / 1000); | |
countDownTimeTextView.setText(remainingTimeInSec); | |
} | |
@Override | |
public void onFinish() { |