{"id":13508180,"url":"https://github.com/Ceruleanacg/Learning-Notes","last_synced_at":"2025-03-30T09:33:28.208Z","repository":{"id":215186506,"uuid":"131383542","full_name":"Ceruleanacg/Learning-Notes","owner":"Ceruleanacg","description":"💡 Repo of learning notes in DRL and DL, theory, codes, models and notes maybe.","archived":false,"fork":false,"pushed_at":"2018-12-09T10:07:11.000Z","size":1963,"stargazers_count":100,"open_issues_count":1,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-01T07:33:27.347Z","etag":null,"topics":["artifical-neuron-network","deep-learning","deep-reinforcement-learning"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ceruleanacg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-28T07:11:22.000Z","updated_at":"2024-10-30T21:33:48.000Z","dependencies_parsed_at":"2024-01-03T03:10:33.898Z","dependency_job_id":"b556188b-970f-4529-9fdd-5169410a71cf","html_url":"https://github.com/Ceruleanacg/Learning-Notes","commit_stats":null,"previous_names":["ceruleanacg/learning-notes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ceruleanacg%2FLearning-Notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ceruleanacg%2FLearning-Notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ceruleanacg%2FLearning-Notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ceruleanacg%2FLearning-Notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ceruleanacg","download_url":"https://codeload.github.com/Ceruleanacg/Learning-Notes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artifical-neuron-network","deep-learning","deep-reinforcement-learning"],"created_at":"2024-08-01T02:00:49.332Z","updated_at":"2025-03-30T09:33:27.869Z","avatar_url":"https://github.com/Ceruleanacg.png","language":"Jupyter Notebook","funding_links":[],"categories":["Tutorials","Jupyter Notebook"],"sub_categories":["ML"],"readme":"[![License](https://img.shields.io/badge/License-MIT-blue.svg)](/LICENSE)\n[![Platform](https://img.shields.io/badge/Platform-Tensorflow-orange.svg)](https://www.tensorflow.org/)\n[![Python](https://img.shields.io/badge/Python-3.5-green.svg)]()\n\n# Learning Notes of DRL \u0026 DL\n\nA repo of Learning notes of DRL \u0026 DL, theory, codes, models and notes maybe.\n\n# Content  \n\n## Notes\n\n### Deep Learning Basic\n\n- [LinearRegression](/note/LinearRegression.ipynb)\n- [LogisticRegression](/note/LogisticRegression.ipynb)\n- [RegressionTree](/note/RegressionTree.ipynb)\n- [Support Vector Machine](/note/SVM.ipynb)\n- [NeuralNetwork](/note/NeuralNetwork.ipynb)\n\n### Natural Language Processing\n- [Word2Vec](/note/Word2Vec.ipynb)\n- [GloVe](/note/GloVe.ipynb)\n\n### Deep Reinforcement Learning\n\n- [PolicyGradient](/note/PolicyGradient.ipynb)\n- [DQN](/note/DQN.ipynb)\n- [DoubleDQN](/note/DoubleDQN.ipynb)\n- [PPO](/note/PPO.ipynb)\n- [A3C / DPPO](/note/A3C.ipynb)\n\n### Deep Learning Engineering\n\n- [TensorFlow Serving](/note/TensorFlowServing.ipynb)\n\n### Docker\n\n- [Docker Notes](/note/Docker.ipynb)\n\n## Codes\n\n- [Artifical Neuron Network (ANN)](/ann/Dense.py)   \n\n\n# Requirements\n- numpy\n- scipy\n- sklearn\n- matplotlib\n- tensorflow==1.8\n\n# Instructions for codes\n\n### [Artifical Neuron Network (ANN)](/ann/Dense.py) \n\n1. Load your data, for example, iris data set.\n```\nfrom sklearn.datasets import load_iris\niris = load_iris()\n```\n2. Standardize your data.\n```\nscaler = StandardScaler()\nscaler.fit(iris.data)\n\nx_data = scaler.transform(iris.data)\ny_data = np.zeros((150, 3))\ny_data[np.arange(150), iris.target] = 1\n``` \n3. Initialize activations, which are configurable.\n```\nactivation_funcs = [function.relu] * 1\n# activation_funcs = [function.tanh] * 1\n# activation_funcs = [function.sigmoid] * 1\nactivation_funcs.append(function.linear)\n```\n4. Initialize model, option parameters are configurable.\n```\ndense = Dense(x_space=4, y_space=3, neuron_count_list=[10], **{\n    \"loss_func\": function.softmax_cross_entropy,\n    \"activation_funcs\": activation_funcs,\n    \"learning_rate\": 0.01,\n    \"enable_logger\": True,\n    \"model_name\": 'iris',\n    \"batch_size\": 30,\n    'model': 'train'\n)\n```\n5. Train or Restore \u0026 Evaluate.\n```\ndense.train(x_data, y_data)\n# dense.restore()\ndense.evaluate(x_data, y_data)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCeruleanacg%2FLearning-Notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCeruleanacg%2FLearning-Notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCeruleanacg%2FLearning-Notes/lists"}